private static class Mappings.MapUnwrapperWriter extends java.lang.Object implements AccessMode.Writer
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.Class<?>> |
componentTypes |
private java.lang.String[] |
paths |
private java.util.Map<java.lang.String,Mappings.Setter> |
writers |
Constructor and Description |
---|
MapUnwrapperWriter(java.util.Map<java.lang.String,Mappings.Setter> writers,
java.lang.String[] paths) |
Modifier and Type | Method and Description |
---|---|
private java.lang.Class<?> |
cast(java.lang.reflect.Type genericComponentType) |
Adapter<?,?> |
findConverter() |
ObjectConverter.Reader<?> |
findObjectConverterReader() |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> clazz) |
<T extends java.lang.annotation.Annotation> |
getClassOrPackageAnnotation(java.lang.Class<T> clazz) |
java.lang.reflect.Type |
getType() |
boolean |
isNillable(boolean globalConfig) |
void |
write(java.lang.Object instance,
java.lang.Object value) |
private final java.util.Map<java.lang.String,Mappings.Setter> writers
private final java.util.Map<java.lang.String,java.lang.Class<?>> componentTypes
private final java.lang.String[] paths
public MapUnwrapperWriter(java.util.Map<java.lang.String,Mappings.Setter> writers, java.lang.String[] paths)
private java.lang.Class<?> cast(java.lang.reflect.Type genericComponentType)
public void write(java.lang.Object instance, java.lang.Object value)
write
in interface AccessMode.Writer
public ObjectConverter.Reader<?> findObjectConverterReader()
findObjectConverterReader
in interface AccessMode.Writer
public java.lang.reflect.Type getType()
getType
in interface AccessMode.DecoratedType
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> clazz)
getAnnotation
in interface AccessMode.DecoratedType
public <T extends java.lang.annotation.Annotation> T getClassOrPackageAnnotation(java.lang.Class<T> clazz)
getClassOrPackageAnnotation
in interface AccessMode.DecoratedType
public Adapter<?,?> findConverter()
findConverter
in interface AccessMode.DecoratedType
public boolean isNillable(boolean globalConfig)
isNillable
in interface AccessMode.DecoratedType
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.