code: public static String getEntityClassName(Class<?> clazz) {
      String name = clazz.getName();
      int dollar = name.indexOf("_$$_");
      if (-1 == dollar) {
        return name;
      } else {
        return name.substring(0, dollar);
      }
    }
docs: 为了取出CGLIB代来的代理命名
  
  @param clazz a {@link java.lang.Class} object.
  @return a {@link java.lang.String} object.