public class Annotations extends Object implements AnnotatedElement
AnnotatedElement interface| Constructor and Description | 
|---|
| Annotations(AnnotatedElement... elements) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAnnotation(Annotation annotation) | 
| <T extends Annotation> | getAnnotation(Class<T> annotationClass) | 
| Annotation[] | getAnnotations() | 
| Annotation[] | getDeclaredAnnotations() | 
| boolean | isAnnotationPresent(Class<? extends Annotation> annotationClass) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypepublic Annotations(AnnotatedElement... elements)
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface AnnotatedElementpublic void addAnnotation(@Nullable Annotation annotation)
Copyright © 2007–2015 Querydsl. All rights reserved.