public interface IConstantMapper
| Modifier and Type | Method and Description |
|---|---|
void |
mapParameter(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor,
int parameterIndex,
ReplacementInstructionGenerator.Context context)
Maps an inlined parameter value to replacement instructions, for a given target method.
|
void |
mapReturn(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor,
ReplacementInstructionGenerator.Context context)
Maps an inlined return value to replacement instructions, for a given target method.
|
boolean |
targets(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor) |
boolean |
targetsParameter(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor,
int parameterIndex) |
boolean |
targetsReturn(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor) |
boolean targets(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor)
methodOwner - the internal name of the class that owns the method.methodName - the name of the method.methodDescriptor - the descriptor of the method.boolean targetsParameter(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor,
int parameterIndex)
methodOwner - the internal name of the class that owns the method.methodName - the name of the method.methodDescriptor - the descriptor of the method.parameterIndex - the index of the parameter being checkedparameterIndex.void mapParameter(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor,
int parameterIndex,
ReplacementInstructionGenerator.Context context)
methodOwner - the internal name of the class that owns the target method.methodName - the name of the target method.methodDescriptor - the descriptor of the target method.parameterIndex - the index of the parameter of the target method that value is passed to.context - the context of the replacementboolean targetsReturn(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor)
methodOwner - the internal name of the class that owns the method.methodName - the name of the method.methodDescriptor - the descriptor of the method.void mapReturn(java.lang.String methodOwner,
java.lang.String methodName,
java.lang.String methodDescriptor,
ReplacementInstructionGenerator.Context context)
methodOwner - the internal name of the class that owns the target method.methodName - the name of the target method.methodDescriptor - the descriptor of the target method.context - the context of the replacement.