String (@NotNull PsiLanguageInjectionHost.Shred shred) { PsiLiteralValue shredLiteralVal = ObjectUtils.tryCast(shred.getHost(), PsiLiteralValue.class); if (shredLiteralVal == null || shredLiteralVal.getValue() == null) return null; return String.valueOf(shredLiteralVal.getValue()); }