Modifier and Type | Field and Description |
---|---|
protected @NotNull java.util.List<Analyzer> |
analyzers
The analyzers used by this analyzer.
|
Constructor and Description |
---|
SequentialAnalyzer(Analyzer... analyzers)
Construct a new analyzer that executes the given
analyzers when executed. |
SequentialAnalyzer(@NotNull java.util.List<Analyzer> analyzers)
Construct a new analyzer that executes the given
analyzers when executed. |
Modifier and Type | Method and Description |
---|---|
boolean |
analyze(@NotNull Compilation compilation,
@NotNull Tree tree)
Analyze the given
tree and its relative trees. |
@NotNull protected final @NotNull java.util.List<Analyzer> analyzers
public SequentialAnalyzer(@Nullable Analyzer... analyzers)
analyzers
when executed.
analyzers
- the analyzers to be executed when the constructed analyzer get
executed.java.lang.NullPointerException
- if the given analyzers
is null.public SequentialAnalyzer(@NotNull @NotNull java.util.List<Analyzer> analyzers)
analyzers
when executed.
analyzers
- the analyzers to be executed when the constructed analyzer get
executed.java.lang.NullPointerException
- if the given analyzers
is null.public boolean analyze(@NotNull @NotNull Compilation compilation, @NotNull @NotNull Tree tree)
Analyzer
tree
and its relative trees.