boolean (GrLiteral literal) { if (literal instanceof GrString) return true; if (literal instanceof GrLiteralImpl) { IElementType type = GrLiteralImpl.getLiteralType(literal); return TokenSets.STRING_LITERAL_SET.contains(type); } return false; }