Class ASMPrivateLookup
java.lang.Object
com.cryptomorin.xseries.reflection.asm.ASMPrivateLookup
Class used for
XReflectASM's generated class lookup. While we could generate the code inside the class itself,
there's no reason to do that if we can handle this outside.- Since:
- 14.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindConstructor(Class<?>[] pTypes) findMethod(String name, Class<?> rType, Class<?>[] pTypes)
-
Constructor Details
-
ASMPrivateLookup
-
-
Method Details
-
findMethod
public MethodHandle findMethod(String name, Class<?> rType, Class<?>[] pTypes) throws IllegalAccessException - Throws:
IllegalAccessException
-
findConstructor
- Throws:
IllegalAccessException
-
findField
public MethodHandle findField(String name, Class<?> rType, boolean getter) throws IllegalAccessException - Throws:
IllegalAccessException
-