boolean (@NotNull PsiElement element, int startOffset, int endOffset) { if (element instanceof GrLiteral && StringPartInfo.isWholeLiteralContentSelected((GrLiteral)element, startOffset, endOffset)) { return true; } if (element.getTextRange().getStartOffset() == startOffset) { return true; } return false; }