code: @Override
      protected final Class<?> resolveClass(ObjectStreamClass objectStreamClass) throws IOException,
          ClassNotFoundException {
          String className = objectStreamClass.getName();
  
          Class<?> candidate = resolveClassByClassResolver(className);
          if (candidate != null) {
              return candidate;
          }
  
          return super.resolveClass(objectStreamClass);
      }
docs: {@inheritDoc}