boolean (HighlighterIterator iterator) { IElementType type = iterator.getTokenType(); if (type == TokenType.WHITE_SPACE) { iterator.retreat(); type = iterator.getTokenType(); } if (COMPLEX_ASSIGNMENTS.contains(type)) { return true; } if (type == JavaTokenType.EQ) { iterator.retreat(); type = iterator.getTokenType(); if (type == JavaTokenType.GT) { iterator.retreat(); type = iterator.getTokenType(); if (type == JavaTokenType.GT) { return true; } } else if (type == TokenType.WHITE_SPACE || type == JavaTokenType.IDENTIFIER) { return true; } } return false; }