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
abstract class AutoValueOrOneOfTemplateVars extends TemplateVars
The variables to substitute into the autovalue.vm or autooneof.vm template.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.StringactualTypesThe generic signature used by any generated subclass for its superclass reference.(package private) com.google.common.collect.ImmutableList<java.lang.String>annotationsThe full spelling of any annotation to add to this class, or an empty list if there are none.(package private) java.lang.BooleanequalsWhether to generate an equals(Object) method.(package private) java.lang.StringequalsParameterTypeA string representing the parameter type declaration of the equals(Object) method, including any annotations.(package private) java.lang.StringformalTypesThe formal generic signature of the class with the@AutoValueorAutoOneOfannotation and any generated subclass.(package private) java.lang.StringgeneratedThe encoding of theGeneratedclass.(package private) java.lang.BooleanhashCodeWhether to generate a hashCode() method.(package private) java.lang.StringorigClassThe name of the class with the@AutoValueannotation, including containing classes but not including the package name.(package private) java.lang.StringpkgThe package of the class with the@AutoValueannotation and its generated subclass.(package private) java.lang.StringsimpleClassNameThe simple name of the class with the@AutoValueannotation.(package private) java.lang.BooleantoStringWhether to generate a toString() method.(package private) java.lang.StringwildcardTypesThe generic signature inactualTypeswhere every variable has been replaced by a wildcard, for example<?, ?>.
-
Constructor Summary
Constructors Constructor Description AutoValueOrOneOfTemplateVars()
-
Method Summary
-
Methods inherited from class com.google.auto.value.processor.TemplateVars
parsedTemplate, parsedTemplateForResource, toText
-
-
-
-
Field Detail
-
equals
java.lang.Boolean equals
Whether to generate an equals(Object) method.
-
hashCode
java.lang.Boolean hashCode
Whether to generate a hashCode() method.
-
toString
java.lang.Boolean toString
Whether to generate a toString() method.
-
equalsParameterType
java.lang.String equalsParameterType
A string representing the parameter type declaration of the equals(Object) method, including any annotations. Ifequalsis false, this field is ignored (but it must still be non-null).
-
generated
java.lang.String generated
The encoding of theGeneratedclass. Empty if the class is not available.
-
pkg
java.lang.String pkg
The package of the class with the@AutoValueannotation and its generated subclass.
-
origClass
java.lang.String origClass
The name of the class with the@AutoValueannotation, including containing classes but not including the package name.
-
simpleClassName
java.lang.String simpleClassName
The simple name of the class with the@AutoValueannotation.
-
annotations
com.google.common.collect.ImmutableList<java.lang.String> annotations
The 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
java.lang.String formalTypes
The 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
java.lang.String actualTypes
The 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
java.lang.String wildcardTypes
The generic signature inactualTypeswhere every variable has been replaced by a wildcard, for example<?, ?>.
-
-