Package com.tonic.analysis.query.planner
Class QueryTarget.PCTarget
- java.lang.Object
-
- com.tonic.analysis.query.planner.QueryTarget.PCTarget
-
- All Implemented Interfaces:
QueryTarget
- Enclosing interface:
- QueryTarget
public static final class QueryTarget.PCTarget extends Object implements QueryTarget
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tonic.analysis.query.planner.QueryTarget
QueryTarget.ClassTarget, QueryTarget.MethodTarget, QueryTarget.PCTarget
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()Stringdescriptor()booleanequals(Object o)StringgetSignature()inthashCode()StringmethodName()intpc()StringtoString()
-
-
-
Constructor Detail
-
PCTarget
public PCTarget(String className, String methodName, String descriptor, int pc)
Creates a target naming one bytecode offset inside a method.- Parameters:
className- the declaring class namemethodName- the method namedescriptor- the method descriptorpc- the bytecode offset within the method
-
-
Method Detail
-
className
public String className()
- Returns:
- the declaring class name
-
methodName
public String methodName()
- Returns:
- the method name
-
descriptor
public String descriptor()
- Returns:
- the method descriptor
-
pc
public int pc()
- Returns:
- the bytecode offset within the method
-
getSignature
public String getSignature()
- Returns:
- the method signature with the bytecode offset appended after an "at" sign
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-