docs: protected Class<?> findClass(String name) throws ClassNotFoundException {
          byte[] binaryRepresentation = persistenceHandler.lookup(name, typeDefinitions);
          if (binaryRepresentation == null) {
              throw new ClassNotFoundException(name);
          } else {
              try {
                  byte[] transformed = classFileTransformer.transform(this, name, UNLOADED_TYPE, protectionDomain, binaryRepresentation);
                  if (transformed != null) {
                      binaryRepresentation = transformed;
                  }
                  return AccessController.doPrivileged(new ClassDefinitionAction(name, binaryRepresentation), accessControlContext);
              } catch (IllegalClassFormatException exception) {
                  throw new IllegalStateException("The class file for " + name + " is not legal", exception);
              }
          }
      }