Class Reflection
java.lang.Object
com.github.retrooper.packetevents.util.reflection.Reflection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Class<?>static Constructor<?>getConstructor(Class<?> cls, int index) static Constructor<?>getConstructor(Class<?> cls, Class<?>... params) static Fieldstatic Fieldstatic Fieldstatic Fieldstatic Field[]static Methodstatic Methodstatic Methodstatic Methodstatic Methodstatic MethodgetMethodCheckContainsString(Class<?> cls, String nameContainsThisStr, Class<?> returning) static MethodgetMethodExact(Class<?> cls, String name, Class<?> returning, Class<?>... params) getMethods(Class<?> cls, String name, Class<?> returning)
-
Constructor Details
-
Reflection
public Reflection()
-
-
Method Details
-
getFields
-
getField
-
getField
-
getField
-
getField
-
getMethod
-
getMethod
-
getMethod
-
getMethodExact
-
getMethod
-
getMethod
-
getMethodCheckContainsString
-
getMethods
-
getClassByNameWithoutException
-
getConstructor
-
getConstructor
-