StringKind (@NotNull PsiElement token) { IElementType leafType = token.getNode().getElementType(); if (leafType == STRING_SQ) { return StringKind.SINGLE_QUOTED; } else if (leafType == STRING_DQ) { return StringKind.DOUBLE_QUOTED; } else if (leafType == STRING_TSQ) { return StringKind.TRIPLE_SINGLE_QUOTED; } else if (leafType == STRING_TDQ) { return StringKind.TRIPLE_DOUBLE_QUOTED; } return getStringKindByContentTokenType(token, leafType); }