ElementFilter () { return new OrFilter( ElementClassFilter.CLASS, ElementClassFilter.PACKAGE, new AndFilter(new ClassFilter(PsiField.class), new ModifierFilter(PsiModifier.STATIC, PsiModifier.FINAL))); }