Package studio.mevera.imperat.util.asm
Class DefaultMethodCallerFactory
java.lang.Object
studio.mevera.imperat.util.asm.DefaultMethodCallerFactory
- All Implemented Interfaces:
MethodCallerFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull MethodCallerCreates a newMethodCallerfor the specified method.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DefaultMethodCallerFactory
public DefaultMethodCallerFactory()
-
-
Method Details
-
createFor
Description copied from interface:MethodCallerFactoryCreates a newMethodCallerfor the specified method.- Specified by:
createForin interfaceMethodCallerFactory- Parameters:
method- Method to create for- Returns:
- The reflective method caller
- Throws:
Throwable- Any exceptions during creation
-