Package com.google.auto.value.processor
Class GwtSerialization.GwtTemplateVars
- java.lang.Object
-
- com.google.auto.value.processor.TemplateVars
-
- com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
- Enclosing class:
- GwtSerialization
static class GwtSerialization.GwtTemplateVars extends TemplateVars
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
actualTypes
The generic signature used by the generated subclass for its superclass reference.(package private) com.google.common.collect.Multimap<java.lang.String,BuilderSpec.PropertySetter>
builderSetters
A multimap from property names (like foo) to the corresponding setter methods (foo or setFoo).(package private) java.lang.String
classHashString
A string that should change if any salient details of the serialized class change.(package private) java.lang.String
formalTypes
The formal generic signature of the class with the@AutoValue
annotation and its generated subclass.(package private) java.lang.String
generated
The encoding of theGenerated
class.(package private) java.lang.String
pkg
The package of the class with the@AutoValue
annotation and its generated subclass.(package private) java.util.List<GwtSerialization.Property>
props
The properties defined by the parent class's abstract methods.(package private) java.lang.String
serializerClass
The simple name of the generated GWT serializer class.(package private) java.lang.String
subclass
The simple name of the generated subclass.private static Template
TEMPLATE
(package private) java.lang.Boolean
useBuilder
True if the@AutoValue
class is constructed using a generated builder.
-
Constructor Summary
Constructors Constructor Description GwtTemplateVars()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Template
parsedTemplate()
-
Methods inherited from class com.google.auto.value.processor.TemplateVars
parsedTemplateForResource, toText
-
-
-
-
Field Detail
-
props
java.util.List<GwtSerialization.Property> props
The properties defined by the parent class's abstract methods.
-
pkg
java.lang.String pkg
The package of the class with the@AutoValue
annotation and its generated subclass.
-
subclass
java.lang.String subclass
The simple name of the generated subclass.
-
formalTypes
java.lang.String formalTypes
The formal generic signature of the class with the@AutoValue
annotation and its 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 the generated subclass for its superclass reference. This is empty, or contains only type variables with no bounds, for example<K, V>
.
-
useBuilder
java.lang.Boolean useBuilder
True if the@AutoValue
class is constructed using a generated builder.
-
builderSetters
com.google.common.collect.Multimap<java.lang.String,BuilderSpec.PropertySetter> builderSetters
A multimap from property names (like foo) to the corresponding setter methods (foo or setFoo).
-
serializerClass
java.lang.String serializerClass
The simple name of the generated GWT serializer class.
-
generated
java.lang.String generated
The encoding of theGenerated
class. Empty if noGenerated
class is available.
-
classHashString
java.lang.String classHashString
A string that should change if any salient details of the serialized class change.
-
TEMPLATE
private static final Template TEMPLATE
-
-
Method Detail
-
parsedTemplate
Template parsedTemplate()
- Specified by:
parsedTemplate
in classTemplateVars
-
-