public class IndexMethodIdentifier extends Object
Constructor and Description |
---|
IndexMethodIdentifier(ProcessingEnvironment processingEnv) |
Modifier and Type | Method and Description |
---|---|
boolean |
isMathMax(Tree methodTree,
ProcessingEnvironment processingEnv) |
boolean |
isMathMin(Tree methodTree,
ProcessingEnvironment processingEnv) |
boolean |
isMathRandom(Tree tree,
ProcessingEnvironment processingEnv) |
boolean |
isRandomNextDouble(Tree tree,
ProcessingEnvironment processingEnv) |
boolean |
isRandomNextInt(Tree tree,
ProcessingEnvironment processingEnv) |
boolean |
isStringLength(Tree tree,
ProcessingEnvironment processingEnv) |
boolean |
isStringLengthInvocation(Node node)
Determines whether the dataflow node is an invocation of String.length()
|
public IndexMethodIdentifier(ProcessingEnvironment processingEnv)
public boolean isMathMin(Tree methodTree, ProcessingEnvironment processingEnv)
public boolean isMathMax(Tree methodTree, ProcessingEnvironment processingEnv)
public boolean isMathRandom(Tree tree, ProcessingEnvironment processingEnv)
public boolean isRandomNextDouble(Tree tree, ProcessingEnvironment processingEnv)
public boolean isRandomNextInt(Tree tree, ProcessingEnvironment processingEnv)
public boolean isStringLength(Tree tree, ProcessingEnvironment processingEnv)
public boolean isStringLengthInvocation(Node node)