Package com.google.auto.value.processor
This package contains the annotation processor that implements the
AutoValue
API.-
Class Summary Class Description AnnotationOutput Handling of default values for annotation members.AnnotationOutput.AnnotationSourceFormVisitor AnnotationOutput.InitializerSourceFormVisitor AnnotationOutput.SourceFormVisitor 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.AutoAnnotationProcessor Javac annotation processor (compiler plugin) to generate annotation implementations.AutoAnnotationProcessor.Member AutoAnnotationProcessor.Parameter AutoAnnotationTemplateVars The variables to substitute into the autoannotation.vm template.AutoOneOfProcessor Javac annotation processor (compiler plugin) for one-of types; user code never references this class.AutoOneOfTemplateVars The variables to substitute into the autooneof.vm template.AutoValueBuilderProcessor Annotation processor that checks that the type thatAutoValue.Builder
is applied to is nested inside an@AutoValue
class.AutoValueOrOneOfProcessor Shared code between AutoValueProcessor and AutoOneOfProcessor.AutoValueOrOneOfProcessor.ContainsMutableVisitor AutoValueOrOneOfProcessor.Property A property of an@AutoValue
or@AutoOneOf
class, defined by one of its abstract methods.AutoValueOrOneOfTemplateVars The variables to substitute into the autovalue.vm or autooneof.vm template.AutoValueProcessor Javac annotation processor (compiler plugin) for value types; user code never references this class.AutoValueTemplateVars The variables to substitute into the autovalue.vm template.BuilderMethodClassifier Classifies methods inside builder types, based on their names and parameter and return types.BuilderSpec Support for AutoValue builders.BuilderSpec.PropertyGetter Information about a builder property getter, referenced from the autovalue.vm template.BuilderSpec.PropertySetter Information about a property setter, referenced from the autovalue.vm template.ClassNames Names of classes that are referenced in the processors.EclipseHack Hacks needed to work around various bugs and incompatibilities in Eclipse's implementation of annotation processing.ErrorReporter Handle error reporting for an annotation processor.ExtensionContext GwtCompatibility GwtSerialization Generates GWT serialization code for@AutoValue
classes also marked@GwtCompatible(serializable = true)
.GwtSerialization.GwtTemplateVars GwtSerialization.Property JavaScanner A simplistic Java scanner.Optionalish A wrapper for properties of Optional-like classes.PropertyBuilderClassifier Classifies methods inside builder types that return builders for properties.PropertyBuilderClassifier.PropertyBuilder Information about a property builder, referenced from the autovalue.vm template.Reformatter Postprocessor that runs over the output of the template engine in order to make it look nicer.SimpleMethod 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.TemplateVars A template and a set of variables to be substituted into that template.TypeEncoder Encodes types so they can later be decoded to incorporate imports.TypeEncoder.AnnotatedEncodingTypeVisitor LikeTypeEncoder.EncodingTypeVisitor
except that annotations on the visited type are also included in the resultant string.TypeEncoder.EncodingTypeVisitor Converts a type into a string, using standard Java syntax, except that every class name is wrapped in backquotes, like`java.util.List`
.TypeEncoder.RawEncodingTypeVisitor LikeTypeEncoder.EncodingTypeVisitor
except that type parameters are omitted from the result.TypeEncoder.TypeRewriter TypeMirrorSet A set of TypeMirror objects.TypeSimplifier 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.TypeSimplifier.CastingUncheckedVisitor Visitor that tells whether a type is erased, in the sense ofTypeSimplifier.isCastingUnchecked(javax.lang.model.type.TypeMirror)
.TypeSimplifier.Spelling The spelling that should be used to refer to a given class, and an indication of whether it should be imported. -
Enum Summary Enum Description AutoValueOrOneOfProcessor.ObjectMethod -
Exception Summary Exception Description AbortProcessingException Exception thrown when annotation processing should be aborted for the current class.MissingTypeException 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.