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