com.dslplatform.json.processor
Class AttributeInfo
java.lang.Object
com.dslplatform.json.processor.AttributeInfo
public class AttributeInfo
- extends Object
|
Constructor Summary |
AttributeInfo(String name,
ExecutableElement readMethod,
ExecutableElement writeMethod,
VariableElement field,
TypeMirror type,
boolean isList,
boolean isSet,
boolean isMap,
AnnotationMirror annotation,
boolean notNull,
boolean mandatory,
int index,
String alias,
boolean fullMatch,
CompiledJson.TypeSignature typeSignature,
JsonAttribute.IncludePolicy includeToMinimal,
ConverterInfo converter,
boolean isJsonObject,
LinkedHashSet<TypeMirror> usedTypes,
Map<String,Integer> typeVariablesIndex,
boolean containsStructOwnerType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public final String id
name
public final String name
readMethod
public final ExecutableElement readMethod
writeMethod
public final ExecutableElement writeMethod
field
public final VariableElement field
type
public final TypeMirror type
annotation
public final AnnotationMirror annotation
element
public final Element element
notNull
public final boolean notNull
mandatory
public final boolean mandatory
index
public final int index
alias
public final String alias
fullMatch
public final boolean fullMatch
typeSignature
public final CompiledJson.TypeSignature typeSignature
includeToMinimal
public final JsonAttribute.IncludePolicy includeToMinimal
converter
public final ConverterInfo converter
isJsonObject
public final boolean isJsonObject
alternativeNames
public final List<String> alternativeNames
readProperty
public final String readProperty
typeName
public final String typeName
isArray
public final boolean isArray
isList
public final boolean isList
isSet
public final boolean isSet
isMap
public final boolean isMap
isGeneric
public final boolean isGeneric
usedTypes
public final LinkedHashSet<TypeMirror> usedTypes
typeVariablesIndex
public final Map<String,Integer> typeVariablesIndex
containsStructOwnerType
public final boolean containsStructOwnerType
AttributeInfo
public AttributeInfo(String name,
ExecutableElement readMethod,
ExecutableElement writeMethod,
@Nullable
VariableElement field,
TypeMirror type,
boolean isList,
boolean isSet,
boolean isMap,
AnnotationMirror annotation,
boolean notNull,
boolean mandatory,
int index,
@Nullable
String alias,
boolean fullMatch,
@Nullable
CompiledJson.TypeSignature typeSignature,
JsonAttribute.IncludePolicy includeToMinimal,
@Nullable
ConverterInfo converter,
boolean isJsonObject,
LinkedHashSet<TypeMirror> usedTypes,
Map<String,Integer> typeVariablesIndex,
boolean containsStructOwnerType)
isEnum
public boolean isEnum(Map<String,StructInfo> structs)
collectionContent
@Nullable
public List<String> collectionContent(TypeSupport typeSupport,
Map<String,StructInfo> structs)
Copyright © 2019. All rights reserved.