Class BuilderSpec.PropertySetter

java.lang.Object
com.google.auto.value.processor.BuilderSpec.PropertySetter
Enclosing class:
BuilderSpec

public static class BuilderSpec.PropertySetter extends Object
Information about a property setter, referenced from the autovalue.vm template. A property called foo (defined by a method T foo() or T getFoo()) can have a setter method foo(T) or setFoo(T) that returns the builder type. Additionally, it can have a setter with a type that can be copied to T through a copyOf method; for example a property foo of type ImmutableSet<String> can be set with a method setFoo(Collection<String> foos). And, if T is Optional, it can have a setter with a type that can be copied to T through Optional.of.
  • Field Details

    • access

      private final String access
    • name

      private final String name
    • parameterTypeString

      private final String parameterTypeString
    • primitiveParameter

      private final boolean primitiveParameter
    • nullableAnnotation

      private final String nullableAnnotation
    • copyOf

      private final String copyOf
  • Constructor Details

  • Method Details