public class Annotations
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement
AnnotatedElement
interfaceConstructor 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.AnnotatedElement
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface java.lang.reflect.AnnotatedElement
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent
in interface java.lang.reflect.AnnotatedElement
public void addAnnotation(@Nullable @Nullable java.lang.annotation.Annotation annotation)
public void addAnnotations(java.lang.reflect.AnnotatedElement element)
Copyright © 2007–2021 Querydsl. All rights reserved.