Top Description Classes
[default module]

Package com.google.auto.value.processor


This package contains the annotation processor that implements the com.google.auto.value.AutoValue API.

Class Summary

Modifier and TypeClass and Description
pack-priv class
AbortProcessingException

Exception thrown when annotation processing should be aborted for the current class.

pack-priv class
AnnotationOutput

Handling of default values for annotation members.

public class
AutoAnnotationProcessor

Javac annotation processor (compiler plugin) to generate annotation implementations.

pack-priv class
AutoAnnotationTemplateVars

The variables to substitute into the autoannotation.vm template.

pack-priv class
AutoBuilderAnnotationTemplateVars

The variables to substitute into the autobuilderannotation.vm template.

public class
AutoBuilderProcessor

Javac annotation processor (compiler plugin) for builders; user code never references this class.

pack-priv class
public class
AutoOneOfProcessor

Javac annotation processor (compiler plugin) for one-of types; user code never references this class.

pack-priv class
AutoOneOfTemplateVars

The variables to substitute into the autooneof.vm template.

public class
AutoValueBuilderProcessor

Annotation processor that checks that the type that AutoValue.Builder is applied to is nested inside an @AutoValue class.

pack-priv abstract class
pack-priv abstract class
AutoValueishTemplateVars

The variables to substitute into the autovalue.vm, autooneof.vm, or builder.vm templates.

pack-priv abstract class
AutoValueOrBuilderTemplateVars

Variables to substitute into the autovalue.vm or builder.vm template.

public class
AutoValueProcessor

Javac annotation processor (compiler plugin) for value types; user code never references this class.

pack-priv class
AutoValueTemplateVars

The variables to substitute into the autovalue.vm template.

pack-priv abstract class
BuilderMethodClassifier<
the kind of Element that the corresponding properties are defined by. This is ExecutableElement for AutoValue, where properties are defined by abstract methods, and VariableElement for AutoBuilder, where they are defined by constructor or method parameters.
E extends javax.lang.model.element.Element
>

Classifies methods inside builder types, based on their names and parameter and return types.

pack-priv class
pack-priv class
public abstract class
BuilderRequiredProperties

Code generation to track which properties have been set in a builder.

pack-priv class
BuilderSpec

Support for AutoValue builders.

pack-priv class
ClassNames

Names of classes that are referenced in the processors.

pack-priv class
EclipseHack

Hacks needed to work around various bugs and incompatibilities in Eclipse's implementation of annotation processing.

pack-priv class
ErrorReporter

Handle error reporting for an annotation processor.

pack-priv class
Executable

A wrapper for an ExecutableElement, representing a static method or a constructor.

pack-priv class
pack-priv class
ForwardingClassGenerator

Generates a class that invokes the constructor of another class.

pack-priv class
pack-priv class
GwtSerialization

Generates GWT serialization code for @AutoValue classes also marked @GwtCompatible(serializable = true).

pack-priv class
JavaScanner

A simplistic Java scanner.

pack-priv class
MissingTypes

Handling of undefined types.

pack-priv class
public class
Optionalish

A wrapper for properties of Optional-like classes.

pack-priv class
PropertyBuilderClassifier

Classifies methods inside builder types that return builders for properties.

pack-priv class
PropertyNames

Helper methods to create property names.

pack-priv class
Reformatter

Postprocessor that runs over the output of the template engine in order to make it look nicer.

public class
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.

public class
SimpleServiceLoader

A replacement for java.util.ServiceLoader that avoids certain long-standing bugs.

pack-priv abstract class
TemplateVars

A template and a set of variables to be substituted into that template.

pack-priv class
TypeEncoder

Encodes types so they can later be decoded to incorporate imports.

pack-priv class
TypeMirrorSet

A set of TypeMirror objects.

pack-priv class
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.

pack-priv class
TypeVariables

Methods for handling type variables.