Package com.google.auto.value.processor
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) String
The 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) Boolean
Whether to generate an equals(Object) method.(package private) String
A string representing the parameter type declaration of the equals(Object) method, including any annotations.(package private) String
The formal generic signature of the class with the@AutoValue
orAutoOneOf
annotation and any generated subclass.(package private) String
The encoding of theGenerated
class.(package private) Boolean
Whether to generate a hashCode() method.(package private) String
The name of the class with the@AutoValue
annotation, including containing classes but not including the package name.(package private) String
The package of the class with the@AutoValue
annotation and its generated subclass.(package private) String
The simple name of the class with the@AutoValue
annotation.(package private) Boolean
Whether to generate a toString() method.(package private) String
The generic signature inactualTypes
where every variable has been replaced by a wildcard, for example<?, ?>
. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.auto.value.processor.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
String equalsParameterTypeA string representing the parameter type declaration of the equals(Object) method, including any annotations. Ifequals
is false, this field is ignored (but it must still be non-null). -
generated
String generatedThe encoding of theGenerated
class. Empty if the class is not available. -
pkg
String pkgThe package of the class with the@AutoValue
annotation and its generated subclass. -
origClass
String origClassThe name of the class with the@AutoValue
annotation, including containing classes but not including the package name. -
simpleClassName
String simpleClassNameThe simple name of the class with the@AutoValue
annotation. -
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@AutoValue
orAutoOneOf
annotation 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 inactualTypes
where every variable has been replaced by a wildcard, for example<?, ?>
.
-
-
Constructor Details
-
AutoValueOrOneOfTemplateVars
AutoValueOrOneOfTemplateVars()
-