@Override
        public boolean execute(@NotNull PsiElement element, @NotNull ResolveState state) {
          if (element instanceof PsiNamedElement
              && element instanceof PsiModifierListOwner
              && myFilterMethods == element instanceof PsiMethod
              && ((PsiModifierListOwner)element).hasModifierProperty(PsiModifier.STATIC) == myFilterStatics
              && isAccessible(element)) {
            myResult.put(((PsiNamedElement)element).getName(), element);
          }
          return true;
        }
@Override
        public boolean execute(@NotNull PsiElement element, @NotNull ResolveState state)