@Test public void showClassLoaderHierarchy() throws Exception { System.out.print(ClassLoaderUtils.showClassLoaderHierarchy( new ClassLoaderUtilsTest(), "test", "\n", "----")); }
public static String showClassLoaderHierarchy(Object obj, String role, String delim, String tabText) { String s = "object of " + obj.getClass() + ": role is " + role + delim; return s + showClassLoaderHierarchy(obj.getClass().getClassLoader(), delim, tabText, 0); }
ClassLoaderUtils { public static String showClassLoaderHierarchy(Object obj, String role, String delim, String tabText) { String s = "object of " + obj.getClass() + ": role is " + role + delim; return s + showClassLoaderHierarchy(obj.getClass().getClassLoader(), delim, tabText, 0); } }
ClassLoaderUtils { public static String showClassLoaderHierarchy(Object obj, String role, String delim, String tabText) { String s = "object of " + obj.getClass() + ": role is " + role + delim; return s + showClassLoaderHierarchy(obj.getClass().getClassLoader(), delim, tabText, 0); }  }
ClassLoaderUtils { public static String showClassLoaderHierarchy(Object obj, String role, String delim, String tabText) { String s = "object of " + obj.getClass() + ": role is " + role + delim; return s + showClassLoaderHierarchy(obj.getClass().getClassLoader(), delim, tabText, 0); }  static InputStream getResourceAsStream(Class clazz, String name); static String showClassLoaderHierarchy(Object obj, String role, String delim, String tabText); static String showClassLoaderHierarchy(ClassLoader cl, String delim, String tabText, int indent); }
ClassLoaderUtils { public static String showClassLoaderHierarchy(Object obj, String role, String delim, String tabText) { String s = "object of " + obj.getClass() + ": role is " + role + delim; return s + showClassLoaderHierarchy(obj.getClass().getClassLoader(), delim, tabText, 0); }  static InputStream getResourceAsStream(Class clazz, String name); static String showClassLoaderHierarchy(Object obj, String role, String delim, String tabText); static String showClassLoaderHierarchy(ClassLoader cl, String delim, String tabText, int indent);  }