public interface AnnotationProcessor
Modifier and Type | Method and Description |
---|---|
void |
processAnnotation(org.ballerinalang.model.tree.FunctionNode functionNode,
org.ballerinalang.model.tree.AnnotationAttachmentNode attachmentNode)
Process annotations and create model object.
|
void |
processAnnotation(org.ballerinalang.model.tree.ServiceNode serviceNode,
org.ballerinalang.model.tree.AnnotationAttachmentNode attachmentNode)
Process annotations and create model object.
|
void |
processAnnotation(org.ballerinalang.model.tree.SimpleVariableNode variableNode,
org.ballerinalang.model.tree.AnnotationAttachmentNode annotations)
Process annotations and create model object.
|
void processAnnotation(org.ballerinalang.model.tree.ServiceNode serviceNode, org.ballerinalang.model.tree.AnnotationAttachmentNode attachmentNode) throws KubernetesPluginException
serviceNode
- Ballerina service node.attachmentNode
- annotation attachment node.KubernetesPluginException
- if an error occurs while processing annotation.void processAnnotation(org.ballerinalang.model.tree.SimpleVariableNode variableNode, org.ballerinalang.model.tree.AnnotationAttachmentNode annotations) throws KubernetesPluginException
variableNode
- Ballerina listener variable.annotations
- annotation attachment node.KubernetesPluginException
- if an error occurs while processing annotation.void processAnnotation(org.ballerinalang.model.tree.FunctionNode functionNode, org.ballerinalang.model.tree.AnnotationAttachmentNode attachmentNode) throws KubernetesPluginException
functionNode
- Ballerina function node.attachmentNode
- annotation attachment node.KubernetesPluginException
- if an error occurs while processing annotation.Copyright © 2019 WSO2. All rights reserved.