public static class InvokeDynamic.InvocationProvider.Target.ForMethodDescription extends Object implements InvokeDynamic.InvocationProvider.Target, InvokeDynamic.InvocationProvider.Target.Resolved
InvokeDynamic.InvocationProvider.Target.ForMethodDescription, InvokeDynamic.InvocationProvider.Target.ResolvedInvokeDynamic.InvocationProvider.Target.Resolved.Simple| Modifier | Constructor and Description |
|---|---|
protected |
ForMethodDescription(MethodDescription.InDefinedShape methodDescription)
Creates a new target for substituting a given method.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getInternalName()
Returns the internal name of the requested method.
|
List<TypeDescription> |
getParameterTypes()
Returns the types of the values on the operand stack.
|
TypeDescription |
getReturnType()
Returns the requested return type.
|
StackManipulation |
getStackManipulation()
Returns the stack manipulation that loads the arguments onto the operand stack.
|
int |
hashCode() |
InvokeDynamic.InvocationProvider.Target.Resolved |
resolve(TypeDescription instrumentedType,
Assigner assigner,
Assigner.Typing typing)
Resolves the target.
|
String |
toString() |
protected ForMethodDescription(MethodDescription.InDefinedShape methodDescription)
methodDescription - The method that is being substituted.public InvokeDynamic.InvocationProvider.Target.Resolved resolve(TypeDescription instrumentedType, Assigner assigner, Assigner.Typing typing)
InvokeDynamic.InvocationProvider.Targetresolve in interface InvokeDynamic.InvocationProvider.TargetinstrumentedType - The instrumented type.assigner - The assigner to be used.typing - Indicates if dynamic type castings should be attempted for incompatible assignments.public String getInternalName()
InvokeDynamic.InvocationProvider.Target.ResolvedgetInternalName in interface InvokeDynamic.InvocationProvider.Target.Resolvedpublic TypeDescription getReturnType()
InvokeDynamic.InvocationProvider.Target.ResolvedgetReturnType in interface InvokeDynamic.InvocationProvider.Target.Resolvedpublic StackManipulation getStackManipulation()
InvokeDynamic.InvocationProvider.Target.ResolvedgetStackManipulation in interface InvokeDynamic.InvocationProvider.Target.Resolvedpublic List<TypeDescription> getParameterTypes()
InvokeDynamic.InvocationProvider.Target.ResolvedgetParameterTypes in interface InvokeDynamic.InvocationProvider.Target.ResolvedCopyright © 2014–2016. All rights reserved.