Package com.google.auto.value.processor
package com.google.auto.value.processor
This package contains the annotation processor that implements the
AutoValue
API.-
ClassDescriptionException thrown when annotation processing should be aborted for the current class.Handling of default values for annotation members.Visitor that produces a string representation of an annotation value, suitable for inclusion in a Java source file as an annotation member or as the initializer of a variable of the appropriate type.Javac annotation processor (compiler plugin) to generate annotation implementations.The variables to substitute into the autoannotation.vm template.Javac annotation processor (compiler plugin) for one-of types; user code never references this class.The variables to substitute into the autooneof.vm template.Annotation processor that checks that the type that
AutoValue.Builder
is applied to is nested inside an@AutoValue
class.Shared code between AutoValueProcessor and AutoOneOfProcessor.A property of an@AutoValue
or@AutoOneOf
class, defined by one of its abstract methods.The variables to substitute into the autovalue.vm or autooneof.vm template.Javac annotation processor (compiler plugin) for value types; user code never references this class.The variables to substitute into the autovalue.vm template.Classifies methods inside builder types, based on their names and parameter and return types.Support for AutoValue builders.Information about a builder property getter, referenced from the autovalue.vm template.Information about a property setter, referenced from the autovalue.vm template.Names of classes that are referenced in the processors.Hacks needed to work around various bugs and incompatibilities in Eclipse's implementation of annotation processing.Handle error reporting for an annotation processor.Generates GWT serialization code for@AutoValue
classes also marked@GwtCompatible(serializable = true)
.A simplistic Java scanner.Exception thrown in the specific case where processing of a class was abandoned because it required types that the class references to be present and they were not.A wrapper for properties of Optional-like classes.Classifies methods inside builder types that return builders for properties.Information about a property builder, referenced from the autovalue.vm template.Postprocessor that runs over the output of the template engine in order to make it look nicer.A method on an@AutoValue
orAutoOneOf
class that has no specific attached information, such as atoBuilder()
method, or abuild()
method, where only the name and access type is needed in context.A template and a set of variables to be substituted into that template.Encodes types so they can later be decoded to incorporate imports.LikeTypeEncoder.EncodingTypeVisitor
except that annotations on the visited type are also included in the resultant string.Converts a type into a string, using standard Java syntax, except that every class name is wrapped in backquotes, like`java.util.List`
.LikeTypeEncoder.EncodingTypeVisitor
except that type parameters are omitted from the result.A set of TypeMirror objects.Takes a set of types and a package and determines which of those types can be imported, and how to spell any of the types in the set given those imports.Visitor that tells whether a type is erased, in the sense ofTypeSimplifier.isCastingUnchecked(javax.lang.model.type.TypeMirror)
.The spelling that should be used to refer to a given class, and an indication of whether it should be imported.