class AutoAnnotationTemplateVars extends TemplateVars
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
annotationFullName
The fully-qualified name of the annotation interface.
|
(package private) java.lang.String |
annotationName
The name of the annotation interface as it can be referenced in the generated code.
|
(package private) java.lang.String |
arrays
The spelling of the java.util.Arrays class: Arrays or java.util.Arrays.
|
(package private) java.lang.String |
className
The simple name of the generated class, like
AutoAnnotation_Foo_bar. |
(package private) java.lang.String |
generated
The spelling of the javax.annotation.Generated class: Generated or javax.annotation.Generated.
|
(package private) java.lang.Boolean |
gwtCompatible
True if this annotation is marked
@GwtCompatible. |
(package private) java.util.SortedSet<java.lang.String> |
imports
The fully-qualified names of the classes to be imported in the generated class.
|
(package private) java.util.Set<java.lang.String> |
invariableHashes
The names of members that are defaulted (not mentioned) in this
@AutoAnnotation,
and whose hash codes are invariable. |
(package private) java.lang.Integer |
invariableHashSum
The sum of the hash code contributions from the members in
invariableHashes. |
(package private) java.util.Map<java.lang.String,AutoAnnotationProcessor.Member> |
members
The members of the annotation being implemented.
|
(package private) java.util.Map<java.lang.String,AutoAnnotationProcessor.Parameter> |
params
The parameters in the
@AutoAnnotation method, which are also the constructor parameters
in the generated class. |
(package private) java.lang.String |
pkg
The package of the class containing the
@AutoAnnotation annotation, which is also the
package where the annotation implementation will be generated. |
private static Template |
TEMPLATE |
(package private) java.util.Set<java.lang.Class<?>> |
wrapperTypesUsedInCollections
The wrapper types (like
Integer.class) that are referenced in collection parameters
(like List<Integer>). |
| Constructor and Description |
|---|
AutoAnnotationTemplateVars() |
| Modifier and Type | Method and Description |
|---|---|
(package private) Template |
parsedTemplate() |
parsedTemplateForResource, toTextjava.util.Map<java.lang.String,AutoAnnotationProcessor.Member> members
java.util.Map<java.lang.String,AutoAnnotationProcessor.Parameter> params
@AutoAnnotation method, which are also the constructor parameters
in the generated class.java.util.SortedSet<java.lang.String> imports
java.lang.String generated
java.lang.String arrays
java.lang.String pkg
@AutoAnnotation annotation, which is also the
package where the annotation implementation will be generated.java.lang.String className
AutoAnnotation_Foo_bar.java.lang.String annotationName
java.lang.String annotationFullName
java.util.Set<java.lang.Class<?>> wrapperTypesUsedInCollections
Integer.class) that are referenced in collection parameters
(like List<Integer>).java.lang.Boolean gwtCompatible
@GwtCompatible. That means that we can't use
clone() to make a copy of an array.java.util.Set<java.lang.String> invariableHashes
@AutoAnnotation,
and whose hash codes are invariable.java.lang.Integer invariableHashSum
invariableHashes.private static final Template TEMPLATE
Template parsedTemplate()
parsedTemplate in class TemplateVars