public class AttributeInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
alias |
List<String> |
alternativeNames |
AnnotationMirror |
annotation |
VariableElement |
argument |
boolean |
containsStructOwnerType |
ConverterInfo |
converter |
Element |
element |
VariableElement |
field |
boolean |
fullMatch |
String |
id |
JsonAttribute.IncludePolicy |
includeToMinimal |
int |
index |
boolean |
isArray |
boolean |
isGeneric |
boolean |
isJsonObject |
boolean |
isList |
boolean |
isMap |
boolean |
isSet |
boolean |
mandatory |
String |
name |
boolean |
notNull |
ExecutableElement |
readMethod |
String |
readProperty |
TypeMirror |
type |
String |
typeName |
CompiledJson.TypeSignature |
typeSignature |
Map<String,Integer> |
typeVariablesIndex |
LinkedHashSet<TypeMirror> |
usedTypes |
ExecutableElement |
writeMethod |
| Constructor and Description |
|---|
AttributeInfo(String name,
ExecutableElement readMethod,
ExecutableElement writeMethod,
VariableElement field,
VariableElement argument,
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,
String typeName,
Map<String,Integer> typeVariablesIndex,
Map<String,TypeMirror> genericSignatures,
boolean containsStructOwnerType) |
| Modifier and Type | Method and Description |
|---|---|
AttributeInfo |
asConcreteType(Types types,
LinkedHashMap<String,TypeMirror> genericSignatures) |
boolean |
canReadInput() |
boolean |
canWriteOutput() |
List<String> |
collectionContent(TypeSupport typeSupport,
Map<String,StructInfo> structs) |
boolean |
isEnum(Map<String,StructInfo> structs) |
public final String id
public final String name
@Nullable public final ExecutableElement readMethod
@Nullable public final ExecutableElement writeMethod
@Nullable public final VariableElement field
@Nullable public final VariableElement argument
public final TypeMirror type
@Nullable public final AnnotationMirror annotation
public final Element element
public final boolean notNull
public final boolean mandatory
public final int index
public final String alias
public final boolean fullMatch
public final CompiledJson.TypeSignature typeSignature
public final JsonAttribute.IncludePolicy includeToMinimal
public final ConverterInfo converter
public final boolean isJsonObject
public final String readProperty
public final String typeName
public final boolean isArray
public final boolean isList
public final boolean isSet
public final boolean isMap
public final boolean isGeneric
public final LinkedHashSet<TypeMirror> usedTypes
public final boolean containsStructOwnerType
public AttributeInfo(String name, @Nullable ExecutableElement readMethod, @Nullable ExecutableElement writeMethod, @Nullable VariableElement field, @Nullable VariableElement argument, TypeMirror type, boolean isList, boolean isSet, boolean isMap, @Nullable 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, String typeName, Map<String,Integer> typeVariablesIndex, Map<String,TypeMirror> genericSignatures, boolean containsStructOwnerType)
public AttributeInfo asConcreteType(Types types, LinkedHashMap<String,TypeMirror> genericSignatures)
public boolean isEnum(Map<String,StructInfo> structs)
public boolean canReadInput()
public boolean canWriteOutput()
@Nullable public List<String> collectionContent(TypeSupport typeSupport, Map<String,StructInfo> structs)
Copyright © 2023. All rights reserved.