boolean (@NotNull PsiElement element) { if (PlatformPatterns.psiElement(PsiField.class).withName("BUNDLE_NAME").accepts(element)) { assertEquals("i19n", ((PsiLiteralExpression)((PsiField)element).getInitializer()).getValue()); found[0] = true; } return true; }