public static boolean isGeneratedClass(Class<?> type) {
        return null != type && type != GeneratedClass.class
                && GeneratedClass.class.isAssignableFrom(type);
    }
public static boolean isGeneratedClass ( Class < ? > type ) { return null != type && type != GeneratedClass . class && GeneratedClass . class . isAssignableFrom ( type ) ; }
/*
Whether class is a bsh script generated type