protected static class InvokeDynamic.InvocationProvider.Default.Target extends Object implements InvokeDynamic.InvocationProvider.Target
InvokeDynamic.InvocationProvider.Target.ForMethodDescription, InvokeDynamic.InvocationProvider.Target.Resolved
Constructor and Description |
---|
Target(String internalName,
TypeDescription returnType,
List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders,
MethodDescription instrumentedMethod)
Creates a new target.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
InvokeDynamic.InvocationProvider.Target.Resolved |
resolve(TypeDescription instrumentedType,
Assigner assigner,
boolean dynamicallyTyped)
Resolves the target.
|
String |
toString() |
public Target(String internalName, TypeDescription returnType, List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders, MethodDescription instrumentedMethod)
internalName
- The name to be passed to the bootstrap method.returnType
- The return type to be requested from the bootstrapping method.argumentProviders
- The arguments to be passed to the bootstrap method.instrumentedMethod
- The intercepted method.public InvokeDynamic.InvocationProvider.Target.Resolved resolve(TypeDescription instrumentedType, Assigner assigner, boolean dynamicallyTyped)
InvokeDynamic.InvocationProvider.Target
resolve
in interface InvokeDynamic.InvocationProvider.Target
instrumentedType
- The instrumented type.assigner
- The assigner to be used.dynamicallyTyped
- true
if the assigner should attempt to assign objects by their
runtime type.Copyright © 2014–2015. All rights reserved.