docs: public ClassInfoList getAllClasses() {
          if (closed.get()) {
              throw new IllegalArgumentException("Cannot use a ScanResult after it has been closed");
          }
          if (!scanSpec.enableClassInfo) {
              throw new IllegalArgumentException("Please call ClassGraph#enableClassInfo() before #scan()");
          }
          return ClassInfo.getAllClasses(classNameToClassInfo.values(), scanSpec);
      }