@Nullable protected Couple<String> invokeAction(@NotNull final Project project, @NotNull PsiFile file, @NotNull PsiElement psiElement, @Nullable final String suggestedKey, @Nullable String suggestedValue, @Nullable final List<PropertiesFile> propertiesFiles) { final PsiLiteralExpression literalExpression = psiElement instanceof PsiLiteralExpression ? (PsiLiteralExpression)psiElement : null; final String propertyValue = suggestedValue == null ? "" : suggestedValue; final I18nizeQuickFixDialog dialog = new JavaI18nizeQuickFixDialog( project, file, literalExpression, propertyValue, createDefaultCustomization(suggestedKey, propertiesFiles), false, false ); return doAction(project, psiElement, dialog); }
@Nullable protected Pair<String, String> invokeAction(@NotNull final Project project, @NotNull PsiFile file, @NotNull PsiElement psiElement, @Nullable final String suggestedKey, @Nullable String suggestedValue, @Nullable final List<PropertiesFile> propertiesFiles) { final PsiLiteralExpression literalExpression = psiElement instanceof PsiLiteralExpression ? (PsiLiteralExpression)psiElement : null; final String propertyValue = suggestedValue == null ? "" : suggestedValue; final I18nizeQuickFixDialog dialog = new JavaI18nizeQuickFixDialog( project, file, literalExpression, propertyValue, createDefaultCustomization(suggestedKey, propertiesFiles), false, false ); return doAction(project, psiElement, dialog); }