Package | Description |
---|---|
io.lumine.xikage.mythicmobs.util |
Modifier and Type | Method and Description |
---|---|
static ReflectionUtils.PackageType |
ReflectionUtils.PackageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReflectionUtils.PackageType[] |
ReflectionUtils.PackageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Constructor<?> |
ReflectionUtils.getConstructor(String className,
ReflectionUtils.PackageType packageType,
Class<?>... parameterTypes) |
static Field |
ReflectionUtils.getField(String className,
ReflectionUtils.PackageType packageType,
boolean declared,
String fieldName) |
static Method |
ReflectionUtils.getMethod(String className,
ReflectionUtils.PackageType packageType,
String methodName,
Class<?>... parameterTypes) |
static Object |
ReflectionUtils.getValue(Object instance,
String className,
ReflectionUtils.PackageType packageType,
boolean declared,
String fieldName) |
static Object |
ReflectionUtils.instantiateObject(String className,
ReflectionUtils.PackageType packageType,
Object... arguments) |
static Object |
ReflectionUtils.invokeMethod(Object instance,
String className,
ReflectionUtils.PackageType packageType,
String methodName,
Object... arguments) |
static void |
ReflectionUtils.setValue(Object instance,
String className,
ReflectionUtils.PackageType packageType,
boolean declared,
String fieldName,
Object value) |
Copyright © 2020. All rights reserved.