docs: public static boolean isPrimitive(String name, JCodeModel owner) {
          try {
              return JType.parse(owner, name) != owner.VOID;
          } catch (IllegalArgumentException e) {
              return false;
          }
      }