public final class Reflections {

    /**
     * Get all classes within a package
     *
     * @param loader
     * @param packageName
     * @return
     * @throws Exception
     */
    public static List<Class<?>> getClassesFromPackage(ClassLoader loader, String packageName) throws Exception {
        List<Class<?>> classes = Lists.newArrayList();
        for (final ClassPath.ClassInfo info : ClassPath.from(loader).getTopLevelClasses()) {
            if (info.getName().startsWith(packageName.concat("."))) {