public static Annotation[] getAnnotations(AnnotatedElement annotatedElement) {
		try {
			return annotatedElement.getAnnotations();
		}
		catch (Exception ex) {
			// Assuming nested Class values not resolvable within annotation attributes...
			logIntrospectionFailure(annotatedElement, ex);
			return null;
		}
	}
public static Annotation [ ] getAnnotations ( AnnotatedElement annotatedElement ) { try { return annotatedElement . getAnnotations ( ) ; } catch ( Exception ex ) { logIntrospectionFailure ( annotatedElement , ex ) ; return null ; } }
Get all {@link Annotation Annotations} from the supplied Method, Constructor or Field.
@param annotatedElement the Method, Constructor or Field to retrieve annotations from
@return the annotations found, or {@code null} if not resolvable (e.g. because nested
Class values in annotation attributes failed to resolve at runtime)
@since 4.0.8