protected AbstractSkeleton(Class apiClass){
  _apiClass=apiClass;
  Method[] methodList=apiClass.getMethods();
  for (int i=0; i < methodList.length; i++) {
    Method method=methodList[i];
    if (_methodMap.get(method.getName()) == null)     _methodMap.put(method.getName(),methodList[i]);
    Class[] param=method.getParameterTypes();
    String mangledName=method.getName() + "__" + param.length;
    _methodMap.put(mangledName,methodList[i]);
    _methodMap.put(mangleName(method,false),methodList[i]);
  }
}

protected AbstractSkeleton ( Class apiClass ) { _apiClass = apiClass ; Method [ ] methodList = apiClass . getMethods ( ) ; for ( int i = 0 ; i < methodList . length ; i ++ ) { Method method = methodList [ i ] ; if ( _methodMap . get ( method . getName ( ) ) == null ) _methodMap . put ( method . getName ( ) , methodList [ i ] ) ; Class [ ] param = method . getParameterTypes ( ) ; String mangledName = method . getName ( ) + "__" + param . length ; _methodMap . put ( mangledName , methodList [ i ] ) ; _methodMap . put ( mangleName ( method , false ) , methodList [ i ] ) ; } }
create a new hessian skeleton .
