Class Reflection
java.lang.Object
com.github.retrooper.packetevents.util.reflection.Reflection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Class
<?> static Constructor
<?> getConstructor
(Class<?> cls, int index) static Constructor
<?> getConstructor
(Class<?> cls, Class<?>... params) static Field
static Field
static Field
static Field
static Field[]
static Method
static Method
static Method
static Method
static Method
static Method
getMethodCheckContainsString
(Class<?> cls, String nameContainsThisStr, Class<?> returning) static Method
getMethodExact
(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
-