A B C E F G I L M N O P S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abstractMethods() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the complete set of abstract methods defined in or inherited by the
@AutoValue
class. - AGGREGATING - com.google.auto.value.extension.AutoValueExtension.IncrementalExtensionType
-
This extension is aggregating, meaning that it may generate outputs based on several annotated input classes and it respects the constraints imposed on aggregating processors.
- applicable(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Determines whether this Extension applies to the given context.
- applicable(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.memoized.processor.MemoizeExtension
- applicable(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.serializable.processor.SerializableAutoValueExtension
- applicable(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.toprettystring.processor.ToPrettyStringExtension
- apply(I) - Method in interface com.google.auto.value.extension.serializable.serializer.runtime.FunctionWithExceptions.FunctionWithException
- AutoAnnotation - Annotation Type in com.google.auto.value
-
Annotation that causes an implementation of an annotation interface to be generated.
- AutoAnnotationProcessor - Class in com.google.auto.value.processor
-
Javac annotation processor (compiler plugin) to generate annotation implementations.
- AutoAnnotationProcessor() - Constructor for class com.google.auto.value.processor.AutoAnnotationProcessor
- AutoAnnotationProcessor.Member - Class in com.google.auto.value.processor
- AutoAnnotationProcessor.Parameter - Class in com.google.auto.value.processor
- AutoBuilder - Annotation Type in com.google.auto.value
-
Specifies that the annotated interface or abstract class should be implemented as a builder.
- AutoBuilderProcessor - Class in com.google.auto.value.processor
-
Javac annotation processor (compiler plugin) for builders; user code never references this class.
- AutoBuilderProcessor() - Constructor for class com.google.auto.value.processor.AutoBuilderProcessor
- autoBuildMethod() - Method in interface com.google.auto.value.extension.AutoValueExtension.BuilderContext
-
Returns the abstract build method.
- AutoOneOf - Annotation Type in com.google.auto.value
-
Specifies that the annotated class is a one-of class, also known as a tagged union.
- AutoOneOfProcessor - Class in com.google.auto.value.processor
-
Javac annotation processor (compiler plugin) for one-of types; user code never references this class.
- AutoOneOfProcessor() - Constructor for class com.google.auto.value.processor.AutoOneOfProcessor
- AutoValue - Annotation Type in com.google.auto.value
- AutoValue.Builder - Annotation Type in com.google.auto.value
-
Specifies that AutoValue should generate an implementation of the annotated class or interface, to serve as a builder for the value-type class it is nested within.
- AutoValue.CopyAnnotations - Annotation Type in com.google.auto.value
-
Specifies that AutoValue should copy any annotations from the annotated element to the generated class.
- AutoValueBuilderProcessor - Class in com.google.auto.value.processor
-
Annotation processor that checks that the type that
AutoValue.Builder
is applied to is nested inside an@AutoValue
class. - AutoValueBuilderProcessor() - Constructor for class com.google.auto.value.processor.AutoValueBuilderProcessor
- autoValueClass() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the annotated class that this generation cycle is based on.
- AutoValueExtension - Class in com.google.auto.value.extension
-
An AutoValueExtension allows for extra functionality to be created during the generation of an AutoValue class.
- AutoValueExtension() - Constructor for class com.google.auto.value.extension.AutoValueExtension
- AutoValueExtension.BuilderContext - Interface in com.google.auto.value.extension
-
Represents a
Builder
associated with an@AutoValue
class. - AutoValueExtension.Context - Interface in com.google.auto.value.extension
-
The context of the generation cycle.
- AutoValueExtension.IncrementalExtensionType - Enum in com.google.auto.value.extension
-
Indicates to an annotation processor environment supporting incremental annotation processing (currently a feature specific to Gradle starting with version 4.8) the incremental type of an Extension.
- AutoValueProcessor - Class in com.google.auto.value.processor
-
Javac annotation processor (compiler plugin) for value types; user code never references this class.
- AutoValueProcessor() - Constructor for class com.google.auto.value.processor.AutoValueProcessor
- AutoValueProcessor(Iterable<? extends AutoValueExtension>) - Constructor for class com.google.auto.value.processor.AutoValueProcessor
B
- builder() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns a representation of the
Builder
associated with the@AutoValue
class, if there is one. - builderAbstractMethods() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the complete set of abstract methods defined in or inherited by the
@Builder
class. - builderMethods() - Method in interface com.google.auto.value.extension.AutoValueExtension.BuilderContext
-
Returns static no-argument methods in the
@AutoValue
class that return the builder type. - BuilderRequiredProperties - Class in com.google.auto.value.processor
-
Code generation to track which properties have been set in a builder.
- builderType() - Method in interface com.google.auto.value.extension.AutoValueExtension.BuilderContext
-
Returns the
@AutoValue.Builder
interface or abstract class that this object represents. - buildMethod() - Method in interface com.google.auto.value.extension.AutoValueExtension.BuilderContext
-
Returns the method
build()
in the builder class, if it exists and returns the@AutoValue
type.
C
- callMethod() - Method in annotation type com.google.auto.value.AutoBuilder
-
The static method from
AutoBuilder.ofClass()
to call when the build-method of the builder is called. - classAnnotationsToCopy(TypeElement) - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the complete list of annotations defined on the
classToCopyFrom
that should be added to any generated subclass. - com.google.auto.value - package com.google.auto.value
- com.google.auto.value.extension - package com.google.auto.value.extension
- com.google.auto.value.extension.memoized - package com.google.auto.value.extension.memoized
- com.google.auto.value.extension.memoized.processor - package com.google.auto.value.extension.memoized.processor
- com.google.auto.value.extension.serializable - package com.google.auto.value.extension.serializable
- com.google.auto.value.extension.serializable.processor - package com.google.auto.value.extension.serializable.processor
- com.google.auto.value.extension.serializable.serializer - package com.google.auto.value.extension.serializable.serializer
- com.google.auto.value.extension.serializable.serializer.impl - package com.google.auto.value.extension.serializable.serializer.impl
- com.google.auto.value.extension.serializable.serializer.interfaces - package com.google.auto.value.extension.serializable.serializer.interfaces
- com.google.auto.value.extension.serializable.serializer.runtime - package com.google.auto.value.extension.serializable.serializer.runtime
- com.google.auto.value.extension.toprettystring - package com.google.auto.value.extension.toprettystring
- com.google.auto.value.extension.toprettystring.processor - package com.google.auto.value.extension.toprettystring.processor
- com.google.auto.value.processor - package com.google.auto.value.processor
-
This package contains the annotation processor that implements the
AutoValue
API. - consumeBuilderMethods(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Returns a possibly empty set of abstract methods that this Extension intends to implement.
- consumeMethods(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Returns a possibly empty set of abstract methods that this Extension intends to implement.
- consumeMethods(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.toprettystring.processor.ToPrettyStringExtension
- consumeProperties(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Returns a possibly empty set of property names that this Extension intends to implement.
E
- exclude() - Method in annotation type com.google.auto.value.AutoValue.CopyAnnotations
F
- finalAutoValueClassName() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
The fully-qualified name of the last class in the
AutoValue
hierarchy. - fromProxy(CodeBlock) - Method in interface com.google.auto.value.extension.serializable.serializer.interfaces.Serializer
-
Creates an expression that converts the proxy type back to the original type.
- FunctionWithExceptions - Class in com.google.auto.value.extension.serializable.serializer.runtime
-
A utility for lambdas that throw exceptions.
- FunctionWithExceptions.FunctionWithException<I,O> - Interface in com.google.auto.value.extension.serializable.serializer.runtime
-
A function that can throw an exception.
G
- generateClass(AutoValueExtension.Context, String, String, boolean) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Returns the generated source code of the class named
className
to extendclassToExtend
, ornull
if this extension does not generate a class in the hierarchy. - generateClass(AutoValueExtension.Context, String, String, boolean) - Method in class com.google.auto.value.extension.memoized.processor.MemoizeExtension
- generateClass(AutoValueExtension.Context, String, String, boolean) - Method in class com.google.auto.value.extension.serializable.processor.SerializableAutoValueExtension
- generateClass(AutoValueExtension.Context, String, String, boolean) - Method in class com.google.auto.value.extension.toprettystring.processor.ToPrettyStringExtension
- getAccess() - Method in class com.google.auto.value.processor.SimpleMethod
- getAnyMissing() - Method in class com.google.auto.value.processor.BuilderRequiredProperties
-
Returns an expression that is true if any required properties have not been set.
- getComponentType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getDefaultedBitmaskParameters() - Method in class com.google.auto.value.processor.BuilderRequiredProperties
-
Returns additional constructor parameters to indicate what properties have been defaulted, or an empty string if there are none.
- getDefaultValue() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getEmpty() - Method in class com.google.auto.value.processor.Optionalish
-
Returns a string representing the method call to obtain the empty version of this Optional.
- getFactory(ProcessingEnvironment) - Static method in class com.google.auto.value.extension.serializable.serializer.SerializerFactoryLoader
- getFieldDeclarations() - Method in class com.google.auto.value.processor.BuilderRequiredProperties
-
Returns code to declare any fields needed to track which properties have been set.
- getInitToAllSet() - Method in class com.google.auto.value.processor.BuilderRequiredProperties
-
Returns code to indicate that all tracked properties have received a value.
- getKind() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getKind() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Parameter
- getName() - Method in class com.google.auto.value.processor.SimpleMethod
- getNameHash() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getRawType() - Method in class com.google.auto.value.processor.Optionalish
-
Returns a string representing the raw type of this Optional.
- getRequiredProperties() - Method in class com.google.auto.value.processor.BuilderRequiredProperties
- getSerializer(TypeMirror) - Static method in class com.google.auto.value.extension.serializable.serializer.impl.IdentitySerializerFactory
-
Returns a
Serializer
that leaves the type as is. - getSerializer(TypeMirror) - Method in class com.google.auto.value.extension.serializable.serializer.impl.SerializerFactoryImpl
- getSerializer(TypeMirror) - Method in interface com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory
-
Returns a
Serializer
for the givenTypeMirror
. - getSerializer(TypeMirror, SerializerFactory, ProcessingEnvironment) - Method in class com.google.auto.value.extension.serializable.serializer.impl.ImmutableListSerializerExtension
- getSerializer(TypeMirror, SerializerFactory, ProcessingEnvironment) - Method in class com.google.auto.value.extension.serializable.serializer.impl.ImmutableMapSerializerExtension
- getSerializer(TypeMirror, SerializerFactory, ProcessingEnvironment) - Method in class com.google.auto.value.extension.serializable.serializer.impl.OptionalSerializerExtension
-
Creates a
Serializer
that supportsOptional
types. - getSerializer(TypeMirror, SerializerFactory, ProcessingEnvironment) - Method in interface com.google.auto.value.extension.serializable.serializer.interfaces.SerializerExtension
- getSupportedOptions() - Method in class com.google.auto.value.extension.AutoValueExtension
-
Analogous to
Processor.getSupportedOptions()
, here to allow extensions to report their own. - getSupportedOptions() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
- getSupportedOptions() - Method in class com.google.auto.value.processor.AutoBuilderProcessor
- getSupportedOptions() - Method in class com.google.auto.value.processor.AutoOneOfProcessor
- getSupportedOptions() - Method in class com.google.auto.value.processor.AutoValueProcessor
- getSupportedSourceVersion() - Method in class com.google.auto.value.extension.memoized.processor.MemoizedValidator
- getSupportedSourceVersion() - Method in class com.google.auto.value.extension.toprettystring.processor.ToPrettyStringValidator
- getSupportedSourceVersion() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
- getSupportedSourceVersion() - Method in class com.google.auto.value.processor.AutoValueBuilderProcessor
- getThrows() - Method in class com.google.auto.value.processor.SimpleMethod
- getType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Parameter
- getTypeMirror() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
I
- IdentitySerializerFactory - Class in com.google.auto.value.extension.serializable.serializer.impl
-
Creates identity
Serializer
instances. - ImmutableListSerializerExtension - Class in com.google.auto.value.extension.serializable.serializer.impl
-
A
SerializerExtension
that deserializes objects inside anImmutableList
. - ImmutableListSerializerExtension() - Constructor for class com.google.auto.value.extension.serializable.serializer.impl.ImmutableListSerializerExtension
- ImmutableMapSerializerExtension - Class in com.google.auto.value.extension.serializable.serializer.impl
-
A
SerializerExtension
that deserializes objects inside anImmutableMap
. - ImmutableMapSerializerExtension() - Constructor for class com.google.auto.value.extension.serializable.serializer.impl.ImmutableMapSerializerExtension
- incrementalType(ProcessingEnvironment) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Determines the incremental type of this Extension.
- incrementalType(ProcessingEnvironment) - Method in class com.google.auto.value.extension.memoized.processor.MemoizeExtension
- incrementalType(ProcessingEnvironment) - Method in class com.google.auto.value.extension.serializable.processor.SerializableAutoValueExtension
- incrementalType(ProcessingEnvironment) - Method in class com.google.auto.value.extension.toprettystring.processor.ToPrettyStringExtension
- init(ProcessingEnvironment) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
- init(ProcessingEnvironment) - Method in class com.google.auto.value.processor.AutoBuilderProcessor
- init(ProcessingEnvironment) - Method in class com.google.auto.value.processor.AutoValueProcessor
- isArrayOfClassWithBounds() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- isIdentity() - Method in interface com.google.auto.value.extension.serializable.serializer.interfaces.Serializer
-
Returns true if this is an identity
Serializer
. - ISOLATING - com.google.auto.value.extension.AutoValueExtension.IncrementalExtensionType
-
This extension is isolating, meaning roughly that its output depends on the
@AutoValue
class and its dependencies, but not on other@AutoValue
classes that might be compiled at the same time.
L
- load(Class<? extends T>, ClassLoader) - Static method in class com.google.auto.value.processor.SimpleServiceLoader
- load(Class<? extends T>, ClassLoader, Optional<Pattern>) - Static method in class com.google.auto.value.processor.SimpleServiceLoader
M
- markAsSet(AutoValueishProcessor.Property) - Method in class com.google.auto.value.processor.BuilderRequiredProperties
-
Returns code to indicate that the given property has been set, if assigning to the property field is not enough.
- Memoized - Annotation Type in com.google.auto.value.extension.memoized
-
Annotates methods in
@AutoValue
classes for which the generated subclass will memoize the returned value. - MemoizedValidator - Class in com.google.auto.value.extension.memoized.processor
-
An annotation
Processor
that reports errors for@Memoized
methods that are not insideAutoValue
-annotated classes. - MemoizedValidator() - Constructor for class com.google.auto.value.extension.memoized.processor.MemoizedValidator
- MemoizeExtension - Class in com.google.auto.value.extension.memoized.processor
-
An extension that implements the
Memoized
contract. - MemoizeExtension() - Constructor for class com.google.auto.value.extension.memoized.processor.MemoizeExtension
- methodAnnotationsToCopy(ExecutableElement) - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the complete list of annotations defined on the
method
that should be applied to any override of that method. - missingRequiredProperty(AutoValueishProcessor.Property) - Method in class com.google.auto.value.processor.BuilderRequiredProperties
-
Returns an expression that is true if the given property is required but has not been set.
- mustBeFinal(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Denotes that the class generated by this Extension must be the final class in the inheritance hierarchy.
N
- newIdentifier(String) - Method in class com.google.auto.value.extension.serializable.serializer.impl.SerializerFactoryImpl
- newIdentifier(String) - Method in interface com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory
-
Returns an identifier beginning with the given prefix and that is distinct from any identifier returned by another call to this method.
- noValueToGet(AutoValueishProcessor.Property) - Method in class com.google.auto.value.processor.BuilderRequiredProperties
-
Returns an expression that is true if the given property has not been given a value.
O
- ofClass() - Method in annotation type com.google.auto.value.AutoBuilder
-
The class or interface containing the constructor or static method that the generated builder will eventually call.
- Optionalish - Class in com.google.auto.value.processor
-
A wrapper for properties of Optional-like classes.
- OptionalSerializerExtension - Class in com.google.auto.value.extension.serializable.serializer.impl
-
A
SerializerExtension
that enablesOptional
types to be serialized. - OptionalSerializerExtension() - Constructor for class com.google.auto.value.extension.serializable.serializer.impl.OptionalSerializerExtension
P
- packageName() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the package name of the classes to be generated.
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.value.extension.memoized.processor.MemoizedValidator
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.value.extension.toprettystring.processor.ToPrettyStringValidator
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.value.processor.AutoValueBuilderProcessor
- processingEnvironment() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the processing environment of this generation cycle.
- properties() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the ordered collection of properties to be generated by AutoValue.
- propertyBuilders() - Method in interface com.google.auto.value.extension.AutoValueExtension.BuilderContext
-
Returns a map from property names to property builders.
- propertyTypes() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the properties to be generated by AutoValue, with their types.
- proxyFieldType() - Method in interface com.google.auto.value.extension.serializable.serializer.interfaces.Serializer
-
The proxy type the original unserializable type will be mapped to.
S
- SerializableAutoValue - Annotation Type in com.google.auto.value.extension.serializable
-
Annotates
@AutoValue
classes that implementSerializable
. - SerializableAutoValueExtension - Class in com.google.auto.value.extension.serializable.processor
-
An AutoValue extension that enables classes with unserializable fields to be serializable.
- SerializableAutoValueExtension() - Constructor for class com.google.auto.value.extension.serializable.processor.SerializableAutoValueExtension
- Serializer - Interface in com.google.auto.value.extension.serializable.serializer.interfaces
-
A Serializer, at compile time, generates code to map an unserializable type to a serializable type.
- SerializerExtension - Interface in com.google.auto.value.extension.serializable.serializer.interfaces
-
A SerializerExtension allows unserializable types to be serialized by SerializableAutoValue.
- SerializerFactory - Interface in com.google.auto.value.extension.serializable.serializer.interfaces
-
A factory that returns a
Serializer
for any givenTypeMirror
. - SerializerFactoryImpl - Class in com.google.auto.value.extension.serializable.serializer.impl
-
A concrete implementation of
SerializerFactory
. - SerializerFactoryImpl(ImmutableList<SerializerExtension>, ProcessingEnvironment) - Constructor for class com.google.auto.value.extension.serializable.serializer.impl.SerializerFactoryImpl
- SerializerFactoryLoader - Class in com.google.auto.value.extension.serializable.serializer
-
Builds a
SerializerFactory
populated with discoveredSerializerExtension
instances. - setters() - Method in interface com.google.auto.value.extension.AutoValueExtension.BuilderContext
-
Returns a map from property names to the corresponding setters.
- SimpleMethod - Class in com.google.auto.value.processor
-
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. - SimpleServiceLoader - Class in com.google.auto.value.processor
-
A replacement for
ServiceLoader
that avoids certain long-standing bugs.
T
- toBuilderMethods() - Method in interface com.google.auto.value.extension.AutoValueExtension.BuilderContext
-
Returns abstract no-argument methods in the
@AutoValue
class that return the builder type. - ToPrettyString - Annotation Type in com.google.auto.value.extension.toprettystring
-
Annotates instance methods that return an easy-to-read
String
representing the instance. - ToPrettyStringExtension - Class in com.google.auto.value.extension.toprettystring.processor
-
Generates implementations of
ToPrettyString
annotated methods inAutoValue
types. - ToPrettyStringExtension() - Constructor for class com.google.auto.value.extension.toprettystring.processor.ToPrettyStringExtension
- ToPrettyStringValidator - Class in com.google.auto.value.extension.toprettystring.processor
-
An annotation processor that validates
ToPrettyString
usage. - ToPrettyStringValidator() - Constructor for class com.google.auto.value.extension.toprettystring.processor.ToPrettyStringValidator
- toProxy(CodeBlock) - Method in interface com.google.auto.value.extension.serializable.serializer.interfaces.Serializer
-
Creates an expression that converts the original type to the proxy type.
- toString() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
U
- UNKNOWN - com.google.auto.value.extension.AutoValueExtension.IncrementalExtensionType
-
The incrementality of this extension is unknown, or it is neither aggregating nor isolating.
V
- value() - Method in annotation type com.google.auto.value.AutoOneOf
-
Specifies an enum that has one entry per variant in the one-of.
- valueOf(String) - Static method in enum com.google.auto.value.extension.AutoValueExtension.IncrementalExtensionType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.auto.value.extension.AutoValueExtension.IncrementalExtensionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wrapper(FunctionWithExceptions.FunctionWithException<I, O>) - Static method in class com.google.auto.value.extension.serializable.serializer.runtime.FunctionWithExceptions
-
Creates a wrapper for lambdas that converts checked exceptions to runtime exceptions.
All Classes All Packages