public static class PropertyAccessor.FieldAccessor extends PropertyAccessor
PropertyAccessor.FieldAccessor, PropertyAccessor.MethodAccessor
Modifier and Type | Field and Description |
---|---|
protected Field |
_field |
annotations, concreteClass, declaringClass, modifiers, name, type
Constructor and Description |
---|
FieldAccessor(String name,
Field field,
Type type,
Class<?> concreteClass) |
Modifier and Type | Method and Description |
---|---|
Object |
access(Object target) |
int |
priority()
Used to give priority to implementations, for example by default a method would have a higher
priority than a field because it can do some logic.
|
String |
signature() |
compareTo, couldNotAccess, couldNotSerialize, serialize
aliases, getAnnotation, getConcreteClass, getDeclaringClass, getModifiers, getName, getRawClass, getType
protected final Field _field
public Object access(Object target)
access
in class PropertyAccessor
public String signature()
public int priority()
BeanProperty
Copyright © 2019. All rights reserved.