code: public static Map<String, Object> getAnnotationAttributes(Annotation annotation, boolean classValuesAsString) {
      return getAnnotationAttributes(annotation, classValuesAsString, false);
    }
docs: Retrieve the given annotation's attributes as a Map. Equivalent to calling
  {@link #getAnnotationAttributes(java.lang.annotation.Annotation, boolean, boolean)} with
  the {@code nestedAnnotationsAsMap} parameter set to {@code false}.
  <p>Note: As of Spring 3.1.1, the returned map is actually an
  {@code org.springframework.core.annotation.AnnotationAttributes} instance, however the Map signature of this
  methodhas
  been preserved for binary compatibility.
  @param annotation the annotation to retrieve the attributes for
  @param classValuesAsString whether to turn Class references into Strings (for
  compatibility with {@code org.springframework.core.type.AnnotationMetadata} or to
  preserve them as Class references
  @return the Map of annotation attributes, with attribute names as keys and
  corresponding attribute values as values