jodd-json/src/main/java/jodd/json/meta/JSONAnnotationValues.java
public static JSONAnnotationValues of(final AnnotationParser annotationParser, final AnnotatedElement annotatedElement) {
		if (!annotationParser.hasAnnotationOn(annotatedElement)) {
			return null;
		}
		return new JSONAnnotationValues(annotationParser.of(annotatedElement));
	}
public static JSONAnnotationValues of(final AnnotationParser annotationParser, final AnnotatedElement annotatedElement) {
		if (!annotationParser.hasAnnotationOn(annotatedElement)) {
			return null;
		}
		return new JSONAnnotationValues(annotationParser.of(annotatedElement));
	}
Shortcut for checking the annotation on annotated element and returning either the values or {@code null}.