/** * Get the information for a class * * @param name the name * @param cl the classloader * @return the info * @throws ClassNotFoundException when the class cannot be found */ public T get(String name, ClassLoader cl) throws ClassNotFoundException { if (name == null) throw new IllegalArgumentException("Null name"); if (cl == null) throw new IllegalArgumentException("Null classloader"); Class<?> clazz = cl.loadClass(name); return get(clazz); }