Class AutoValueOrOneOfTemplateVars
java.lang.Object
com.google.auto.value.processor.TemplateVars
com.google.auto.value.processor.AutoValueOrOneOfTemplateVars
- Direct Known Subclasses:
AutoOneOfTemplateVars, AutoValueTemplateVars
The variables to substitute into the autovalue.vm or autooneof.vm template.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) StringThe generic signature used by any generated subclass for its superclass reference.(package private) com.google.common.collect.ImmutableList<String> The full spelling of any annotation to add to this class, or an empty list if there are none.(package private) BooleanWhether to generate an equals(Object) method.(package private) StringA string representing the parameter type declaration of the equals(Object) method, including any annotations.(package private) StringThe formal generic signature of the class with the@AutoValueorAutoOneOfannotation and any generated subclass.(package private) StringThe encoding of theGeneratedclass.(package private) BooleanWhether to generate a hashCode() method.(package private) StringThe name of the class with the@AutoValueannotation, including containing classes but not including the package name.(package private) StringThe package of the class with the@AutoValueannotation and its generated subclass.(package private) StringThe simple name of the class with the@AutoValueannotation.(package private) BooleanWhether to generate a toString() method.(package private) StringThe generic signature inactualTypeswhere every variable has been replaced by a wildcard, for example<?, ?>. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TemplateVars
parsedTemplate, parsedTemplateForResource, toText
-
Field Details
-
equals
Boolean equalsWhether to generate an equals(Object) method. -
hashCode
Boolean hashCodeWhether to generate a hashCode() method. -
toString
Boolean toStringWhether to generate a toString() method. -
equalsParameterType
-
generated
String generatedThe encoding of theGeneratedclass. Empty if the class is not available. -
pkg
String pkgThe package of the class with the@AutoValueannotation and its generated subclass. -
origClass
String origClassThe name of the class with the@AutoValueannotation, including containing classes but not including the package name. -
simpleClassName
String simpleClassNameThe simple name of the class with the@AutoValueannotation. -
annotations
com.google.common.collect.ImmutableList<String> annotationsThe full spelling of any annotation to add to this class, or an empty list if there are none. A non-empty value might look something like"@com.google.common.annotations.GwtCompatible(serializable = true)". -
formalTypes
String formalTypesThe formal generic signature of the class with the@AutoValueorAutoOneOfannotation and any generated subclass. This is empty, or contains type variables with optional bounds, for example<K, V extends K>. -
actualTypes
String actualTypesThe generic signature used by any generated subclass for its superclass reference. This is empty, or contains only type variables with no bounds, for example<K, V>. -
wildcardTypes
String wildcardTypesThe generic signature inactualTypeswhere every variable has been replaced by a wildcard, for example<?, ?>.
-
-
Constructor Details
-
AutoValueOrOneOfTemplateVars
AutoValueOrOneOfTemplateVars()
-