Class ReflectionPropagation
- java.lang.Object
-
- org.eclipse.yasson.internal.model.PropertyValuePropagation
-
- org.eclipse.yasson.internal.model.ReflectionPropagation
-
public class ReflectionPropagation extends PropertyValuePropagation
- Author:
- Roman Grigoriadi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.yasson.internal.model.PropertyValuePropagation
PropertyValuePropagation.OperationMode
-
-
Field Summary
-
Fields inherited from class org.eclipse.yasson.internal.model.PropertyValuePropagation
readable, writable
-
-
Constructor Summary
Constructors Constructor Description ReflectionPropagation(Property property, JsonbContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
acceptField(Field field, PropertyValuePropagation.OperationMode mode)
Accept aField
to use for value propagation.protected void
acceptMethod(Method method, PropertyValuePropagation.OperationMode mode)
Accept aMethod
to use value propagation.-
Methods inherited from class org.eclipse.yasson.internal.model.PropertyValuePropagation
createInstance, getField, getGetter, getSetter, isGetterVisible, isReadable, isSetterVisible, isWritable
-
-
-
-
Constructor Detail
-
ReflectionPropagation
public ReflectionPropagation(Property property, JsonbContext ctx)
-
-
Method Detail
-
acceptMethod
protected void acceptMethod(Method method, PropertyValuePropagation.OperationMode mode)
Accept aMethod
to use value propagation.- Specified by:
acceptMethod
in classPropertyValuePropagation
- Parameters:
method
- methodmode
- read or write
-
acceptField
protected void acceptField(Field field, PropertyValuePropagation.OperationMode mode)
Accept aField
to use for value propagation.- Specified by:
acceptField
in classPropertyValuePropagation
- Parameters:
field
- fieldmode
- mod
-
-