private void processMembers(@NotNull Processor<? super PsiElement> processor) {
    final PsiScopeProcessor scopeProcessor = new PsiScopeProcessor() {
      @Override
      public boolean execute(@NotNull PsiElement element, @NotNull ResolveState state) {
        return processor.process(element);
      }
    };

    processMembers(scopeProcessor, EmptyRunnable.getInstance());
  }
private void processMembers(@NotNull Processor<? super PsiElement> processor)