类 ReflectionUtils
java.lang.Object
net.neoforged.testframework.impl.ReflectionUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
addListener
(GameTestHelper helper, GameTestListener listener) static MethodHandle
constructor
(Class<?> owner, MethodType type) static MethodHandle
fieldHandle
(Field field) static Field
static <T> T
getInstanceField
(Object instance, String name) static MethodHandle
static Method
methodMatching
(Class<?> clazz, Predicate<Method> methodPredicate) static Class
<?> parentOrTopLevel
(Class<?> clazz)
-
构造器详细资料
-
ReflectionUtils
public ReflectionUtils()
-
-
方法详细资料
-
getInstanceField
-
getField
-
fieldHandle
-
handle
-
constructor
-
methodMatching
-
parentOrTopLevel
-
addListener
-