Package Summary Overview Summary

### method:getAnnotation(java.lang.Class) [CHANGED]
### getAnnotation public <T extends Annotation> T getAnnotation (Class<T> annotationClass) Returns this element's annotation for the specified type if such an annotation is present, else null. Note that any annotation returned by this method is a declaration annotation. Specified by: `getAnnotation` in interface `AnnotatedElement` Overrides: `getAnnotation` in class `AccessibleObject` Type Parameters: `T` - the type of the annotation to query for and return if present Parameters: `annotationClass` - the Class object corresponding to the annotation type Returns: this element's annotation for the specified annotation type if present on this element, else null Throws: `NullPointerException` - if the given annotation class is null
### getAnnotation public <T extends Annotation> T getAnnotation (Class<T> annotationClass) Returns this element's annotation for the specified type if such an annotation is present, else null. Specified by: `getAnnotation` in interface `AnnotatedElement` Overrides: `getAnnotation` in class `AccessibleObject` Type Parameters: `T` - the type of the annotation to query for and return if present Parameters: `annotationClass` - the Class object corresponding to the annotation type Returns: this element's annotation for the specified annotation type if present on this element, else null Throws: `NullPointerException` - if the given annotation class is null | ### getAnnotation public <T extends Annotation> T getAnnotation (Class<T> annotationClass) Returns this element's annotation for the specified type if such an annotation is present, else null. Note that any annotation returned by this method is a declaration annotation. Specified by: `getAnnotation` in interface `AnnotatedElement` Overrides: `getAnnotation` in class `AccessibleObject` Type Parameters: `T` - the type of the annotation to query for and return if present Parameters: `annotationClass` - the Class object corresponding to the annotation type Returns: this element's annotation for the specified annotation type if present on this element, else null Throws: `NullPointerException` - if the given annotation class is null

### method:getAnnotationsByType(java.lang.Class) [CHANGED]
### getAnnotationsByType public <T extends Annotation> T[] getAnnotationsByType (Class<T> annotationClass) Returns annotations that are associated with this element. If there are no annotations associated with this element, the return value is an array of length 0. The difference between this method and `AnnotatedElement.getAnnotation(Class)` is that this method detects if its argument is a repeatable annotation type (JLS 9.6), and if so, attempts to find one or more annotations of that type by "looking through" a container annotation. The caller of this method is free to modify the returned array; it will have no effect on the arrays returned to other callers. Note that any annotations returned by this method are declaration annotations. Specified by: `getAnnotationsByType` in interface `AnnotatedElement` Overrides: `getAnnotationsByType` in class `AccessibleObject` Type Parameters: `T` - the type of the annotation to query for and return if present Parameters: `annotationClass` - the Class object corresponding to the annotation type Returns: all this element's annotations for the specified annotation type if associated with this element, else an array of length zero Throws: `NullPointerException` - if the given annotation class is null
### getAnnotationsByType public <T extends Annotation> T[] getAnnotationsByType (Class<T> annotationClass) Returns annotations that are associated with this element. If there are no annotations associated with this element, the return value is an array of length 0. The difference between this method and `AnnotatedElement.getAnnotation(Class)` is that this method detects if its argument is a repeatable annotation type (JLS 9.6), and if so, attempts to find one or more annotations of that type by "looking through" a container annotation. The caller of this method is free to modify the returned array; it will have no effect on the arrays returned to other callers. Specified by: `getAnnotationsByType` in interface `AnnotatedElement` Overrides: `getAnnotationsByType` in class `AccessibleObject` Type Parameters: `T` - the type of the annotation to query for and return if present Parameters: `annotationClass` - the Class object corresponding to the annotation type Returns: all this element's annotations for the specified annotation type if associated with this element, else an array of length zero Throws: `NullPointerException` - if the given annotation class is null | ### getAnnotationsByType public <T extends Annotation> T[] getAnnotationsByType (Class<T> annotationClass) Returns annotations that are associated with this element. If there are no annotations associated with this element, the return value is an array of length 0. The difference between this method and `AnnotatedElement.getAnnotation(Class)` is that this method detects if its argument is a repeatable annotation type (JLS 9.6), and if so, attempts to find one or more annotations of that type by "looking through" a container annotation. The caller of this method is free to modify the returned array; it will have no effect on the arrays returned to other callers. Note that any annotations returned by this method are declaration annotations. Specified by: `getAnnotationsByType` in interface `AnnotatedElement` Overrides: `getAnnotationsByType` in class `AccessibleObject` Type Parameters: `T` - the type of the annotation to query for and return if present Parameters: `annotationClass` - the Class object corresponding to the annotation type Returns: all this element's annotations for the specified annotation type if associated with this element, else an array of length zero Throws: `NullPointerException` - if the given annotation class is null

### method:getDeclaredAnnotations() [CHANGED]
### getDeclaredAnnotations public Annotation[] getDeclaredAnnotations() Returns annotations that are directly present on this element. This method ignores inherited annotations. If there are no annotations directly present on this element, the return value is an array of length 0. The caller of this method is free to modify the returned array; it will have no effect on the arrays returned to other callers. Note that any annotations returned by this method are declaration annotations. Specified by: `getDeclaredAnnotations` in interface `AnnotatedElement` Overrides: `getDeclaredAnnotations` in class `AccessibleObject` Returns: annotations directly present on this element
### getDeclaredAnnotations public Annotation[] getDeclaredAnnotations() Returns annotations that are directly present on this element. This method ignores inherited annotations. If there are no annotations directly present on this element, the return value is an array of length 0. The caller of this method is free to modify the returned array; it will have no effect on the arrays returned to other callers. Specified by: `getDeclaredAnnotations` in interface `AnnotatedElement` Overrides: `getDeclaredAnnotations` in class `AccessibleObject` Returns: annotations directly present on this element | ### getDeclaredAnnotations public Annotation[] getDeclaredAnnotations() Returns annotations that are directly present on this element. This method ignores inherited annotations. If there are no annotations directly present on this element, the return value is an array of length 0. The caller of this method is free to modify the returned array; it will have no effect on the arrays returned to other callers. Note that any annotations returned by this method are declaration annotations. Specified by: `getDeclaredAnnotations` in interface `AnnotatedElement` Overrides: `getDeclaredAnnotations` in class `AccessibleObject` Returns: annotations directly present on this element