接口 GetterMethod
- 所有已知实现类:
PropertyAccessor,WriteOnlyPropertyAccessor
public interface GetterMethod
Fast call bean's getter Method
Method- 作者:
- TODAY
2020-08-13 19:46
-
方法概要
修饰符和类型方法说明static GetterMethodnew GetterMethod from java reflect property if the setter method not exist use Reflective techstatic GetterMethodfromMethod(MethodInvoker invoker) use fast invoke techMethodInvokerstatic GetterMethodfromMethod(Method method) use fast invoke techMethodInvokerstatic GetterMethodfromReflective(Field field) use java reflectFieldtechGet property fromobjdefault Method
-
方法详细资料
-
get
Get property fromobj- 参数:
obj- Target object- 返回:
- Property
- 抛出:
ReflectionException- reflective
-
getReadMethod
- 抛出:
ReflectionException- reflective- 从以下版本开始:
- 3.0
-
fromField
new GetterMethod from java reflect property if the setter method not exist use Reflective tech- 参数:
field- given java reflect property- 返回:
- GetterMethod
-
fromMethod
use fast invoke techMethodInvoker- 参数:
method- java reflectMethod- 返回:
- GetterMethod
- 另请参阅:
-
fromMethod
use fast invoke techMethodInvoker- 参数:
invoker- fast MethodInvoker- 返回:
- GetterMethod
- 另请参阅:
-
fromReflective
use java reflectFieldtech- 参数:
field- Field- 返回:
- Reflective GetterMethod
- 另请参阅:
-