Class SimpleMethod
java.lang.Object
com.google.auto.value.processor.SimpleMethod
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
access
-
name
-
-
Constructor Details
-
SimpleMethod
SimpleMethod(ExecutableElement method)
-
-
Method Details
-
getAccess
-
getName
-
access
Returns an appropriate string to be used in code for the access specification of the given method. This will bepublicorprotectedfollowed by a space, or the empty string for default access.
-