Package studio.mevera.imperat.util.asm
Interface MethodCallerFactory
- All Known Implementing Classes:
DefaultMethodCallerFactory
public interface MethodCallerFactory
Factory for creating
MethodCallers for methods.-
Method Summary
Modifier and TypeMethodDescription@NotNull MethodCallerCreates a newMethodCallerfor the specified method.static @NotNull MethodCallerFactoryReturns aMethodCallerFactorythat uses the new method handling API to create method callers.
-
Method Details
-
methodHandles
Returns aMethodCallerFactorythat uses the new method handling API to create method callers.- Returns:
- The default method caller factory.
-
createFor
Creates a newMethodCallerfor the specified method.- Parameters:
method- Method to create for- Returns:
- The reflective method caller
- Throws:
Throwable- Any exceptions during creation
-