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