boolean (@NotNull PsiElement element) { if (element instanceof PropertiesFile) { final String name = ResourceBundleManager.getInstance(element.getProject()).getFullName((PropertiesFile)element); if (name != null && name.equals(myBundleName)) { return true; } } return false; }