public static String[] computeSyncParameterTypes(IMethod asyncMethod) throws RemoteServiceException {
  List<String> parameters=new ArrayList<String>();
  String[] asyncParamTypeSigs=asyncMethod.getParameterTypes();
  for (int i=0; i < asyncParamTypeSigs.length - 1; i++) {
    parameters.add(resolveToQualifiedErasure(asyncMethod.getDeclaringType(),asyncParamTypeSigs[i]));
  }
  return parameters.toArray(NO_STRINGS);
}

public static String [ ] computeSyncParameterTypes ( IMethod asyncMethod ) throws RemoteServiceException { List < String > parameters = new ArrayList < String > ( ) ; String [ ] asyncParamTypeSigs = asyncMethod . getParameterTypes ( ) ; for ( int i = 0 ; i < asyncParamTypeSigs . length - 1 ; i ++ ) { parameters . add ( resolveToQualifiedErasure ( asyncMethod . getDeclaringType ( ) , asyncParamTypeSigs [ i ] ) ) ; } return parameters . toArray ( NO_STRINGS ) ; }
computes the synchronous method parameter types from the asynchronous method model .
