code: public static <T extends Annotation> Method introspectAnnotationSingle(
              final Class<?> klass, final Class<T> annotationType) {
          final List<Method> methods = introspectAnnotationMultiple(klass, annotationType);
          return (methods.size() > 0) ? methods.get(0) : null;
      }
docs: Examines the passed class and extracts a single method that is annotated with the specified annotation type, <code>null</code> if not methods are so annotated. Behavior is undefined if multiple methods
  have the specified annotation.