public abstract class Jsr199Javac extends Object implements Javac
Javac.Invocation, Javac.Source
ARGFILES_ESCAPER
Constructor and Description |
---|
Jsr199Javac() |
Modifier and Type | Method and Description |
---|---|
protected abstract JavaCompiler |
createCompiler(JavacExecutionContext context,
SourcePathResolverAdapter resolver) |
com.google.common.collect.ImmutableList<String> |
getCommandPrefix(SourcePathResolverAdapter resolver) |
String |
getDescription(com.google.common.collect.ImmutableList<String> options,
com.google.common.collect.ImmutableSortedSet<Path> javaSourceFilePaths,
Path pathToSrcsList) |
com.google.common.collect.ImmutableMap<String,String> |
getEnvironment(SourcePathResolverAdapter resolver) |
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.
|
public String getDescription(com.google.common.collect.ImmutableList<String> options, com.google.common.collect.ImmutableSortedSet<Path> javaSourceFilePaths, Path pathToSrcsList)
getDescription
in interface Javac
public String getShortName()
getShortName
in interface Javac
public com.google.common.collect.ImmutableList<String> getCommandPrefix(SourcePathResolverAdapter resolver)
getCommandPrefix
in interface Tool
public com.google.common.collect.ImmutableMap<String,String> getEnvironment(SourcePathResolverAdapter resolver)
getEnvironment
in interface Tool
protected abstract JavaCompiler createCompiler(JavacExecutionContext context, SourcePathResolverAdapter resolver)
public 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)
Javac
newBuildInvocation
in interface Javac