public class IndexMethodIdentifier extends Object
Constructor and Description |
---|
IndexMethodIdentifier(AnnotatedTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLengthOfMethodInvocation(ExecutableElement ele) |
boolean |
isLengthOfMethodInvocation(Node node) |
boolean |
isLengthOfMethodInvocation(Tree tree) |
boolean |
isMathMax(Tree methodTree) |
boolean |
isMathMin(Tree methodTree) |
boolean |
isMathRandom(Tree tree,
ProcessingEnvironment processingEnv) |
boolean |
isRandomNextDouble(Tree tree,
ProcessingEnvironment processingEnv) |
boolean |
isRandomNextInt(Tree tree,
ProcessingEnvironment processingEnv) |
public IndexMethodIdentifier(AnnotatedTypeFactory factory)
public boolean isMathMin(Tree methodTree)
public boolean isMathMax(Tree methodTree)
public boolean isMathRandom(Tree tree, ProcessingEnvironment processingEnv)
public boolean isRandomNextDouble(Tree tree, ProcessingEnvironment processingEnv)
public boolean isRandomNextInt(Tree tree, ProcessingEnvironment processingEnv)
public boolean isLengthOfMethodInvocation(Tree tree)
tree
is an invocation of a method that returns the length of
"this"public boolean isLengthOfMethodInvocation(ExecutableElement ele)
tree
is an invocation of a method that returns the length of
"this"public boolean isLengthOfMethodInvocation(Node node)
tree
is an invocation of a method that returns the length of
"this"