Class GeneratedClasses

java.lang.Object
org.apache.openjpa.util.GeneratedClasses

public class GeneratedClasses extends Object
Utility methods when generating classes, including at runtime.
Since:
1.0.0
  • Constructor Details

    • GeneratedClasses

      public GeneratedClasses()
  • Method Details

    • getMostDerivedLoader

      public static ClassLoader getMostDerivedLoader(Class c1, Class c2)
      Return the more derived loader of the class laoders for the given classes.
    • loadAsmClass

      public static Class loadAsmClass(String className, byte[] classBytes, Class<?> proxiedClass, ClassLoader loader)