return new ParameterGuessingProposal( start, end - start, original.getImage(), original.getDisplayString(), fViewer, relevance, name, parameterTypePackageNames, parameterTypeNames, parameterNames, fCodeAssistOffset, fCompilationUnit);
IPreferenceStore preferenceStore= JavaPlugin.getDefault().getPreferenceStore();  if (preferenceStore.getBoolean(ContentAssistPreference.GUESS_METHOD_ARGUMENTS)) { return new ParameterGuessingProposal( start, end - start, original.getImage(), original.getDisplayString(), fViewer, relevance, name, parameterTypePackageNames, parameterTypeNames, parameterNames, fCodeAssistOffset, fCompilationUnit);  } else { int count= parameterNames.length; int[] offsets= new int[count]; int[] lengths= new int[count];  StringBuffer buffer= new StringBuffer(); buffer.append(name); buffer.append('('); for (int i= 0; i != count; i++) { if (i != 0) buffer.append(", ");  offsets[i]= buffer.length(); buffer.append(parameterNames[i]); lengths[i]= buffer.length() - offsets[i]; } buffer.append(')');  return new ExperimentalProposal(buffer.toString(), start, end - start, original.getImage(), original.getDisplayString(), offsets, lengths, fViewer, relevance); }
	protected JavaCompletionProposal createMethodCallCompletion(char[] declaringTypeName, char[] name,		char[][] parameterTypePackageNames, char[][] parameterTypeNames, char[][] parameterNames,		char[] returnTypeName, char[] completionName, int modifiers, int start, int end, int relevance)	{				JavaCompletionProposal original= super.createMethodCallCompletion(declaringTypeName, name,			parameterTypePackageNames, parameterTypeNames, parameterNames, returnTypeName,			completionName, modifiers, start, end, relevance);				// handle empty code completion		if ((completionName.length == 0) || ((completionName.length == 1) && completionName[0] == ')'))			return original;							return new ParameterGuessingProposal(			start, end - start, original.getImage(), original.getDisplayString(), fViewer, relevance,			name, parameterTypePackageNames, parameterTypeNames, parameterNames, 			fCodeAssistOffset, fCompilationUnit);	} 