public interface KendalHandler<T extends Annotation>
handle(java.util.Collection<kendal.model.Node>, kendal.api.AstHelper) method of each service provider will be called during annotation processing.| Modifier and Type | Method and Description |
|---|---|
default Class<T> |
getHandledAnnotationType()
Returns annotation that given handler supports.
|
void |
handle(Collection<Node> handledNodes,
AstHelper helper) |
void handle(Collection<Node> handledNodes, AstHelper helper) throws KendalException
handledNodes - if handled annotation type is not null,
kendal AST nodes representing annotation of type returned by getHandledAnnotationType()
Otherwise, all root nodes of the compilation.helper - KendalExceptionCopyright © 2019. All rights reserved.