code: public Class<?> findLoadedClass(ClassLoader classLoader, String className)
      {
          try
          {
              Method findLoadedClassMethod = svFindLoadedClassMethod;
              if (findLoadedClassMethod == null)
              {
                  try
                  {
                      findLoadedClassMethod = ClassLoader.class.getDeclaredMethod("findLoadedClass", String.class);
                  } catch (NoSuchMethodException ex)
                  {
                      throw new IllegalStateException(ex);
                  }
  
                  findLoadedClassMethod.setAccessible(true);
                  svFindLoadedClassMethod = findLoadedClassMethod;
              }
  
              return (Class<?>) findLoadedClassMethod.invoke(classLoader, className);
          } catch (IllegalAccessException ex)
          {
              throw new IllegalStateException(ex);
          } catch (InvocationTargetException ex)
          {
              Throwable cause = ex.getCause();
              if (cause instanceof Error)
              {
                  throw (Error) cause;
              }
              if (cause instanceof RuntimeException)
              {
                  throw (RuntimeException) cause;
              }
              throw new IllegalStateException(cause);
          }
      }
docs: Return {@link ClassLoader#findLoadedClass}.
  
  @param classLoader the class loader
  @param className the class name
  @return the class, or null if not loaded