Class AutoAnnotationTemplateVars


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

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String annotationFullName
      The fully-qualified name of the annotation interface.
      (package private) java.lang.String annotationName
      The name of the annotation interface as it can be referenced in the generated code.
      (package private) java.lang.String className
      The simple name of the generated class, like AutoAnnotation_Foo_bar.
      (package private) java.lang.String generated
      The encoded form of the Generated class, or empty if it is not available.
      (package private) java.lang.Boolean gwtCompatible
      True if this annotation is marked @GwtCompatible.
      (package private) java.util.Set<java.lang.String> invariableHashes
      The names of members that are defaulted (not mentioned) in this @AutoAnnotation, and whose hash codes are invariable.
      (package private) java.lang.Integer invariableHashSum
      The sum of the hash code contributions from the members in invariableHashes.
      (package private) java.util.Map<java.lang.String,​AutoAnnotationProcessor.Member> members
      The members of the annotation being implemented.
      (package private) java.util.Map<java.lang.String,​AutoAnnotationProcessor.Parameter> params
      The parameters in the @AutoAnnotation method, which are also the constructor parameters in the generated class.
      (package private) java.lang.String pkg
      The package of the class containing the @AutoAnnotation annotation, which is also the package where the annotation implementation will be generated.
      private static Template TEMPLATE  
      (package private) java.util.Set<java.lang.Class<?>> wrapperTypesUsedInCollections
      The wrapper types (like Integer.class) that are referenced in collection parameters (like List<Integer>).
    • Field Detail

      • params

        java.util.Map<java.lang.String,​AutoAnnotationProcessor.Parameter> params
        The parameters in the @AutoAnnotation method, which are also the constructor parameters in the generated class.
      • generated

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

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

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

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

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

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

        java.lang.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

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

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

        private static final Template TEMPLATE
    • Constructor Detail

      • AutoAnnotationTemplateVars

        AutoAnnotationTemplateVars()