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, javax.json.bind.config.PropertyVisibilityStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidacceptField(java.lang.reflect.Field field, PropertyValuePropagation.OperationMode mode)Accept aFieldto use for value propagation.protected voidacceptMethod(java.lang.reflect.Method method, PropertyValuePropagation.OperationMode mode)Accept aMethodto use value propagation.-
Methods inherited from class org.eclipse.yasson.internal.model.PropertyValuePropagation
getField, getGetter, getSetter, isGetterVisible, isReadable, isSetterVisible, isWritable
-
-
-
-
Constructor Detail
-
ReflectionPropagation
public ReflectionPropagation(Property property, javax.json.bind.config.PropertyVisibilityStrategy strategy)
-
-
Method Detail
-
acceptMethod
protected void acceptMethod(java.lang.reflect.Method method, PropertyValuePropagation.OperationMode mode)Accept aMethodto use value propagation.- Specified by:
acceptMethodin classPropertyValuePropagation- Parameters:
method- methodmode- read or write
-
acceptField
protected void acceptField(java.lang.reflect.Field field, PropertyValuePropagation.OperationMode mode)Accept aFieldto use for value propagation.- Specified by:
acceptFieldin classPropertyValuePropagation- Parameters:
field- fieldmode- mod
-
-