boolean (GroovyClassDescriptor descriptor, PsiScopeProcessor _processor, ResolveState state) { String hint = ResolveUtil.getNameHint(_processor); ElementClassHint classHint = _processor.getHint(ElementClassHint.KEY); if (shouldProcessMethods(classHint)) { for (PsiMethod declaration : myMethods) { if (checkName(hint, declaration) && !_processor.execute(declaration, state)) return false; } } if (shouldProcessProperties(classHint)) { for (PsiVariable declaration : myVariables) { if (checkName(hint, declaration) && !_processor.execute(declaration, state)) return false; } } return true; }