Interface IndyProxyFactory.BootstrapArgsProvider
- Enclosing class:
- IndyProxyFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends net.bytebuddy.utility.JavaConstant>getBootstrapArgsForMethod(net.bytebuddy.description.type.TypeDescription classBeingProxied, net.bytebuddy.description.method.MethodDescription.InDefinedShape proxiedMethodOrCtor) Defines the additional arguments to pass to the invokedynamic bootstrap method for a given proxied method.
-
Method Details
-
getBootstrapArgsForMethod
List<? extends net.bytebuddy.utility.JavaConstant> getBootstrapArgsForMethod(net.bytebuddy.description.type.TypeDescription classBeingProxied, net.bytebuddy.description.method.MethodDescription.InDefinedShape proxiedMethodOrCtor) Defines the additional arguments to pass to the invokedynamic bootstrap method for a given proxied method. The arguments have to be storable in the constant pool.- Parameters:
classBeingProxied- the type for whichIndyProxyFactory.generateProxy(TypeDescription, String)was invokedproxiedMethodOrCtor- the method or constructor from the proxied class for which the arguments are requested- Returns:
- the arguments to pass to the bootstrap method
-