@FunctionalInterface
public interface Processor
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(@NotNull Compilation compilation)
Process the given
compilation. |
@Contract(mutates="param")
boolean process(@NotNull
@NotNull Compilation compilation)
compilation.
true. The compilation process will have another
round. If all the processors in a compilation return false, the compilation
process ends.compilation - the compilation the node is from.java.lang.NullPointerException - if the given compilation is null.java.lang.RuntimeException - if any runtime exception occurs.java.lang.Error - if any unexpected/non-recoverable exception occurs.