private void computeReplacementString(List<SymbolDisplayPart> parameters,StringBuilder replacement,Arguments arguments,String indentation,int nbIndentations,boolean initialFunction){
  int count=parameters.size();
  SymbolDisplayPart part=null;
  String paramName=null;
  boolean hasParam=false;
  for (int i=0; i != count; i++) {
    part=parameters.get(i);
    if (!part.isParameterName()) {
      continue;
    }
    if (hasParam) {
      replacement.append(COMMA);
      replacement.append(SPACE);
    }
    int offset=replacement.length();
    paramName=part.getText();
    replacement.append(paramName);
    arguments.addArg(offset,paramName.length());
    hasParam=true;
  }
}

private void computeReplacementString ( List < SymbolDisplayPart > parameters , StringBuilder replacement , Arguments arguments , String indentation , int nbIndentations , boolean initialFunction ) { int count = parameters . size ( ) ; SymbolDisplayPart part = null ; String paramName = null ; boolean hasParam = false ; for ( int i = 0 ; i != count ; i ++ ) { part = parameters . get ( i ) ; if ( ! part . isParameterName ( ) ) { continue ; } if ( hasParam ) { replacement . append ( COMMA ) ; replacement . append ( SPACE ) ; } int offset = replacement . length ( ) ; paramName = part . getText ( ) ; replacement . append ( paramName ) ; arguments . addArg ( offset , paramName . length ( ) ) ; hasParam = true ; } }
compute replacement string for the given function .
