public MethodDoc getMatchingMethod ( MethodDoc method ) { MethodDoc [ ] methods = getMethods ( ) ; for ( int i = 0 ; i < methods . length ; i ++ ) { if ( method . getName ( ) . equals ( methods [ i ] . getName ( ) ) && method . getSignature ( ) . equals ( methods [ i ] . getSignature ( ) ) ) { return methods [ i ] ; } } return null ; }
Get a MethodDoc in this ClassDoc with a name and signature matching that of the specified MethodDoc