public static enum AutoValueExtension.IncrementalExtensionType extends java.lang.Enum<AutoValueExtension.IncrementalExtensionType>
The constants for this enum are ordered by increasing performance (but also constraints).
| Enum Constant and Description |
|---|
AGGREGATING
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.
|
ISOLATING
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. |
UNKNOWN
The incrementality of this extension is unknown, or it is neither aggregating nor isolating.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoValueExtension.IncrementalExtensionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutoValueExtension.IncrementalExtensionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoValueExtension.IncrementalExtensionType UNKNOWN
public static final AutoValueExtension.IncrementalExtensionType AGGREGATING
public static final AutoValueExtension.IncrementalExtensionType ISOLATING
@AutoValue class and its dependencies, but not on other @AutoValue classes
that might be compiled at the same time. The constraints that an isolating extension must
respect are the same as those that Gradle imposes on an isolating annotation processor.public static AutoValueExtension.IncrementalExtensionType[] values()
for (AutoValueExtension.IncrementalExtensionType c : AutoValueExtension.IncrementalExtensionType.values()) System.out.println(c);
public static AutoValueExtension.IncrementalExtensionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2019 Google, Inc.. All Rights Reserved.