Package javassist

Class Loader.Simple

  • Enclosing class:
    Loader

    public static class Loader.Simple
    extends ClassLoader
    A simpler class loader. This is a class loader that exposes the protected defineClass() method declared in java.lang.ClassLoader. It provides a method similar to CtClass#toClass().

    When loading a class, this class loader delegates the work to the parent class loader unless the loaded classes are explicitly given by invokeDefineClass(CtClass). Note that a class Foo loaded by this class loader is different from the class with the same name Foo but loaded by another class loader. This is Java's naming rule.

    Since:
    3.24