boolean (@NotNull Property property) { PsiFile file = property.getContainingFile(); String fileName = file.getName(); if (!fileName.endsWith(BUNDLE_PROPERTIES)) return false; String name = property.getName(); if (name == null) return false; if (isActionOrGroupKey(name) || isExportableKey(name) || isToolwindowKey(name) || isPluginDescriptionKey(name) || isAdvancedSettingKey(name)) { PsiElement key = property.getFirstChild(); PsiReference[] references = key == null ? PsiReference.EMPTY_ARRAY : key.getReferences(); boolean hasResolve = ContainerUtil.exists(references, reference -> { boolean unresolved = reference instanceof PsiPolyVariantReference ? ((PsiPolyVariantReference)reference).multiResolve(false).length == 0 : reference.resolve() == null; return !unresolved; }); return hasResolve && isPluginProject(property); } return isIconTooltipKey(name) && isPluginProject(property); }