@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class AndroidLibraryDescriptionArg extends Object
AndroidLibraryDescription.AbstractAndroidLibraryDescriptionArg
.
Use the builder to create immutable instances:
AndroidLibraryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
AndroidLibraryDescriptionArg.Builder
Builds instances of type
AndroidLibraryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static AndroidLibraryDescriptionArg.Builder |
builder()
Creates a builder for
AndroidLibraryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
AndroidLibraryDescriptionArg that have equal attribute values. |
Optional<AbiGenerationMode> |
getAbiGenerationMode() |
boolean |
getAllWarningsAsErrors()
Report an error if there are any warnings.
|
Optional<KotlinLibraryDescription.AnnotationProcessingTool> |
getAnnotationProcessingTool() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getAnnotationProcessorDeps() |
Optional<Boolean> |
getAnnotationProcessorOnly() |
com.google.common.collect.ImmutableList<String> |
getAnnotationProcessorParams() |
com.google.common.collect.ImmutableSet<String> |
getAnnotationProcessors() |
Optional<String> |
getApiVersion()
Allow to use declarations only from the specified version of bundled libraries.
|
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
Optional<CompileAgainstLibraryType> |
getCompileAgainst() |
Optional<Either<BuiltInJavac,SourcePath>> |
getCompiler() |
Optional<String> |
getCompilerClassName() |
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<Query> |
getDepsQuery() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedDeps() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedProvidedDeps() |
com.google.common.collect.ImmutableList<String> |
getExtraArguments() |
Optional<String> |
getFinalRName() |
com.google.common.collect.ImmutableList<String> |
getFreeCompilerArgs()
A list of additional compiler arguments.
|
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getFriendPaths() |
boolean |
getIncludeRuntime()
Include Kotlin runtime in to resulting .jar
|
Optional<SourcePath> |
getJavac() |
Optional<SourcePath> |
getJavacJar() |
boolean |
getJavaParameters()
Generate metadata for Java 1.8 reflection on method parameters.
|
com.google.common.collect.ImmutableList<String> |
getJavaPluginParams() |
Optional<String> |
getJavaVersion() |
Optional<String> |
getJdkHome()
Path to JDK home directory to include into classpath, if differs from default JAVA_HOME
|
String |
getJvmTarget()
Target version of the generated JVM bytecode (1.6 or 1.8), default is 1.6
Possible values: "1.6", "1.8"
|
com.google.common.collect.ImmutableMap<String,String> |
getKaptApOptions() |
com.google.common.collect.ImmutableList<SourcePath> |
getKotlincPlugins() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
Optional<AndroidLibraryDescription.JvmLanguage> |
getLanguage() |
Optional<String> |
getLanguageVersion()
Provide source compatibility with specified language version.
|
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<SourcePath> |
getManifest() |
Optional<SourcePath> |
getManifestFile() |
Optional<String> |
getMavenCoords() |
Optional<SourcePath> |
getMavenPomTemplate() |
String |
getName()
Each rule has a name
|
Optional<Boolean> |
getNeverMarkAsUnusedDependency() |
boolean |
getNoJdk()
Don't include Java runtime into classpath.
|
boolean |
getNoReflect()
Don't include kotlin-reflect.jar into classpath.
|
boolean |
getNoStdlib()
Don't include kotlin-stdlib.jar or kotlin-reflect.jar into classpath.
|
Optional<JavaBuckConfig.UnusedDependenciesAction> |
getOnUnusedDependencies() |
com.google.common.collect.ImmutableList<BuildTarget> |
getPlugins() |
com.google.common.collect.ImmutableList<String> |
getPostprocessClassesCommands() |
Optional<SourcePath> |
getProguardConfig() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getProvidedDeps() |
Optional<Query> |
getProvidedDepsQuery() |
com.google.common.collect.ImmutableSet<Pattern> |
getRemoveClasses() |
boolean |
getRequiredForSourceOnlyAbi() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getResources() |
Optional<Path> |
getResourcesRoot() |
Optional<String> |
getResourceUnionPackage() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getRuntimeDeps() |
Optional<String> |
getSource() |
Optional<JavaBuckConfig.SourceAbiVerificationMode> |
getSourceAbiVerificationMode() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getSourceOnlyAbiDeps() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSrcs() |
boolean |
getSuppressWarnings()
Generate no warnings.
|
Optional<String> |
getTarget() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
Optional<SourcePath> |
getUnbundledResourcesRoot() |
boolean |
getVerbose()
Enable verbose logging output.
|
int |
hashCode()
Computes a hash code from attributes:
manifest , resourceUnionPackage , skipNonUnionRDotJava , finalRName , resources , proguardConfig , postprocessClassesCommands , resourcesRoot , unbundledResourcesRoot , manifestFile , mavenCoords , mavenPomTemplate , exportedDeps , sourceOnlyAbiDeps , runtimeDeps , source , target , javaVersion , javac , javacJar , compilerClassName , compiler , extraArguments , removeClasses , annotationProcessorDeps , annotationProcessorParams , javaPluginParams , annotationProcessors , annotationProcessorOnly , plugins , abiGenerationMode , compileAgainst , sourceAbiVerificationMode , onUnusedDependencies , neverMarkAsUnusedDependency , licenses , labels , defaultTargetPlatform , compatibleWith , name , requiredForSourceOnlyAbi , deps , providedDeps , exportedProvidedDeps , srcs , tests , language , freeCompilerArgs , allWarningsAsErrors , suppressWarnings , verbose , includeRuntime , jvmTarget , jdkHome , noJdk , noStdlib , noReflect , javaParameters , apiVersion , languageVersion , annotationProcessingTool , friendPaths , kaptApOptions , kotlincPlugins , depsQuery , providedDepsQuery . |
boolean |
isSkipNonUnionRDotJava() |
String |
toString()
Prints the immutable value
AndroidLibraryDescriptionArg with attribute values. |
default AndroidLibraryDescriptionArg |
withDepsQuery(Query query) |
default AndroidLibraryDescriptionArg |
withProvidedDepsQuery(Query query) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addLegacyProcessors, addPlugins, buildJavaAnnotationProcessorParams, buildStandardJavacParams, getJavacSpec, getPluginsOf, hasJavacSpec, isValidJavacJar, verify
labelsContainsAnyOf
public Optional<SourcePath> getManifest()
manifest
attributepublic Optional<String> getResourceUnionPackage()
resourceUnionPackage
attributepublic boolean isSkipNonUnionRDotJava()
skipNonUnionRDotJava
attributepublic Optional<String> getFinalRName()
finalRName
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getResources()
resources
attributepublic Optional<SourcePath> getProguardConfig()
proguardConfig
attributepublic com.google.common.collect.ImmutableList<String> getPostprocessClassesCommands()
postprocessClassesCommands
attributepublic Optional<Path> getResourcesRoot()
resourcesRoot
attributepublic Optional<SourcePath> getUnbundledResourcesRoot()
unbundledResourcesRoot
attributepublic Optional<SourcePath> getManifestFile()
manifestFile
attributepublic Optional<String> getMavenCoords()
mavenCoords
attributepublic Optional<SourcePath> getMavenPomTemplate()
mavenPomTemplate
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedDeps()
exportedDeps
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getSourceOnlyAbiDeps()
sourceOnlyAbiDeps
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getRuntimeDeps()
runtimeDeps
attributepublic Optional<String> getJavaVersion()
javaVersion
attributepublic Optional<SourcePath> getJavac()
javac
attributepublic Optional<SourcePath> getJavacJar()
javacJar
attributepublic Optional<String> getCompilerClassName()
compilerClassName
attributepublic Optional<Either<BuiltInJavac,SourcePath>> getCompiler()
compiler
attributepublic com.google.common.collect.ImmutableList<String> getExtraArguments()
extraArguments
attributepublic com.google.common.collect.ImmutableSet<Pattern> getRemoveClasses()
removeClasses
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getAnnotationProcessorDeps()
annotationProcessorDeps
attributepublic com.google.common.collect.ImmutableList<String> getAnnotationProcessorParams()
annotationProcessorParams
attributepublic com.google.common.collect.ImmutableList<String> getJavaPluginParams()
javaPluginParams
attributepublic com.google.common.collect.ImmutableSet<String> getAnnotationProcessors()
annotationProcessors
attributepublic Optional<Boolean> getAnnotationProcessorOnly()
annotationProcessorOnly
attributepublic com.google.common.collect.ImmutableList<BuildTarget> getPlugins()
plugins
attributepublic Optional<AbiGenerationMode> getAbiGenerationMode()
abiGenerationMode
attributepublic Optional<CompileAgainstLibraryType> getCompileAgainst()
compileAgainst
attributepublic Optional<JavaBuckConfig.SourceAbiVerificationMode> getSourceAbiVerificationMode()
sourceAbiVerificationMode
attributepublic Optional<JavaBuckConfig.UnusedDependenciesAction> getOnUnusedDependencies()
onUnusedDependencies
attributepublic Optional<Boolean> getNeverMarkAsUnusedDependency()
neverMarkAsUnusedDependency
attributepublic 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 boolean getRequiredForSourceOnlyAbi()
requiredForSourceOnlyAbi
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getProvidedDeps()
providedDeps
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedProvidedDeps()
exportedProvidedDeps
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getSrcs()
srcs
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
public Optional<AndroidLibraryDescription.JvmLanguage> getLanguage()
language
attributepublic com.google.common.collect.ImmutableList<String> getFreeCompilerArgs()
public boolean getAllWarningsAsErrors()
public boolean getSuppressWarnings()
public boolean getVerbose()
public boolean getIncludeRuntime()
public String getJvmTarget()
public Optional<String> getJdkHome()
public boolean getNoJdk()
public boolean getNoStdlib()
public boolean getNoReflect()
public boolean getJavaParameters()
public Optional<String> getApiVersion()
public Optional<String> getLanguageVersion()
public Optional<KotlinLibraryDescription.AnnotationProcessingTool> getAnnotationProcessingTool()
annotationProcessingTool
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getFriendPaths()
friendPaths
attributepublic com.google.common.collect.ImmutableMap<String,String> getKaptApOptions()
kaptApOptions
attributepublic com.google.common.collect.ImmutableList<SourcePath> getKotlincPlugins()
kotlincPlugins
attributepublic Optional<Query> getProvidedDepsQuery()
providedDepsQuery
attributepublic boolean equals(@Nullable Object another)
AndroidLibraryDescriptionArg
that have equal attribute values.public int hashCode()
manifest
, resourceUnionPackage
, skipNonUnionRDotJava
, finalRName
, resources
, proguardConfig
, postprocessClassesCommands
, resourcesRoot
, unbundledResourcesRoot
, manifestFile
, mavenCoords
, mavenPomTemplate
, exportedDeps
, sourceOnlyAbiDeps
, runtimeDeps
, source
, target
, javaVersion
, javac
, javacJar
, compilerClassName
, compiler
, extraArguments
, removeClasses
, annotationProcessorDeps
, annotationProcessorParams
, javaPluginParams
, annotationProcessors
, annotationProcessorOnly
, plugins
, abiGenerationMode
, compileAgainst
, sourceAbiVerificationMode
, onUnusedDependencies
, neverMarkAsUnusedDependency
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
, requiredForSourceOnlyAbi
, deps
, providedDeps
, exportedProvidedDeps
, srcs
, tests
, language
, freeCompilerArgs
, allWarningsAsErrors
, suppressWarnings
, verbose
, includeRuntime
, jvmTarget
, jdkHome
, noJdk
, noStdlib
, noReflect
, javaParameters
, apiVersion
, languageVersion
, annotationProcessingTool
, friendPaths
, kaptApOptions
, kotlincPlugins
, depsQuery
, providedDepsQuery
.public String toString()
AndroidLibraryDescriptionArg
with attribute values.public static AndroidLibraryDescriptionArg.Builder builder()
AndroidLibraryDescriptionArg
.public AndroidLibraryDescriptionArg withDepsQuery(Query query)
withDepsQuery
in interface HasDepsQuery
public AndroidLibraryDescriptionArg withProvidedDepsQuery(Query query)
withProvidedDepsQuery
in interface HasProvidedDepsQuery