public class JavaConfiguredCompilerFactory extends ConfiguredCompilerFactory
Constructor and Description |
---|
JavaConfiguredCompilerFactory(JavaBuckConfig javaBuckConfig,
java.util.function.BiFunction<ToolchainProvider,TargetConfiguration,ExtraClasspathProvider> extraClasspathProviderSupplier,
JavacFactory javacFactory) |
JavaConfiguredCompilerFactory(JavaBuckConfig javaBuckConfig,
JavacFactory javacFactory) |
Modifier and Type | Method and Description |
---|---|
CompileToJarStepFactory |
configure(JvmLibraryArg arg,
JavacOptions javacOptions,
ActionGraphBuilder actionGraphBuilder,
BuildRuleResolver buildRuleResolver,
TargetConfiguration targetConfiguration,
ToolchainProvider toolchainProvider) |
AbiGenerationMode |
getAbiGenerationMode() |
Optional<ExtraClasspathProvider> |
getExtraClasspathProvider(ToolchainProvider toolchainProvider,
TargetConfiguration toolchainTargetConfiguration) |
boolean |
shouldCompileAgainstAbis() |
boolean |
shouldDesugarInterfaceMethods() |
boolean |
shouldGenerateSourceAbi() |
boolean |
shouldGenerateSourceOnlyAbi() |
boolean |
shouldMigrateToSourceOnlyAbi() |
boolean |
trackClassUsage(JavacOptions javacOptions) |
addTargetDeps, getNonProvidedClasspathDeps, sourceAbiCopiesFromLibraryTargetOutput
public JavaConfiguredCompilerFactory(JavaBuckConfig javaBuckConfig, JavacFactory javacFactory)
public JavaConfiguredCompilerFactory(JavaBuckConfig javaBuckConfig, java.util.function.BiFunction<ToolchainProvider,TargetConfiguration,ExtraClasspathProvider> extraClasspathProviderSupplier, JavacFactory javacFactory)
public boolean trackClassUsage(JavacOptions javacOptions)
trackClassUsage
in class ConfiguredCompilerFactory
public boolean shouldDesugarInterfaceMethods()
shouldDesugarInterfaceMethods
in class ConfiguredCompilerFactory
public boolean shouldCompileAgainstAbis()
shouldCompileAgainstAbis
in class ConfiguredCompilerFactory
public AbiGenerationMode getAbiGenerationMode()
getAbiGenerationMode
in class ConfiguredCompilerFactory
public boolean shouldGenerateSourceAbi()
shouldGenerateSourceAbi
in class ConfiguredCompilerFactory
public boolean shouldMigrateToSourceOnlyAbi()
shouldMigrateToSourceOnlyAbi
in class ConfiguredCompilerFactory
public boolean shouldGenerateSourceOnlyAbi()
shouldGenerateSourceOnlyAbi
in class ConfiguredCompilerFactory
public CompileToJarStepFactory configure(@Nullable JvmLibraryArg arg, JavacOptions javacOptions, ActionGraphBuilder actionGraphBuilder, BuildRuleResolver buildRuleResolver, TargetConfiguration targetConfiguration, ToolchainProvider toolchainProvider)
configure
in class ConfiguredCompilerFactory
public Optional<ExtraClasspathProvider> getExtraClasspathProvider(ToolchainProvider toolchainProvider, TargetConfiguration toolchainTargetConfiguration)
getExtraClasspathProvider
in class ConfiguredCompilerFactory