code: public static String getPrimitiveObjCType(TypeMirror type) {
      return TypeUtil.isVoid(type) ? "void"
          : type.getKind().isPrimitive() ? "j" + TypeUtil.getName(type) : "id";
    }
docs: Converts a Java type to an equivalent Objective-C type, returning "id" for an object type.