private void populateMethodCache(){
  StringBuffer methodKey;
  Method[] methods=getAccessibleMethods(clazz);
  for (int i=0; i < methods.length; i++) {
    Method method=methods[i];
    Method publicMethod=getPublicMethod(method);
    if (publicMethod != null) {
      methodMap.add(publicMethod);
      methodCache.put(makeMethodKey(publicMethod),publicMethod);
    }
  }
}

private void populateMethodCache ( ) { StringBuffer methodKey ; Method [ ] methods = getAccessibleMethods ( clazz ) ; for ( int i = 0 ; i < methods . length ; i ++ ) { Method method = methods [ i ] ; Method publicMethod = getPublicMethod ( method ) ; if ( publicMethod != null ) { methodMap . add ( publicMethod ) ; methodCache . put ( makeMethodKey ( publicMethod ) , publicMethod ) ; } } }
populate the map of direct hits . these are taken from all the public methods that our class provides .
