protected int searchForClosingPeer(int offset, char openingPeer, char closingPeer, IDocument document) throws BadLocationException {
private int searchForClosingPeer(int offset, char openingPeer, char closingPeer, IDocument document) throws BadLocationException {
	protected int searchForClosingPeer(int offset, char openingPeer, char closingPeer, IDocument document) throws BadLocationException {		boolean useGenericsHeuristic= openingPeer == '<';		if (useGenericsHeuristic && !fHighlightAngularBrackets)			return -1;		JavaHeuristicScanner scanner= new JavaHeuristicScanner(document, IJavaPartitions.JAVA_PARTITIONING, TextUtilities.getContentType(document, IJavaPartitions.JAVA_PARTITIONING, offset, false));		if (useGenericsHeuristic && !isTypeParameterBracket(offset, document, scanner))			return -1;		return scanner.findClosingPeer(offset + 1, openingPeer, closingPeer);	}