String (String value, @NotNull UExpression expression) { List<UExpression> usages = I18nInspection.findIndirectUsages(expression, true); if (usages.isEmpty()) { usages = Collections.singletonList(expression); } for (UExpression usage : usages) { NlsInfo nlsInfo = NlsInfo.forExpression(usage); if (nlsInfo instanceof NlsInfo.Localized) { return I18nizeQuickFix.getSuggestedName(value, ((NlsInfo.Localized)nlsInfo)); } } return null; }