public abstract class ConfiguredCompilerFactory extends Object
Constructor and Description |
---|
ConfiguredCompilerFactory() |
public abstract CompileToJarStepFactory configure(@Nullable JvmLibraryArg args, JavacOptions javacOptions, ActionGraphBuilder actionGraphBuilder, BuildRuleResolver buildRuleResolver, TargetConfiguration targetConfiguration, ToolchainProvider toolchainProvider)
public abstract Optional<ExtraClasspathProvider> getExtraClasspathProvider(ToolchainProvider toolchainProvider, TargetConfiguration toolchainTargetConfiguration)
public boolean trackClassUsage(JavacOptions javacOptions)
public boolean shouldDesugarInterfaceMethods()
public boolean shouldCompileAgainstAbis()
public AbiGenerationMode getAbiGenerationMode()
public boolean shouldGenerateSourceAbi()
public boolean shouldGenerateSourceOnlyAbi()
public boolean shouldMigrateToSourceOnlyAbi()
public boolean sourceAbiCopiesFromLibraryTargetOutput()
public void addTargetDeps(TargetConfiguration targetConfiguration, com.google.common.collect.ImmutableCollection.Builder<BuildTarget> extraDepsBuilder, com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder)
public void getNonProvidedClasspathDeps(TargetConfiguration targetConfiguration, java.util.function.Consumer<BuildTarget> depsConsumer)