boolean (@NotNull final PsiElement element) { if (!(element instanceof IProperty property)) { return false; } String baseName = ResourceBundleManager.getInstance(element.getProject()).getFullName(property.getPropertiesFile()); return baseName != null && myBundleName.equals(baseName) && getRangeText().equals(property.getUnescapedKey()); }