Modifier and Type | Field and Description |
---|---|
protected @NotNull Analyzer |
analyzer
The analyzer.
|
Constructor and Description |
---|
AnalyzerProcessor(@NotNull Analyzer analyzer)
Construct a new processor that analyzes the root trees of the compilations given to
it using the given
analyzer . |
Modifier and Type | Method and Description |
---|---|
boolean |
process(@NotNull Compilation compilation)
Process the given
compilation . |
@NotNull protected final @NotNull Analyzer analyzer
public AnalyzerProcessor(@NotNull @NotNull Analyzer analyzer)
analyzer
.analyzer
- the analyzer.java.lang.NullPointerException
- if the given analyzer
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.