public class AnnotationMapper extends MapperWrapper implements AnnotationConfiguration
Mapper.ImplicitCollectionMapping, Mapper.Null| Constructor and Description |
|---|
AnnotationMapper(Mapper wrapped,
ConverterRegistry converterRegistry,
ClassLoader classLoader,
ReflectionProvider reflectionProvider,
JVM jvm)
Construct an AnnotationMapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
autodetectAnnotations(boolean mode) |
Class |
defaultImplementationOf(Class type) |
Converter |
getLocalConverter(Class definedIn,
String fieldName) |
void |
processAnnotations(Class[] initialTypes) |
String |
realMember(Class type,
String serialized)
How a serialized member representation should be mapped back to a real member.
|
String |
serializedClass(Class type)
How a class name should be represented in its serialized form.
|
aliasForAttribute, aliasForAttribute, attributeForAlias, attributeForAlias, attributeForClassDefiningField, attributeForEnumType, attributeForImplementationClass, attributeForReadResolveField, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, isImmutableValueType, lookupMapperOfType, realClass, serializedMember, shouldSerializeMemberpublic AnnotationMapper(Mapper wrapped, ConverterRegistry converterRegistry, ClassLoader classLoader, ReflectionProvider reflectionProvider, JVM jvm)
wrapped - the next Mapper in the chainpublic String realMember(Class type, String serialized)
MapperrealMember in interface MapperrealMember in class MapperWrapperpublic String serializedClass(Class type)
MapperserializedClass in interface MapperserializedClass in class MapperWrapperpublic Class defaultImplementationOf(Class type)
defaultImplementationOf in interface MapperdefaultImplementationOf in class MapperWrapperpublic Converter getLocalConverter(Class definedIn, String fieldName)
getLocalConverter in interface MappergetLocalConverter in class MapperWrapperpublic void autodetectAnnotations(boolean mode)
autodetectAnnotations in interface AnnotationConfigurationpublic void processAnnotations(Class[] initialTypes)
processAnnotations in interface AnnotationConfigurationCopyright © 2020 Internet2. All rights reserved.