@HashCodeAndEqualsPlugin.Enhance protected static class InvokeDynamic.InvocationProvider.Default.Target extends Object implements InvokeDynamic.InvocationProvider.Target
InvokeDynamic.InvocationProvider.Target.Resolved| Modifier | Constructor and Description |
|---|---|
protected |
Target(String internalName,
TypeDescription returnType,
List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders,
MethodDescription instrumentedMethod)
Creates a new target.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeDynamic.InvocationProvider.Target.Resolved |
resolve(TypeDescription instrumentedType,
Assigner assigner,
Assigner.Typing typing)
Resolves the target.
|
protected 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, Assigner.Typing typing)
resolve 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.Copyright © 2014–2023. All rights reserved.