@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class KotlinLibraryDescriptionArg extends Object
KotlinLibraryDescription.AbstractKotlinLibraryDescriptionArg
.
Use the builder to create immutable instances:
KotlinLibraryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
KotlinLibraryDescriptionArg.Builder
Builds instances of type
KotlinLibraryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static KotlinLibraryDescriptionArg.Builder |
builder()
Creates a builder for
KotlinLibraryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
KotlinLibraryDescriptionArg 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() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedDeps() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedProvidedDeps() |
com.google.common.collect.ImmutableList<String> |
getExtraArguments() |
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<String> |
getLanguageVersion()
Provide source compatibility with specified language version.
|
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
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() |
com.google.common.collect.ImmutableSet<Pattern> |
getRemoveClasses() |
boolean |
getRequiredForSourceOnlyAbi() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getResources() |
Optional<Path> |
getResourcesRoot() |
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:
freeCompilerArgs , allWarningsAsErrors , suppressWarnings , verbose , includeRuntime , jvmTarget , jdkHome , noJdk , noStdlib , noReflect , javaParameters , apiVersion , languageVersion , annotationProcessingTool , friendPaths , kaptApOptions , kotlincPlugins , 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 . |
String |
toString()
Prints the immutable value
KotlinLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addLegacyProcessors, addPlugins, buildJavaAnnotationProcessorParams, buildStandardJavacParams, getJavacSpec, getPluginsOf, hasJavacSpec, isValidJavacJar, verify
labelsContainsAnyOf
public 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 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 boolean equals(@Nullable Object another)
KotlinLibraryDescriptionArg
that have equal attribute values.public int hashCode()
freeCompilerArgs
, allWarningsAsErrors
, suppressWarnings
, verbose
, includeRuntime
, jvmTarget
, jdkHome
, noJdk
, noStdlib
, noReflect
, javaParameters
, apiVersion
, languageVersion
, annotationProcessingTool
, friendPaths
, kaptApOptions
, kotlincPlugins
, 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
.public String toString()
KotlinLibraryDescriptionArg
with attribute values.public static KotlinLibraryDescriptionArg.Builder builder()
KotlinLibraryDescriptionArg
.