code: public boolean hasPrimitivePeer() {
          if (mObjectClass == Integer.class ||
              mObjectClass == Boolean.class ||
              mObjectClass == Byte.class ||
              mObjectClass == Character.class ||
              mObjectClass == Short.class ||
              mObjectClass == Long.class ||
              mObjectClass == Float.class ||
              mObjectClass == Double.class ||
              mObjectClass == Void.class) {
  
              return true;
          }
  
          return false;
      }
docs: Returns true if this type is not primitive, but it has a primitive
  type peer.