@FunctionalInterface
public interface Analyzer
Modifier and Type | Method and Description |
---|---|
boolean |
analyze(@NotNull Compilation compilation,
@NotNull Tree tree)
Analyze the given
tree and its relative trees. |
@Contract(mutates="param1,param2") boolean analyze(@NotNull @NotNull Compilation compilation, @NotNull @NotNull Tree tree)
tree
and its relative trees.compilation
- the compilation of the given tree
.tree
- the tree to be analyzed.tree
or its
compilation.java.lang.NullPointerException
- if the given compilation
or tree
is
null.CompileException
- if any illegal pattern detected.