Class GeneratedClassLoader

  • public class GeneratedClassLoader
    extends ClassLoader
    A class loader that actually produces real Java classes from GeneratedCodeClass instances.
    Thomas Down, Matthew Pocock
    • Constructor Detail

      • GeneratedClassLoader

        public GeneratedClassLoader​(ClassLoader parent)
        Create a new loader with an explicitly set parent class loader.
        parent - the parent ClassLoader
    • Method Detail

      • hasGeneratedClass

        public boolean hasGeneratedClass​(String name)
        Discover if a class for this name has already been defined by this class loader.
        name - the name of the class
        true if the class has already been defined by this loader