public class FluentAPIGenerator extends Object
@Thisannotations on method return types when a generator has been used. To check whether a method is created by any of the generators and returns
this, simply call the
check(org.checkerframework.framework.type.AnnotatedTypeMirror.AnnotatedExecutableType)on the annotated type of the method signature.
|Constructor and Description|
|Modifier and Type||Method and Description|
Check if a method was generated by a known fluent API generator and returns its receiver.
public static boolean check(AnnotatedTypeMirror.AnnotatedExecutableType t)
t- the annotated type of the method signature
trueif the method was created by a generator and returns