public static class TargetImplementations.TargetInvocation
extends java.lang.Object
| Constructor and Description |
|---|
TargetInvocation(java.lang.String owner,
java.lang.String name,
org.objectweb.asm.Type descriptor,
java.util.Map<java.lang.Integer,java.lang.String> parameterConstantGroups)
Constructs a new instance of TargetMethod with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getParameterConstantGroup(int parameterIndex) |
boolean |
hasParameterConstantGroup(int parameterIndex) |
boolean |
implementedBy(IClassResolver classResolver,
java.lang.String classInternalName) |
java.lang.String |
toString() |
public TargetInvocation(java.lang.String owner,
java.lang.String name,
org.objectweb.asm.Type descriptor,
java.util.Map<java.lang.Integer,java.lang.String> parameterConstantGroups)
owner - the internal name of the class that owns the represented method.name - the name of the represented methoddescriptor - the descriptor of the represented method.parameterConstantGroups - a Map that maps a parameter index to the name
of the constant group that contains all valid constants for that parameter.public java.lang.String getParameterConstantGroup(int parameterIndex)
parameterIndex - the index of the parameter.parameterIndexpublic boolean hasParameterConstantGroup(int parameterIndex)
parameterIndex - the index of the parameter.parameterIndexpublic boolean implementedBy(IClassResolver classResolver, java.lang.String classInternalName)
public java.lang.String toString()
toString in class java.lang.Object