Lines Matching refs:annotationClass
257 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument
258 return getAnnotation(annotationClass) != null; in isAnnotationPresent()
273 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument
324 default <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { in getAnnotationsByType() argument
332 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType()
336 AnnotationType.getInstance(annotationClass).isInherited()) { // Inheritable in getAnnotationsByType()
341 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType()
368 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument
369 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation()
372 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation()
375 return annotationClass.cast(annotation); in getDeclaredAnnotation()
425 default <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass) { in getDeclaredAnnotationsByType() argument
426 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType()
433 annotationClass); in getDeclaredAnnotationsByType()