public class Annotations
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement
AnnotatedElement interface| Constructor and Description |
|---|
Annotations(java.lang.reflect.AnnotatedElement... elements) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(@Nullable java.lang.annotation.Annotation annotation) |
void |
addAnnotations(java.lang.reflect.AnnotatedElement element) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElementpublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElementpublic void addAnnotation(@Nullable
@Nullable java.lang.annotation.Annotation annotation)
public void addAnnotations(java.lang.reflect.AnnotatedElement element)
Copyright © 2007–2021 Querydsl. All rights reserved.