public class ExternalJavacProvider extends Object implements JavacProvider
Modifier and Type | Field and Description |
---|---|
static String |
COM_SUN_TOOLS_JAVAC_API_JAVAC_TOOL |
Constructor and Description |
---|
ExternalJavacProvider(SourcePath javacPath) |
Modifier and Type | Method and Description |
---|---|
void |
addParseTimeDeps(com.google.common.collect.ImmutableCollection.Builder<BuildTarget> depsConsumer) |
com.google.common.collect.ImmutableSet<BuildRule> |
getBuildDeps(SourcePathRuleFinder ruleFinder) |
static JavacProvider |
getProviderForSpec(JavacSpec spec)
Creates a JavacProvider based on a spec.
|
Javac |
resolve(SourcePathRuleFinder ruleFinder)
Creates an ExternalJavac.
|
public static final String COM_SUN_TOOLS_JAVAC_API_JAVAC_TOOL
public ExternalJavacProvider(SourcePath javacPath)
public static JavacProvider getProviderForSpec(JavacSpec spec)
public Javac resolve(SourcePathRuleFinder ruleFinder)
resolve
in interface JavacProvider
public void addParseTimeDeps(com.google.common.collect.ImmutableCollection.Builder<BuildTarget> depsConsumer)
addParseTimeDeps
in interface JavacProvider
public com.google.common.collect.ImmutableSet<BuildRule> getBuildDeps(SourcePathRuleFinder ruleFinder)
getBuildDeps
in interface JavacProvider