package saker.java.compiler.api.compile
public interface JavaAnnotationProcessorBuilder
Builder interface for JavaAnnotationProcessor.
Clients shouldn't implement this interface.
Create a new instance using newBuilder().
public JavaAnnotationProcessor | build() Builds the annotation processor configuration. |
public static JavaAnnotationProcessorBuilder | Creates a new builder instance. |
public void | setAggregating( Sets the aggregating property of the processor. |
public void | setAlwaysRun( Sets the always run property of the processor. |
public void | setConsistent( Sets the consistent property of the processor. |
public void | setOptions( Sets the processor key-value options. |
public void | setProcessor( Sets the processor configuration. |
public void | setSuppressWarnings( Sets the warning types to suppress for the processor. |
Builds the annotation processor configuration.
The builder can be reused after this call.
The annotation processor configuration.
IllegalStateExceptionIf the processor hasn't been set.
Creates a new builder instance.
The builder.
Sets the aggregating property of the processor.
If set to null
, ProcessorConfiguration.getAggregating() is used.
aggregatingThe aggregating property or
null
to use the processor provided value.Sets the always run property of the processor.
If set to null
, ProcessorConfiguration.getAlwaysRun() is used.
alwaysRunThe always run property or
null
to use the processor provided value.Sets the consistent property of the processor.
If set to null
, ProcessorConfiguration.getConsistent() is used.
consistentThe consistent property or
null
to use the processor provided value.Sets the processor key-value options.
optionsThe options or
null
to use none.Sets the processor configuration.
configurationThe configuration.
NullPointerExceptionIf the argument is
null
.Sets the warning types to suppress for the processor.
suppressWarningsThe warning types or
null
for no additional suppression.