The API of ParallelDependencyResolver is documented.
SerialDependencyResolver#moduleProcessed: it is documented that this function throws IllegalStateException if invoked for a non-initialised SerialDependencyResolver.