Package com.tonic.analysis.query.eval
Class EvidenceCollector.Hit
- java.lang.Object
-
- com.tonic.analysis.query.eval.EvidenceCollector.Hit
-
- Enclosing class:
- EvidenceCollector
public static final class EvidenceCollector.Hit extends Object
A single matched location.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()Stringdescriptor()Stringlabel()StringmethodName()intpc()
-
-
-
Constructor Detail
-
Hit
public Hit(String className, String methodName, String descriptor, int pc, String label)
Creates a hit at one bytecode offset.- Parameters:
className- the owning class namemethodName- the owning method namedescriptor- the owning method descriptorpc- the bytecode offset of the matching instructionlabel- a description of what matched
-
-
Method Detail
-
className
public String className()
- Returns:
- the owning class name
-
methodName
public String methodName()
- Returns:
- the owning method name
-
descriptor
public String descriptor()
- Returns:
- the owning method descriptor
-
pc
public int pc()
- Returns:
- the bytecode offset of the matching instruction
-
label
public String label()
- Returns:
- the label describing what matched
-
-