public static boolean methodBelongsTo(Method m, Method[] methods){
		boolean result = false;
		
		for (int i = 0; i < methods.length && !result; i++) {
			if(methodEquals (methods [i], m)){
				result = true;
			}
		}
		
		return result;
	}
public static boolean methodBelongsTo ( Method m , Method [ ] methods ) { boolean result = false ; for ( int i = 0 ; i < methods . length && ! result ; i ++ ) { if ( methodEquals ( methods [ i ] , m ) ) { result = true ; } } return result ; }
Returns true if the method is in the method array.
@param m the method
@param methods the method array
@return  true if the method is in the method array.