code: protected PrimitiveTypeConfiguration primitiveType( Class type ) {
          if ( !type.isPrimitive() ) {
              throw new IllegalArgumentException( "Type " + type + " is not a primitive. Call type(Class) instead" );
          }
          return new PrimitiveTypeConfiguration( type );
      }
docs: <p>primitiveType</p>
  
  @param type Type
  @return a {@link PrimitiveTypeConfiguration} to configure serializer and/or deserializer for the given primitive type.