@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class AndroidPrebuiltAarDescriptionArg extends Object
AndroidPrebuiltAarDescription.AbstractAndroidPrebuiltAarDescriptionArg.
Use the builder to create immutable instances:
AndroidPrebuiltAarDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidPrebuiltAarDescriptionArg.Builder
Builds instances of type
AndroidPrebuiltAarDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static AndroidPrebuiltAarDescriptionArg.Builder |
builder()
Creates a builder for
AndroidPrebuiltAarDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
AndroidPrebuiltAarDescriptionArg that have equal attribute values. |
SourcePath |
getAar() |
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() |
Optional<String> |
getJavadocUrl() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<String> |
getMavenCoords() |
String |
getName()
Each rule has a name
|
boolean |
getRequiredForSourceOnlyAbi() |
Optional<SourcePath> |
getSourceJar() |
int |
hashCode()
Computes a hash code from attributes:
aar, sourceJar, javadocUrl, mavenCoords, requiredForSourceOnlyAbi, useSystemLibraryLoader, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps. |
boolean |
isUseSystemLibraryLoader()
If an AAR bundles a native .so as well as java code that uses System.loadLibrary() to
dynamically link this so, then we need to disable some optimizations for these libraries,
namely native exopackage code, SoMerge, and ReLinker
|
String |
toString()
Prints the immutable value
AndroidPrebuiltAarDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic SourcePath getAar()
aar attributepublic Optional<SourcePath> getSourceJar()
sourceJar attributepublic Optional<String> getJavadocUrl()
javadocUrl attributepublic Optional<String> getMavenCoords()
mavenCoords attributepublic boolean getRequiredForSourceOnlyAbi()
requiredForSourceOnlyAbi attributepublic boolean isUseSystemLibraryLoader()
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)
AndroidPrebuiltAarDescriptionArg that have equal attribute values.public int hashCode()
aar, sourceJar, javadocUrl, mavenCoords, requiredForSourceOnlyAbi, useSystemLibraryLoader, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps.public String toString()
AndroidPrebuiltAarDescriptionArg with attribute values.public static AndroidPrebuiltAarDescriptionArg.Builder builder()
AndroidPrebuiltAarDescriptionArg.