Bug 24174 quick fix: should not add 'return' to new void methods [quick fix]
20020924 it creates methods like: private void md() { return; } which is bogus
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java
body.statements().add(returnStatement);
		}
		decl.setBody(body);
		CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
		if (settings.createComments && !fSenderBinding.isAnonymous()) {
			StringBuffer buf= new StringBuffer();
			String[] namesArray= (String[]) names.toArray(new String[names.size()]);
			String name= decl.getName().getIdentifier();
			if (isConstructor()) {
				StubUtility.genJavaDocStub("Constructor " + name, namesArray, null, null, buf);
			} else {
				String returnTypeSig= Signature.createTypeSignature(ASTNodes.asString(decl.getReturnType()), true);
				StubUtility.genJavaDocStub("Method " + name, namesArray, returnTypeSig, null, buf);
			}	
			Javadoc javadoc= ast.newJavadoc();
			javadoc.setComment(buf.toString());
			decl.setJavadoc(javadoc);
		}
		return decl;
	}
			
	private String getParameterName(NameProposer nameProposer, ArrayList takenNames, Expression argNode, Type type) {
		String name;
		if (argNode instanceof SimpleName) {
			name= ((SimpleName) argNode).getIdentifier();
		} else {
			name= nameProposer.proposeParameterName(ASTNodes.asString(type));
		}
		String base= name;
		int i= 1;