Program: 185450
Project: 185450
Buggy source:
protected void computeReplacementProposals(char[][] namedParameterNames,char[][] positionalParameterNames,int indexOfLastClosure){
  boolean guess=(fInvocationContext.getCoreContext().isExtended() && fPreferences.isEnabled(PreferenceConstants.CODEASSIST_GUESS_METHOD_ARGUMENTS));
  char[][] parameterTypes=Signature.getParameterTypes(SignatureUtil.fix83600(fProposal.getSignature()));
  int npc=namedParameterNames.length, n=npc + positionalParameterNames.length;
  fPositions=new ArrayList<>(n);
  fProposals=new ArrayList<>(n);
  for (int i=0; i < n; i+=1) {
    fPositions.add(new Position(0));
    char[] name=(i < npc ? namedParameterNames[i] : positionalParameterNames[i - npc]);
    char[] type=(i < npc ? parameterTypes[i + positionalParameterNames.length] : parameterTypes[i - npc]);
    ICompletionProposal[] vals;
    if (guess) {
      boolean fillBestGuess=true;
      String typeSignature=String.valueOf(type);
      IJavaElement[] visibleElements=fInvocationContext.getCoreContext().getVisibleElements(typeSignature);
      vals=new ParameterGuesserDelegate(getEnclosingElement(),fInvocationContext).parameterProposals(Signature.toString(typeSignature),String.valueOf(name),fPositions.get(i),visibleElements,fillBestGuess);
    }
 else {
      StringBuilder buffer=new StringBuilder();
      if (fPreferences.isEnabled(GroovyContentAssist.CLOSURE_BRACKETS) && CharOperation.equals(type,CLOSURE_TYPE_SIGNATURE)) {
        buffer.append("String_Node_Str");
        if (fPreferences.isEnabled(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER)) {
          buffer.append(SPACE);
        }
        buffer.append("String_Node_Str");
        if (fPreferences.isEnabled(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER)) {
          buffer.append(SPACE);
        }
        buffer.append("String_Node_Str");
      }
 else {
        buffer.append(name);
      }
      vals=new ICompletionProposal[]{new JavaCompletionProposal(buffer.toString(),0,buffer.length(),null,buffer.toString(),1)};
    }
    fProposals.add(vals);
  }
}

Fixed version (ground truth):
protected void computeReplacementProposals(char[][] namedParameterNames,char[][] positionalParameterNames,int indexOfLastClosure){
  boolean guess=(fInvocationContext.getCoreContext().isExtended() && fPreferences.isEnabled(PreferenceConstants.CODEASSIST_GUESS_METHOD_ARGUMENTS));
  char[][] parameterTypes=Signature.getParameterTypes(SignatureUtil.fix83600(fProposal.getSignature()));
  int npc=namedParameterNames.length, n=npc + positionalParameterNames.length;
  fPositions=new ArrayList<>(n);
  fProposals=new ArrayList<>(n);
  for (int i=0; i < n; i+=1) {
    fPositions.add(new Position(0));
    char[] name=(i < npc ? namedParameterNames[i] : positionalParameterNames[i - npc]);
    char[] type=(i < npc ? parameterTypes[i + positionalParameterNames.length] : parameterTypes[i - npc]);
    ICompletionProposal[] vals;
    if (guess) {
      boolean fillBestGuess=true;
      String typeSignature=String.valueOf(type);
      IJavaElement[] visibleElements=fInvocationContext.getCoreContext().getVisibleElements(typeSignature);
      vals=new ParameterGuesserDelegate(getEnclosingElement(),fInvocationContext).parameterProposals(Signature.toString(typeSignature),String.valueOf(name),fPositions.get(i),visibleElements,fillBestGuess);
    }
 else {
      StringBuilder buffer=new StringBuilder();
      if (fPreferences.isEnabled(GroovyContentAssist.CLOSURE_BRACKETS) && CharOperation.equals(CLOSURE_TYPE_SIGNATURE,type,1,type.length)) {
        buffer.append("String_Node_Str");
        if (fPreferences.isEnabled(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER)) {
          buffer.append(SPACE);
        }
        buffer.append("String_Node_Str");
        if (fPreferences.isEnabled(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER)) {
          buffer.append(SPACE);
        }
        buffer.append("String_Node_Str");
      }
 else {
        buffer.append(name);
      }
      vals=new ICompletionProposal[]{new JavaCompletionProposal(buffer.toString(),0,buffer.length(),null,buffer.toString(),1)};
    }
    fProposals.add(vals);
  }
}