Package manifold.util
Class ReflectUtil.WithNull
- java.lang.Object
-
- manifold.util.ReflectUtil.WithNull
-
- Enclosing class:
- ReflectUtil
public static class ReflectUtil.WithNull extends Object
Use to access live methods and fields with possible null return value if not found
-
-
Constructor Summary
Constructors Constructor Description WithNull()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReflectUtil.LiveFieldReffield(Object receiver, String name)static ReflectUtil.LiveMethodRefmethod(Object receiver, String name, Class... params)static ReflectUtil.LiveMethodRefmethodWithReturn(Object receiver, String name, Class<?> returnType, Class... params)
-
-
-
Method Detail
-
method
public static ReflectUtil.LiveMethodRef method(Object receiver, String name, Class... params)
-
field
public static ReflectUtil.LiveFieldRef field(Object receiver, String name)
-
methodWithReturn
public static ReflectUtil.LiveMethodRef methodWithReturn(Object receiver, String name, Class<?> returnType, Class... params)
-
-