Package revxrsal.asm

Interface MethodCaller

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MethodCaller
Represents the entrypoint to method callers. This interface is implemented by the generated classes to invoke targeted methods.

To generate, use wrap(Method) or wrap(Method, ClassLoader).

Implementation note: Generating method callers using ASM to invoke private methods is not possible. Therefore, if a private method is requested, the method handles API will be used to generate method callers.