Errai 3.0.1-SNAPSHOT

org.jboss.errai.processor
Class EventHandlerAnnotationChecker

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by org.jboss.errai.processor.EventHandlerAnnotationChecker
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes(value="org.jboss.errai.ui.shared.api.annotations.EventHandler")
@SupportedSourceVersion(value=RELEASE_6)
public class EventHandlerAnnotationChecker
extends AbstractProcessor

Evaluates usage of the ErraiUI EventHandler annotation and emits errors and warnings when the annotation is not being used correctly.


Field Summary
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
EventHandlerAnnotationChecker()
           
 
Method Summary
 boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
           
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventHandlerAnnotationChecker

public EventHandlerAnnotationChecker()
Method Detail

process

public boolean process(Set<? extends TypeElement> annotations,
                       RoundEnvironment roundEnv)
Specified by:
process in interface Processor
Specified by:
process in class AbstractProcessor

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.