protected int searchForOpeningPeer(int offset, char openingPeer, char closingPeer, IDocument document) throws BadLocationException {
private int searchForOpeningPeer(int offset, char openingPeer, char closingPeer, IDocument document) throws BadLocationException {
	protected int searchForOpeningPeer(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));		int peer= scanner.findOpeningPeer(offset - 1, openingPeer, closingPeer);		if (peer == JavaHeuristicScanner.NOT_FOUND)			return -1;		if (useGenericsHeuristic && !isTypeParameterBracket(peer, document, scanner))			return -1;		return peer;	}