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) String
The fully-qualified name of the annotation interface.(package private) String
The name of the annotation interface as it can be referenced in the generated code.(package private) String
The simple name of the generated class, likeAutoAnnotation_Foo_bar
.(package private) String
The encoded form of theGenerated
class, or empty if it is not available.(package private) Boolean
True 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) Integer
The 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@AutoAnnotation
method, which are also the constructor parameters in the generated class.(package private) String
The package of the class containing the@AutoAnnotation
annotation, which is also the package where the annotation implementation will be generated.private static final Template
The 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@AutoAnnotation
method, which are also the constructor parameters in the generated class. -
generated
String generatedThe encoded form of theGenerated
class, or empty if it is not available. -
pkg
String pkgThe package of the class containing the@AutoAnnotation
annotation, 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:
parsedTemplate
in classTemplateVars
-