code: public static ClassReloadingStrategy fromInstalledAgent() {
          try {
              return ClassReloadingStrategy.of((Instrumentation) ClassLoader.getSystemClassLoader()
                      .loadClass(INSTALLER_TYPE)
                      .getMethod(INSTRUMENTATION_GETTER)
                      .invoke(STATIC_MEMBER));
          } catch (RuntimeException exception) {
              throw exception;
          } catch (Exception exception) {
              throw new IllegalStateException("The Byte Buddy agent is not installed or not accessible", exception);
          }
      }
docs: <p>
  Obtains a {@link net.bytebuddy.dynamic.loading.ClassReloadingStrategy} from an installed Byte Buddy agent. This
  agent must be installed either by adding the {@code byte-buddy-agent.jar} when starting up the JVM by
  </p>
  <p>
  <code>
  java -javaagent:byte-buddy-agent.jar -jar app.jar
  </code>
  </p>
  or after the start up using the Attach API. A convenience installer for the OpenJDK is provided by the
  {@code ByteBuddyAgent} within the {@code byte-buddy-agent} module. The strategy is determined by the agent's support
  for redefinition where are retransformation is preferred over a redefinition.
  
  @return A class reloading strategy which uses the Byte Buddy agent's {@link java.lang.instrument.Instrumentation}.