Package net.neoforged.testframework.impl
Class ReflectionUtils
java.lang.Object
net.neoforged.testframework.impl.ReflectionUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddListener(GameTestHelper helper, GameTestListener listener) static MethodHandleconstructor(Class<?> owner, MethodType type) static MethodHandlefieldHandle(Field field) static Fieldstatic <T> TgetInstanceField(Object instance, String name) static MethodHandlestatic MethodmethodMatching(Class<?> clazz, Predicate<Method> methodPredicate) static Class<?>parentOrTopLevel(Class<?> clazz) 
- 
Constructor Details- 
ReflectionUtilspublic ReflectionUtils()
 
- 
- 
Method Details- 
getInstanceField
- 
getField
- 
fieldHandle
- 
handle
- 
constructor
- 
methodMatching
- 
parentOrTopLevel
- 
addListener
 
-