saker.java.compiler Documentation TaskDoc JavaDoc Packages
public interface JavaAnnotationProcessorBuilder
Builder interface for JavaAnnotationProcessor.

Clients shouldn't implement this interface.

Create a new instance using newBuilder().

Methods
public JavaAnnotationProcessor
Builds the annotation processor configuration.
public static JavaAnnotationProcessorBuilder
Creates a new builder instance.
public void
setAggregating(Boolean aggregating)
Sets the aggregating property of the processor.
public void
Sets the always run property of the processor.
public void
Sets the consistent property of the processor.
public void
Sets the processor key-value options.
public void
Sets the processor configuration.
public void
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.
public abstract void setAggregating(Boolean aggregating)
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.
public abstract void setAlwaysRun(Boolean alwaysRun)
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.
public abstract void setConsistent(Boolean consistent)
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.
public abstract void setOptions(Map<String, String> options)
Sets the processor key-value options.
optionsThe options or null to use none.
public abstract void setProcessor(ProcessorConfiguration configuration) throws NullPointerException
Sets the processor configuration.
configurationThe configuration.
NullPointerExceptionIf the argument is null.
public abstract void setSuppressWarnings(Collection<String> suppressWarnings)
Sets the warning types to suppress for the processor.
suppressWarningsThe warning types or null for no additional suppression.