Modifier and Type | Field and Description |
---|---|
protected @NotNull Compiler |
compiler
The compiler used by this processor.
|
Constructor and Description |
---|
CompilerProcessor(@NotNull Compiler compiler)
Construct a new compiler processor that compiles using the given
compiler . |
Modifier and Type | Method and Description |
---|---|
boolean |
process(@NotNull Compilation compilation)
Process the given
compilation . |
@NotNull protected final @NotNull Compiler compiler
public CompilerProcessor(@NotNull @NotNull Compiler compiler)
compiler
.compiler
- the compiler to be used by the constructed processor.java.lang.NullPointerException
- if the given compiler
is null.public boolean process(@NotNull @NotNull Compilation compilation)
Processor
compilation
.
true
. The compilation process will have another
round. If all the processors in a compilation return false
, the compilation
process ends.