code: private static Class<?> loadClass(String name) throws ClassNotFoundException {
      ClassLoader loader =
          firstNonNull(
              currentThread().getContextClassLoader(), StackTraceCleaner.class.getClassLoader());
      return loader.loadClass(name);
    }
docs: /*
  TODO(cpovirk): Consider avoiding classloading entirely by reading classes with ASM. But that
  won't work on Android, so we might ultimately need classloading as a fallback. Another
  possibility is to load classes in a fresh, isolated classloader. However, that requires
  creating a list of jars to load from, which is fragile and would also require special handling
  under Android. If we're lucky, this new solution will just work: The classes should already be
  loaded, anyway, since they appear on the stack, so we just have to hope that we have the right
  classloader.