@Override
      public boolean accepts(final @Nullable Object o, final ProcessingContext context) {
        return filter == null ||
               o != null &&
               filter.isClassAcceptable(o.getClass()) &&
               filter.isAcceptable(o, o instanceof PsiElement ? (PsiElement)o : null);
      }
@Override
      public boolean accepts(final @Nullable Object o, final ProcessingContext context)