Top Description Fields Constructors Methods
com.google.auto.value.processor

pack-priv Class AutoOneOfTemplateVars

extends AutoValueishTemplateVars
Class Inheritance
Annotations
@SuppressWarnings:unused
Imports
com.google.common.collect.ImmutableSet, com.google.escapevelocity.Template, java.util.Map

The variables to substitute into the autooneof.vm template.
Author
[email protected] (Éamonn McManus)

Field Summary

Modifier and TypeField and Description
pack-priv String
generatedClass

The simple name of the generated class.

pack-priv String
kindGetter

The name of the method that gets the kind of the current @AutoOneOf instance.

pack-priv String
kindType

The encoded name of the "kind" enum class.

pack-priv Map<String, String>
propertyToKind

Maps property names like dog to enum constants like DOG.

pack-priv ImmutableSet<AutoValueishProcessor.Property>
props

The properties defined by the parent class's abstract methods.

pack-priv Boolean
serializable

True if this @AutoOneOf class is Serializable.

private static final Template
Inherited from com.google.auto.value.processor.AutoValueishTemplateVars:
actualTypesannotationsequalsequalsParameterTypeformalTypesgeneratedhashCodeorigClasspkgserialVersionUIDsimpleClassNametoStringwildcardTypes

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv Template

Field Detail

generatedClassback to summary
pack-priv String generatedClass

The simple name of the generated class.

kindGetterback to summary
pack-priv String kindGetter

The name of the method that gets the kind of the current @AutoOneOf instance.

kindTypeback to summary
pack-priv String kindType

The encoded name of the "kind" enum class.

propertyToKindback to summary
pack-priv Map<String, String> propertyToKind

Maps property names like dog to enum constants like DOG.

propsback to summary
pack-priv ImmutableSet<AutoValueishProcessor.Property> props

The properties defined by the parent class's abstract methods. The elements of this set are in the same order as the original abstract method declarations in the AutoOneOf class.

serializableback to summary
pack-priv Boolean serializable

True if this @AutoOneOf class is Serializable.

TEMPLATEback to summary
private static final Template TEMPLATE

Constructor Detail

AutoOneOfTemplateVarsback to summary
pack-priv AutoOneOfTemplateVars()

Method Detail

parsedTemplateback to summary
pack-priv Template parsedTemplate()

Implements abstract com.google.auto.value.processor.TemplateVars.parsedTemplate.

Annotations
@Override