Package com.querydsl.core.util
Class Annotations
java.lang.Object
com.querydsl.core.util.Annotations
- All Implemented Interfaces:
AnnotatedElement
Annotations is a merging adapter for the
AnnotatedElement interface- Author:
- tiwe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(@Nullable Annotation annotation) voidaddAnnotations(AnnotatedElement element) <T extends Annotation>
TgetAnnotation(Class<T> annotationClass) booleanisAnnotationPresent(Class<? extends Annotation> annotationClass) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
Constructor Details
-
Annotations
-
-
Method Details
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedElement
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotatedElement
-
addAnnotation
-
addAnnotations
-