Package com.google.auto.value.processor
Class AutoAnnotationTemplateVars
java.lang.Object
com.google.auto.value.processor.TemplateVars
com.google.auto.value.processor.AutoAnnotationTemplateVars
The variables to substitute into the autoannotation.vm template.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) StringThe fully-qualified name of the annotation interface.(package private) StringThe name of the annotation interface as it can be referenced in the generated code.(package private) StringThe simple name of the generated class, likeAutoAnnotation_Foo_bar.(package private) StringThe encoded form of theGeneratedclass, or empty if it is not available.(package private) BooleanTrue if this annotation is marked@GwtCompatible.The names of members that are defaulted (not mentioned) in this@AutoAnnotation, and whose hash codes are invariable.(package private) IntegerThe sum of the hash code contributions from the members ininvariableHashes.(package private) Map<String, AutoAnnotationProcessor.Member> The members of the annotation being implemented.(package private) Map<String, AutoAnnotationProcessor.Parameter> The parameters in the@AutoAnnotationmethod, which are also the constructor parameters in the generated class.(package private) StringThe package of the class containing the@AutoAnnotationannotation, which is also the package where the annotation implementation will be generated.private static final TemplateThe wrapper types (likeInteger.class) that are referenced in collection parameters (likeList<Integer>). -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.auto.value.processor.TemplateVars
parsedTemplateForResource, toText
-
Field Details
-
members
Map<String,AutoAnnotationProcessor.Member> membersThe members of the annotation being implemented. -
params
The parameters in the@AutoAnnotationmethod, which are also the constructor parameters in the generated class. -
generated
String generatedThe encoded form of theGeneratedclass, or empty if it is not available. -
pkg
String pkgThe package of the class containing the@AutoAnnotationannotation, which is also the package where the annotation implementation will be generated. -
className
String classNameThe simple name of the generated class, likeAutoAnnotation_Foo_bar. -
annotationName
String annotationNameThe name of the annotation interface as it can be referenced in the generated code. -
annotationFullName
String annotationFullNameThe fully-qualified name of the annotation interface. -
wrapperTypesUsedInCollections
The wrapper types (likeInteger.class) that are referenced in collection parameters (likeList<Integer>). -
gwtCompatible
Boolean gwtCompatibleTrue if this annotation is marked@GwtCompatible. That means that we can't useclone()to make a copy of an array. -
invariableHashes
The names of members that are defaulted (not mentioned) in this@AutoAnnotation, and whose hash codes are invariable. -
invariableHashSum
Integer invariableHashSumThe sum of the hash code contributions from the members ininvariableHashes. -
TEMPLATE
-
-
Constructor Details
-
AutoAnnotationTemplateVars
AutoAnnotationTemplateVars()
-
-
Method Details
-
parsedTemplate
Template parsedTemplate()- Specified by:
parsedTemplatein classTemplateVars
-