Class SimpleMethod


  • public final class SimpleMethod
    extends Object
    A method on an @AutoValue or AutoOneOf class that has no specific attached information, such as a toBuilder() method, or a build() method, where only the name and access type is needed in context.

    It implements JavaBean-style getters which means it can be referenced from templates, for example $method.access. This template access means that the class and its getters must be public.

    • Method Detail

      • getAccess

        public String getAccess()
      • getName

        public String getName()
      • getThrows

        public String getThrows()