void (@NotNull String bundleName, @NotNull String key, @NotNull PsiExpression expression, @NotNull InspectionManager manager, @NotNull Map<PsiElement, ProblemDescriptor> problems, boolean onTheFly) { final String description = JavaI18nBundle.message("inspection.unresolved.property.key.reference.message", key); final List<PropertiesFile> propertiesFiles = filterNotInLibrary(expression.getProject(), I18nUtil.propertiesFilesByBundleName(bundleName, expression)); if (problems.containsKey(expression)) return; problems.put(expression, manager.createProblemDescriptor( expression, description, propertiesFiles.isEmpty() ? null : new JavaCreatePropertyFix(expression, key, propertiesFiles), ProblemHighlightType.LIKE_UNKNOWN_SYMBOL, onTheFly ) ); }