public static class PropertyMutator.FieldMutator extends PropertyMutator
PropertyMutator.FieldMutator, PropertyMutator.MethodMutator
Modifier and Type | Field and Description |
---|---|
protected Field |
_field |
annotations, concreteClass, declaringClass, modifiers, name, type
Constructor and Description |
---|
FieldMutator(String name,
Field field,
Type type,
Class<?> concreteClass) |
Modifier and Type | Method and Description |
---|---|
void |
mutate(Object target,
Object value) |
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, couldNotDeserialize, couldNotMutate, deserialize, deserialize
aliases, getAnnotation, getConcreteClass, getDeclaringClass, getModifiers, getName, getRawClass, getType
protected final Field _field
public void mutate(Object target, Object value)
mutate
in class PropertyMutator
public String signature()
public int priority()
BeanProperty
Copyright © 2019. All rights reserved.