public abstract class JavacPluginParams extends Object implements AddsToRuleKey
Javac Plugins involves a set of plugin properties, their classpath(s), and a few other command-line options for javac. We want to be able to specify all this various information in a BUCK configuration file and use it when we generate the javac command. This facilitates threading the information through buck in a more descriptive package rather than passing all the components separately.
Modifier and Type | Class and Description |
---|---|
static class |
JavacPluginParams.Builder
A customized Builder for JavacPluginParams.
|
Modifier and Type | Field and Description |
---|---|
static JavacPluginParams |
EMPTY |
Constructor and Description |
---|
JavacPluginParams() |
Modifier and Type | Method and Description |
---|---|
static JavacPluginParams.Builder |
builder() |
abstract com.google.common.collect.ImmutableSortedSet<String> |
getParameters() |
abstract com.google.common.collect.ImmutableList<ResolvedJavacPluginProperties> |
getPluginProperties() |
boolean |
getProcessOnly() |
boolean |
isEmpty() |
JavacPluginParams |
withAbiProcessorsOnly() |
public static final JavacPluginParams EMPTY
public abstract com.google.common.collect.ImmutableList<ResolvedJavacPluginProperties> getPluginProperties()
@Value.NaturalOrder public abstract com.google.common.collect.ImmutableSortedSet<String> getParameters()
@Value.Default public boolean getProcessOnly()
public boolean isEmpty()
public static JavacPluginParams.Builder builder()
public JavacPluginParams withAbiProcessorsOnly()