Class AutoOneOfTemplateVars


class AutoOneOfTemplateVars extends AutoValueOrOneOfTemplateVars
The variables to substitute into the autooneof.vm template.
  • Field Details

    • props

      com.google.common.collect.ImmutableSet<AutoValueOrOneOfProcessor.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.
    • generatedClass

      String generatedClass
      The simple name of the generated class.
    • kindType

      String kindType
      The encoded name of the "kind" enum class.
    • kindGetter

      String kindGetter
      The name of the method that gets the kind of the current @AutoOneOf instance.
    • propertyToKind

      Map<String,String> propertyToKind
      Maps property names like dog to enum constants like DOG.
    • TEMPLATE

      private static final Template TEMPLATE
  • Constructor Details

    • AutoOneOfTemplateVars

      AutoOneOfTemplateVars()
  • Method Details