@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class JavaAnnotationProcessorDescriptionArg extends Object
JavaAnnotationProcessorDescription.AbstractJavaAnnotationProcessorDescriptionArg
.
Use the builder to create immutable instances:
JavaAnnotationProcessorDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
JavaAnnotationProcessorDescriptionArg.Builder
Builds instances of type
JavaAnnotationProcessorDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static JavaAnnotationProcessorDescriptionArg.Builder |
builder()
Creates a builder for
JavaAnnotationProcessorDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
JavaAnnotationProcessorDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
Optional<UnconfiguredBuildTarget> |
getDefaultTargetPlatform()
The name of build target default "new" platform: it is used when a platform is not specified
either globally or in a target which used this target as a dependency.
|
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getDeps() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
Optional<String> |
getProcessorClass() |
com.google.common.collect.ImmutableSet<String> |
getProcessorClasses() |
int |
hashCode()
Computes a hash code from attributes:
processorClass , processorClasses , isolateClassLoader , doesNotAffectAbi , supportsAbiGenerationFromSource , licenses , labels , defaultTargetPlatform , compatibleWith , name , deps . |
boolean |
isDoesNotAffectAbi()
A value of false indicates that the plugin either generates classes that are intended for use
outside of the code being processed or modifies bytecode in a way that modifies ABI.
|
boolean |
isIsolateClassLoader()
A value of false indicates that the plugin will not use a shared class loader to be loaded.
|
boolean |
isSupportsAbiGenerationFromSource()
If true, allows ABI-affecting plugins to run during ABI generation from source.
|
String |
toString()
Prints the immutable value
JavaAnnotationProcessorDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public Optional<String> getProcessorClass()
processorClass
attributepublic com.google.common.collect.ImmutableSet<String> getProcessorClasses()
processorClasses
attributepublic boolean isIsolateClassLoader()
Defaults to false because that's the "safe" value and optimizes build time.
public boolean isDoesNotAffectAbi()
Defaults to false because that's the "safe" value. When migrating to ABI generation from source, having as few ABI-affecting plugins as possible will yield the fastest ABI generation.
public boolean isSupportsAbiGenerationFromSource()
public com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses
attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels
attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.
public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
config_setting
a target is compatible with.public String getName()
public com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic boolean equals(@Nullable Object another)
JavaAnnotationProcessorDescriptionArg
that have equal attribute values.public int hashCode()
processorClass
, processorClasses
, isolateClassLoader
, doesNotAffectAbi
, supportsAbiGenerationFromSource
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
, deps
.public String toString()
JavaAnnotationProcessorDescriptionArg
with attribute values.public static JavaAnnotationProcessorDescriptionArg.Builder builder()
JavaAnnotationProcessorDescriptionArg
.