Errai 3.0.1-SNAPSHOT

org.jboss.errai.processor
Class AnnotationProcessors

java.lang.Object
  extended by org.jboss.errai.processor.AnnotationProcessors

public class AnnotationProcessors
extends Object

An indiscriminate dumping ground for static methods that help paper over the missing functionality in the Java 6 Annotation Processing API.

Do your worst! :-)

Author:
jfuerth

Method Summary
static AnnotationMirror getAnnotation(Element target, CharSequence annotationQualifiedName)
           
static TypeElement getEnclosingTypeElement(Element element)
           
static boolean hasAnnotation(Element target, CharSequence annotationQualifiedName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasAnnotation

public static boolean hasAnnotation(Element target,
                                    CharSequence annotationQualifiedName)

getAnnotation

public static AnnotationMirror getAnnotation(Element target,
                                             CharSequence annotationQualifiedName)

getEnclosingTypeElement

public static TypeElement getEnclosingTypeElement(Element element)

Errai 3.0.1-SNAPSHOT

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