Class ClassLoaderUtil


  • public class ClassLoaderUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassLoaderUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String[] createArgNames​(int number)  
      static org.apache.bcel.generic.InstructionHandle findInstructionHandle​(org.apache.bcel.generic.InstructionList il, org.apache.bcel.generic.Instruction i)  
      static java.util.List<org.apache.bcel.classfile.Method> getAllConstructors​(org.apache.bcel.classfile.JavaClass clazz)  
      static org.apache.bcel.classfile.Method getPaintMethod​(org.apache.bcel.classfile.JavaClass clazz)  
      static java.lang.ClassLoader getServiceClassLoader()  
      static void initializeServices()
      Called from main.Main using reflection to initialize services in isolated classloader.
      static boolean isInPackage​(java.lang.String packageInspected, java.lang.String[] packagePrefixed)  
      static boolean isSubClassOfJComponent​(org.apache.bcel.classfile.JavaClass clazz)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassLoaderUtil

        public ClassLoaderUtil()
    • Method Detail

      • initializeServices

        public static void initializeServices()
        Called from main.Main using reflection to initialize services in isolated classloader.
      • getAllConstructors

        public static java.util.List<org.apache.bcel.classfile.Method> getAllConstructors​(org.apache.bcel.classfile.JavaClass clazz)
      • getPaintMethod

        public static org.apache.bcel.classfile.Method getPaintMethod​(org.apache.bcel.classfile.JavaClass clazz)
      • isSubClassOfJComponent

        public static boolean isSubClassOfJComponent​(org.apache.bcel.classfile.JavaClass clazz)
      • isInPackage

        public static boolean isInPackage​(java.lang.String packageInspected,
                                          java.lang.String[] packagePrefixed)
      • createArgNames

        public static java.lang.String[] createArgNames​(int number)
      • findInstructionHandle

        public static org.apache.bcel.generic.InstructionHandle findInstructionHandle​(org.apache.bcel.generic.InstructionList il,
                                                                                      org.apache.bcel.generic.Instruction i)
      • getServiceClassLoader

        public static java.lang.ClassLoader getServiceClassLoader()