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
return fNode.getNodeType() != ASTNode.METHOD_INVOCATION && fNode.getNodeType() != ASTNode.SUPER_METHOD_INVOCATION;
	}
	private MethodDeclaration getStub(AST ast) throws CoreException {
		MethodDeclaration decl= ast.newMethodDeclaration();
		
		decl.setConstructor(isConstructor());
		decl.setModifiers(evaluateModifiers());
		decl.setName(ast.newSimpleName(getMethodName()));
		
		NameProposer nameProposer= new NameProposer();
		List arguments= fArguments;
		List params= decl.parameters();
		
		int nArguments= arguments.size();
		ArrayList names= new ArrayList(nArguments);
		for (int i= 0; i < arguments.size(); i++) {
			Expression elem= (Expression) arguments.get(i);
			SingleVariableDeclaration param= ast.newSingleVariableDeclaration();
			Type type= evaluateParameterType(ast, elem);
			param.setType(type);
			param.setName(ast.newSimpleName(getParameterName(nameProposer, names, elem, type)));
			params.add(param);
		}
		
		Block body= ast.newBlock();
		if (!isConstructor()) {
			Type returnType= evaluateMethodType(ast);
			decl.setReturnType(returnType);
			ReturnStatement returnStatement= ast.newReturnStatement();
			returnStatement.setExpression(ASTResolving.getInitExpression(returnType));