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 Details

    • equals

      Boolean equals
      Whether to generate an equals(Object) method.
    • hashCode

      Boolean hashCode
      Whether to generate a hashCode() method.
    • toString

      Boolean toString
      Whether to generate a toString() method.
    • equalsParameterType

      String equalsParameterType
      A string representing the parameter type declaration of the equals(Object) method, including any annotations. If equals is false, this field is ignored (but it must still be non-null).
    • generated

      String generated
      The encoding of the Generated class. Empty if the class is not available.
    • pkg

      String pkg
      The package of the class with the @AutoValue annotation and its generated subclass.
    • origClass

      String origClass
      The name of the class with the @AutoValue annotation, including containing classes but not including the package name.
    • simpleClassName

      String simpleClassName
      The simple name of the class with the @AutoValue annotation.
    • annotations

      com.google.common.collect.ImmutableList<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

      String formalTypes
      The formal generic signature of the class with the @AutoValue or AutoOneOf annotation and any generated subclass. This is empty, or contains type variables with optional bounds, for example <K, V extends K>.
    • actualTypes

      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

      String wildcardTypes
      The generic signature in actualTypes where every variable has been replaced by a wildcard, for example <?, ?>.
  • Constructor Details

    • AutoValueOrOneOfTemplateVars

      AutoValueOrOneOfTemplateVars()