Bug 117493 [content assist] CompletionRequestor#completionFailure(IProblem)) is ignored
This got introduced after 3.2 M1 (i.e. broken in 3.2 M2 and newer). If completion fails we now always show: "No completion available." instead of the real error text. Example: for (Iterator i=things.iterator(); i.<ctrl-space> // Iterator not yet imported)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposalComputer.java
}
	public JavaCompletionProposalComputer() {
	}
	private boolean looksLikeMethod(JavaCodeReader reader) throws IOException {
		int curr= reader.read();
		while (curr != JavaCodeReader.EOF && Character.isWhitespace((char) curr))
			curr= reader.read();
		if (curr == JavaCodeReader.EOF)
			return false;
		return Character.isJavaIdentifierPart((char) curr) || Character.isJavaIdentifierStart((char) curr);
	}
	private int guessContextInformationPosition(TextContentAssistInvocationContext context) {
		int contextPosition= context.getInvocationOffset();
		IDocument document= context.getDocument();
		try {
			JavaCodeReader reader= new JavaCodeReader();
			reader.configureBackwardReader(document, contextPosition, true, true);
			int nestingLevel= 0;
			int curr= reader.read();
			while (curr != JavaCodeReader.EOF) {
				if (')' == (char) curr)
					++ nestingLevel;
				else if ('(' == (char) curr) {
					-- nestingLevel;
					if (nestingLevel < 0) {
						int start= reader.getOffset();
						if (looksLikeMethod(reader))
							return start + 1;
					}
				}