| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class | AutoValueishProcessor.
A |
| pack-priv static enum | |
| public static class | AutoValueishProcessor.
A property of an |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private javax. | annotationType
The annotation we are processing, for example |
| private final boolean | |
| private final Map | deferredTypeNames
Qualified names of |
| private ErrorReporter | |
| private String | simpleAnnotationName
The simple name of |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ImmutableSet | abstractMethodsIn(Iterable<javax.
Returns the subset of all abstract methods in the given set of methods. |
| pack-priv void | |
| private boolean | |
| pack-priv static ImmutableList | annotationsToCopy(javax.
Implements the semantics of |
| pack-priv static ImmutableList | annotationStrings(List<? extends javax.
Returns the spelling to be used in the generated code for the given list of annotations. |
| private static boolean | annotationVisibleFrom(javax.
|
| pack-priv final void | checkModifiersIfNested(javax.
Checks that, if the given |
| pack-priv final void | checkModifiersIfNested(javax.
|
| pack-priv final void | checkReturnType(javax.
Checks that the return type of the given property method is allowed. |
| pack-priv ImmutableList | |
| pack-priv ImmutableList | copyAnnotations(javax.
Implements the semantics of |
| pack-priv final ImmutableList | deferredTypeNames()
Qualified names of |
| pack-priv final void | defineSharedVarsForType(javax.
Defines the template variables that are shared by AutoValue, AutoOneOf, and AutoBuilder. |
| private static Map | determineObjectMethodsToGenerate(Set<javax.
Given a list of all methods defined in or inherited by a class, returns a map indicating which of equals, hashCode, and toString should be generated. |
| private static String | |
| pack-priv final javax. | |
| pack-priv static String | equalsParameterType(Map<AutoValueishProcessor.
the Object methods that are being generated methodsToGenerate,Returns the encoded parameter type of the |
| pack-priv final ErrorReporter | |
| pack-priv static void | fixReservedIdentifiers(Map<?, String> methodToIdentifier)
Modifies the values of the given map to avoid reserved words. |
| pack-priv static String | generatedClassName(javax.
the name of the type bearing the type,@AutoValue (etc) annotation.the prefix to use in the generated class. This may start with one or more dollar
signs, for an prefix)@AutoValue implementation where there are AutoValue extensions.Returns the name of the generated |
| private static String | getAnnotationFqName(javax.
Returns the fully-qualified name of an annotation-mirror, e.g. "com.google.auto.value.AutoValue". |
| pack-priv static Optional | |
| pack-priv static Set | |
| pack-priv static Set | getExcludedAnnotationClassNames(javax.
Returns the contents of the |
| private static Set | getExcludedAnnotationTypes(javax.
Returns the contents of the |
| private static Set | getReturnTypeAnnotations(javax.
|
| pack-priv final String | getSerialVersionUID(javax.
Returns a string like |
| public final javax. | |
| private static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | hasVisibleNoArgConstructor(javax.
True if the type is a class with a non-private no-arg constructor, or is an interface. |
| public synchronized void | |
| private static boolean | isInAutoValuePackage(String className)
True if the given class name is in the com.google.auto.value package or a subpackage. |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| pack-priv static boolean | |
| pack-priv static String | |
| pack-priv static Optional | nullableAnnotationFor(javax.
the element that might be element,@Nullable, either a method or a parameter.the relevant type of the element: the return type for a method, or the
parameter type for a parameter. elementTypeReturns an appropriate annotation spelling to indicate the nullability of an element. |
| pack-priv abstract Optional | nullableAnnotationForMethod(javax.
Returns the appropriate |
| private static OptionalInt | |
| pack-priv static AutoValueishProcessor. | objectMethodToOverride(javax.
Determines which of the three public non-final methods from |
| pack-priv static ImmutableSet | prefixedGettersIn(Collection<javax.
Returns the subset of the given zero-arg methods whose names begin with |
| public final boolean | |
| pack-priv abstract void | processType(javax.
the class with the type@AutoValue or @AutoOneOf annotation.Analyzes a single |
| pack-priv boolean | |
| pack-priv final ImmutableListMultimap | propertyFieldAnnotationMap(javax.
|
| private ImmutableList | propertyFieldAnnotations(javax.
|
| pack-priv static ImmutableListMultimap | propertyMethodAnnotationMap(javax.
|
| pack-priv static ImmutableList | propertyMethodAnnotations(javax.
|
| pack-priv ImmutableMap | propertyMethodsIn(Set<javax.
Returns the subset of property methods in the given set of abstract methods, with their actual return types. |
| pack-priv final ImmutableBiMap | propertyNameToMethodMap(Set<javax.
Returns a bi-map between property names and the corresponding abstract property methods. |
| pack-priv final ImmutableSet | propertySet(ImmutableMap<javax.
a map from property methods to the method annotations that
should go on the implementation of those methods. These annotations are method annotations
specifically. Type annotations do not appear because they are considered part of the return
type and will appear when that is spelled out. Annotations that are excluded by annotatedPropertyMethods,AutoValue.CopyAnnotations also do not appear here.Returns the ordered set of |
| pack-priv final javax. | |
| private void | |
| private void | warnAboutPrimitiveArrays(javax.
|
| private static String | wildcardTypeParametersString(javax.
Returns the |
| pack-priv final void | writeSourceFile(String className, String text, javax.
|