src/main/java/io/github/classgraph/ClassInfo.java
public boolean hasMethod(final String methodName) {
        for (final ClassInfo ci : getOverrideOrder()) {
            if (ci.hasDeclaredMethod(methodName)) {
                return true;
            }
        }
        return false;
    }
/**
     * Checks whether this class or one of its superclasses or interfaces declares a method of the given name.
     *
     * @param methodName
     *            The name of a method.
     * @return true if this class or one of its superclasses or interfaces declares a method of the given name.
     */
Checks whether this class or one of its superclasses or interfaces declares a method of the given name.
@param methodName
The name of a method.
@return true if this class or one of its superclasses or interfaces declares a method of the given name.
Checks whether this class or one of its superclasses or interfaces declares a method of the given name . @param methodName The name of a method . @return true if this class or one of its superclasses or interfaces declares a method of the given name .
public boolean hasMethod(final String methodName) {
        for (final ClassInfo ci : getOverrideOrder()) {
            if (ci.hasDeclaredMethod(methodName)) {
                return true;
            }
        }
        return false;
    }
public boolean hasMethod ( final String methodName ) { for ( final ClassInfo ci : getOverrideOrder ( ) ) { if ( ci . hasDeclaredMethod ( methodName ) ) { return true ; } } return false ; }
Checks whether this class or one of its superclasses or interfaces declares a method of the given name.
Checks whether this class or one of its superclasses or interfaces declares a method of the given name .