com.mysema.query.apt
Class TypeUtils
java.lang.Object
com.mysema.query.apt.TypeUtils
public final class TypeUtils
- extends Object
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasAnnotationOfType
public static boolean hasAnnotationOfType(Element element,
Set<Class<? extends Annotation>> annotations)
hasAnnotationOfType
public static boolean hasAnnotationOfType(Element element,
Class<? extends Annotation> annotation)
getAnnotationMirrorOfType
public static AnnotationMirror getAnnotationMirrorOfType(Element element,
Class<? extends Annotation> annotation)
isAnnotationMirrorOfType
public static boolean isAnnotationMirrorOfType(AnnotationMirror annotationMirror,
Class<? extends Annotation> clazz)
isAnnotationMirrorOfType
public static boolean isAnnotationMirrorOfType(AnnotationMirror annotationMirror,
String className)
getAnnotationValuesAsElements
public static Set<Element> getAnnotationValuesAsElements(AnnotationMirror mirror,
String method)
getAnnotationValueAsTypeMirror
public static TypeMirror getAnnotationValueAsTypeMirror(AnnotationMirror mirror,
String method)
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.