method_info findMethod(String s){
  method_info m;
  int i;
  for (i=0; i < methods_count; i++) {
    m=methods[i];
    if (s.equals(m.toName(constant_pool))) {
      return m;
    }
  }
  return null;
}

method_info findMethod ( String s ) { method_info m ; int i ; for ( i = 0 ; i < methods_count ; i ++ ) { m = methods [ i ] ; if ( s . equals ( m . toName ( constant_pool ) ) ) { return m ; } } return null ; }
locates a method by name .
