public class IndexMethodIdentifier
extends java.lang.Object
Constructor and Description |
---|
IndexMethodIdentifier(AnnotatedTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLengthOfMethodInvocation(javax.lang.model.element.ExecutableElement ele) |
boolean |
isLengthOfMethodInvocation(Node node) |
boolean |
isLengthOfMethodInvocation(Tree tree) |
boolean |
isMathMax(Tree methodTree) |
boolean |
isMathMin(Tree methodTree) |
boolean |
isMathRandom(Tree tree,
javax.annotation.processing.ProcessingEnvironment processingEnv) |
boolean |
isRandomNextDouble(Tree tree,
javax.annotation.processing.ProcessingEnvironment processingEnv) |
boolean |
isRandomNextInt(Tree tree,
javax.annotation.processing.ProcessingEnvironment processingEnv) |
public IndexMethodIdentifier(AnnotatedTypeFactory factory)
public boolean isMathMin(Tree methodTree)
public boolean isMathMax(Tree methodTree)
public boolean isMathRandom(Tree tree, javax.annotation.processing.ProcessingEnvironment processingEnv)
public boolean isRandomNextDouble(Tree tree, javax.annotation.processing.ProcessingEnvironment processingEnv)
public boolean isRandomNextInt(Tree tree, javax.annotation.processing.ProcessingEnvironment processingEnv)
public boolean isLengthOfMethodInvocation(Tree tree)
tree
is an invocation of a method that returns the length of
"this"public boolean isLengthOfMethodInvocation(javax.lang.model.element.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"