Bug 108700 [typing] Automatically close parenthesis does not work when content assist popup is up
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GenericJavaTypeProposal.java
try {
				if (hasParameters()) {
					TypeArgumentProposal[] proposals= computeTypeArgumentProposals();
					if (hasAmbiguousProposals(proposals))
						return new ContextInformation(this);
				}
			} catch (JavaModelException e) {
			}
		}
		return super.computeContextInformation();
	}
	
	protected int computeCursorPosition() {
		if (fSelectedRegion != null)
			return fSelectedRegion.getOffset() - getReplacementOffset();
		return super.computeCursorPosition();
	}
	
	private boolean hasParameters() {
		try {
			IType type= getProposedType();
			if (type == null)
				return false;
			return type.getTypeParameters().length > 0;
		} catch (JavaModelException e) {
			return false;
		}
	}
}