类 ObjectReflect<T>
- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.reflect.ObjectReflect<T>
-
-
构造器概要
构造器 构造器 说明 ObjectReflect(T val)
ObjectReflect(T val, Class matching)
-
方法概要
修饰符和类型 方法 说明 <V> Reflect<V>
cast(Class<V> type)
T
get()
<V> RField<T,V>
getField(String name, Class<V> type)
RMethod<T,?>
getMethod(String name, Class[] types)
<R> RMethod<T,R>
getMethod(String name, Class<R> returnType, Class... types)
RMethod<T,?>[]
getMethods(String name)
Reflect<?>
invoke(String name, Class[] types, Object... values)
Reflect<?>
invoke(String name, Object... values)
Reflect<T>
toRoot()
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 cn.mcres.karlatemp.mxlib.reflect.Reflect
accept, getField, toOptional
-
-
-
-
方法详细资料
-
getMethod
public <R> RMethod<T,R> getMethod(@NotNull String name, Class<R> returnType, Class... types)
-
-