src/main/java/io/github/classgraph/ClassInfo.java
public boolean hasDeclaredMethodAnnotation(final String methodAnnotationName) {
        for (final MethodInfo mi : getDeclaredMethodInfo()) {
            if (mi.hasAnnotation(methodAnnotationName)) {
                return true;
            }
        }
        return false;
    }
/**
     * Checks whether this class declares a method with the named annotation.
     *
     * @param methodAnnotationName
     *            The name of a method annotation.
     * @return true if this class declares a method with the named annotation.
     */
Checks whether this class declares a method with the named annotation.
@param methodAnnotationName
The name of a method annotation.
@return true if this class declares a method with the named annotation.
Checks whether this class declares a method with the named annotation . @param methodAnnotationName The name of a method annotation . @return true if this class declares a method with the named annotation .
public boolean hasDeclaredMethodAnnotation(final String methodAnnotationName) {
        for (final MethodInfo mi : getDeclaredMethodInfo()) {
            if (mi.hasAnnotation(methodAnnotationName)) {
                return true;
            }
        }
        return false;
    }
public boolean hasDeclaredMethodAnnotation ( final String methodAnnotationName ) { for ( final MethodInfo mi : getDeclaredMethodInfo ( ) ) { if ( mi . hasAnnotation ( methodAnnotationName ) ) { return true ; } } return false ; }
Checks whether this class declares a method with the named annotation.
Checks whether this class declares a method with the named annotation .