public class MethodHandlePropertyOperator extends ReflectivePropertyOperator
PropertyOperator implementation that uses MethodHandle to access properties.MethodHandles,
MethodHandle,
2.2.0| 限定符和类型 | 类和说明 |
|---|---|
static class |
MethodHandlePropertyOperator.MethodHandleGetter
Getter based on
MethodHandle. |
static class |
MethodHandlePropertyOperator.MethodHandleSetter
Setter based on
MethodHandle. |
ReflectivePropertyOperator.ReflectivePropDescconverterManager, INSTANCE, throwIfNoAnyMatched| 构造器和说明 |
|---|
MethodHandlePropertyOperator(@Nullable ConverterManager converterManager)
Create a property operator.
|
| 限定符和类型 | 方法和说明 |
|---|---|
@NonNull PropDesc |
getPropertyDescriptor(Class<?> targetType)
Get property descriptor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindGetter, findSetter, readProperty, writePropertypublic MethodHandlePropertyOperator(@Nullable ConverterManager converterManager)
converterManager - converter managerpublic @NonNull PropDesc getPropertyDescriptor(Class<?> targetType)
getPropertyDescriptor 在接口中 PropertyOperatorgetPropertyDescriptor 在类中 ReflectivePropertyOperatortargetType - target typeCopyright © 2024. All rights reserved.