public class SiddhiAnnotationProcessor extends AbstractProcessor
annotationsClasses : holds all the supported annotations class. messager : the messager used to report errors, warnings, and other notices when validation error throws..
processingEnv
Constructor and Description |
---|
SiddhiAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getSupportedAnnotationTypes() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment env) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
void |
showBuildError(String message,
Element element) |
getCompletions, getSupportedOptions, isInitialized
public void init(ProcessingEnvironment env)
init
in interface Processor
init
in class AbstractProcessor
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface Processor
getSupportedAnnotationTypes
in class AbstractProcessor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
Copyright © 2019 WSO2. All rights reserved.