Class AutoAnnotationTemplateVars

java.lang.Object
com.google.auto.value.processor.TemplateVars
com.google.auto.value.processor.AutoAnnotationTemplateVars

class AutoAnnotationTemplateVars extends TemplateVars
The variables to substitute into the autoannotation.vm template.
  • Field Details

    • members

      The members of the annotation being implemented.
    • params

      The parameters in the @AutoAnnotation method, which are also the constructor parameters in the generated class.
    • generated

      String generated
      The encoded form of the Generated class, or empty if it is not available.
    • pkg

      String pkg
      The package of the class containing the @AutoAnnotation annotation, which is also the package where the annotation implementation will be generated.
    • className

      String className
      The simple name of the generated class, like AutoAnnotation_Foo_bar.
    • annotationName

      String annotationName
      The name of the annotation interface as it can be referenced in the generated code.
    • annotationFullName

      String annotationFullName
      The fully-qualified name of the annotation interface.
    • wrapperTypesUsedInCollections

      Set<Class<?>> wrapperTypesUsedInCollections
      The wrapper types (like Integer.class) that are referenced in collection parameters (like List<Integer>).
    • gwtCompatible

      Boolean gwtCompatible
      True if this annotation is marked @GwtCompatible. That means that we can't use clone() to make a copy of an array.
    • invariableHashes

      Set<String> invariableHashes
      The names of members that are defaulted (not mentioned) in this @AutoAnnotation, and whose hash codes are invariable.
    • invariableHashSum

      Integer invariableHashSum
      The sum of the hash code contributions from the members in invariableHashes.
    • TEMPLATE

      private static final Template TEMPLATE
  • Constructor Details

    • AutoAnnotationTemplateVars

      AutoAnnotationTemplateVars()
  • Method Details