public interface Javac extends Tool
Modifier and Type | Interface and Description |
---|---|
static interface |
Javac.Invocation |
static class |
Javac.Source |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Function<String,String> |
ARGFILES_ESCAPER
An escaper for arguments written to @argfiles.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription(com.google.common.collect.ImmutableList<String> options,
com.google.common.collect.ImmutableSortedSet<Path> javaSourceFilePaths,
Path pathToSrcsList) |
String |
getShortName() |
Javac.Invocation |
newBuildInvocation(JavacExecutionContext context,
SourcePathResolverAdapter resolver,
BuildTarget invokingRule,
com.google.common.collect.ImmutableList<String> options,
com.google.common.collect.ImmutableList<JavacPluginJsr199Fields> annotationProcessors,
com.google.common.collect.ImmutableList<JavacPluginJsr199Fields> javacPlugins,
com.google.common.collect.ImmutableSortedSet<Path> javaSourceFilePaths,
Path pathToSrcsList,
Path workingDirectory,
boolean trackClassUsage,
boolean trackJavacPhaseEvents,
JarParameters abiJarParameters,
JarParameters libraryJarParameters,
AbiGenerationMode abiGenerationMode,
AbiGenerationMode abiCompatibilityMode,
SourceOnlyAbiRuleInfoFactory ruleInfoFactory)
Prepares an invocation of the compiler with the given parameters.
|
getCommandPrefix, getEnvironment
static final java.util.function.Function<String,String> ARGFILES_ESCAPER
Javac.Invocation newBuildInvocation(JavacExecutionContext context, SourcePathResolverAdapter resolver, BuildTarget invokingRule, com.google.common.collect.ImmutableList<String> options, com.google.common.collect.ImmutableList<JavacPluginJsr199Fields> annotationProcessors, com.google.common.collect.ImmutableList<JavacPluginJsr199Fields> javacPlugins, com.google.common.collect.ImmutableSortedSet<Path> javaSourceFilePaths, Path pathToSrcsList, Path workingDirectory, boolean trackClassUsage, boolean trackJavacPhaseEvents, @Nullable JarParameters abiJarParameters, @Nullable JarParameters libraryJarParameters, AbiGenerationMode abiGenerationMode, AbiGenerationMode abiCompatibilityMode, @Nullable SourceOnlyAbiRuleInfoFactory ruleInfoFactory)
String getDescription(com.google.common.collect.ImmutableList<String> options, com.google.common.collect.ImmutableSortedSet<Path> javaSourceFilePaths, Path pathToSrcsList)
String getShortName()