public class Analysis extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Analysis.AnnotationMapping<T> |
| Modifier and Type | Field and Description |
|---|---|
TypeElement |
attributeElement |
DeclaredType |
attributeType |
TypeElement |
compiledJsonElement |
DeclaredType |
compiledJsonType |
TypeElement |
converterElement |
DeclaredType |
converterType |
| Constructor and Description |
|---|
Analysis(ProcessingEnvironment processingEnv,
AnnotationUsage annotationUsage,
LogLevel logLevel,
TypeSupport typeSupport) |
Analysis(ProcessingEnvironment processingEnv,
AnnotationUsage annotationUsage,
LogLevel logLevel,
TypeSupport typeSupport,
Set<String> alternativeIgnore,
Map<String,List<Analysis.AnnotationMapping<Boolean>>> alternativeNonNullable,
Map<String,String> alternativeAlias,
Map<String,List<Analysis.AnnotationMapping<Boolean>>> alternativeMandatory,
Set<String> alternativeCreators,
Map<String,String> alternativeIndex,
UnknownTypes unknownTypes,
boolean includeFields,
boolean includeBeanMethods,
boolean includeExactMethods) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,StructInfo> |
analyze() |
static String |
beanOrActualName(String name)
Deprecated.
|
static String |
beanOrActualName(String name,
boolean isBoolean) |
boolean |
hasError() |
static String |
objectName(String type) |
void |
processAnnotation(DeclaredType currentAnnotationType,
Set<? extends Element> targets) |
Map<String,Element> |
processConverters(Set<? extends Element> converters) |
public final TypeElement compiledJsonElement
public final DeclaredType compiledJsonType
public final TypeElement attributeElement
public final DeclaredType attributeType
public final TypeElement converterElement
public final DeclaredType converterType
public Analysis(ProcessingEnvironment processingEnv, AnnotationUsage annotationUsage, LogLevel logLevel, TypeSupport typeSupport)
public Analysis(ProcessingEnvironment processingEnv, AnnotationUsage annotationUsage, LogLevel logLevel, TypeSupport typeSupport, @Nullable Set<String> alternativeIgnore, @Nullable Map<String,List<Analysis.AnnotationMapping<Boolean>>> alternativeNonNullable, @Nullable Map<String,String> alternativeAlias, @Nullable Map<String,List<Analysis.AnnotationMapping<Boolean>>> alternativeMandatory, @Nullable Set<String> alternativeCreators, @Nullable Map<String,String> alternativeIndex, @Nullable UnknownTypes unknownTypes, boolean includeFields, boolean includeBeanMethods, boolean includeExactMethods)
public boolean hasError()
public void processAnnotation(DeclaredType currentAnnotationType, Set<? extends Element> targets)
public Map<String,StructInfo> analyze()
@Deprecated public static String beanOrActualName(String name)
Copyright © 2023. All rights reserved.