boolean (@NotNull final PsiClass psiClass, final ProcessingContext context) { for (PsiField field : (checkDeep ? psiClass.getAllFields() : psiClass.getFields())) { if (memberPattern.accepts(field, context)) { return true; } } return false; }