org.richfaces.cdk.apt
Class CdkProcessorImpl
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.richfaces.cdk.apt.CdkProcessorImpl
- All Implemented Interfaces:
- Processor, CdkProcessor
public class CdkProcessorImpl
- extends AbstractProcessor
- implements CdkProcessor
Base class for all CDK Annotation processors. That class provides access to current CDK context and utility methods for Java
source models.
- Author:
- asmirnov@exadel.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CdkProcessorImpl
public CdkProcessorImpl()
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
init in interface Processor- Overrides:
init in class AbstractProcessor
process
public boolean process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv)
- Specified by:
process in interface Processor- Specified by:
process in class AbstractProcessor
processNonJavaSources
public void processNonJavaSources()
- Specified by:
processNonJavaSources in interface CdkProcessor
processAnnotation
protected void processAnnotation(CdkAnnotationProcessor processor,
RoundEnvironment environment)
sendError
protected void sendError(Element componentElement,
Exception e)
sendError
protected void sendError(CdkException e)
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypes in interface Processor- Overrides:
getSupportedAnnotationTypes in class AbstractProcessor
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion in interface Processor- Overrides:
getSupportedSourceVersion in class AbstractProcessor
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.