Bug 91081 [quick fix] Quick complete should introspect method change when return val from method
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java
private static class ReturnStatementCollector extends ASTVisitor {
		private ArrayList fResult= new ArrayList();
		public Iterator returnStatements() {
			return fResult.iterator();
		}
		public ITypeBinding getTypeBinding(AST ast) {
			boolean couldBeObject= false;
			for (int i= 0; i < fResult.size(); i++) {
				ReturnStatement node= (ReturnStatement) fResult.get(i);
				Expression expr= node.getExpression();
				if (expr != null) {
					ITypeBinding binding= Bindings.normalizeTypeBinding(expr.resolveTypeBinding());
					if (binding != null) {
						return binding;
					} else {
						couldBeObject= true;
					}
				} else {
					return ast.resolveWellKnownType("void"); 
				}
			}
			if (couldBeObject) {
				return ast.resolveWellKnownType("java.lang.Object"); 
			}
			return ast.resolveWellKnownType("void"); 
		}
		public boolean visit(ReturnStatement node) {
			fResult.add(node);
			return false;
		}