code: public static Object getDefaultValue(Class<? extends Annotation> annotationType, String attributeName) {
          try {
              Method method = annotationType.getDeclaredMethod(attributeName, new Class[0]);
              return method.getDefaultValue();
          }
          catch (Exception ex) {
              return null;
          }
      }
docs: Retrieve the <em>default value</em> of a named Annotation attribute, given the {@link Class annotation type}.
  @param annotationType the <em>annotation type</em> for which the default value should be retrieved
  @param attributeName the name of the attribute value to retrieve.
  @return the default value of the named attribute, or <code>null</code> if not found
  @see #getDefaultValue(Annotation, String)