public MethodDoc findMatchingMethod ( MethodDoc method , MethodFinder mf ) { // Look in this class's interface set MethodDoc md = findMatchingInterfaceMethod ( method , mf ) ; if ( md != null ) { return md ; } // Look in this class's superclass ancestry ClassDoc superClass = getSuperclass ( ) ; if ( superClass != null ) { md = superClass . getMatchingMethod ( method , mf ) ; if ( md != null ) { return md ; } return superClass . findMatchingMethod ( method , mf ) ; } return null ; }
Find a MethodDoc with a name and signature matching that of the specified MethodDoc and accepted by the specified MethodFinder . This method searches the interfaces and super class ancestry of the class represented by this ClassDoc for a matching method .