code: public JWTPayload setType(String type) {
          this.type = type;
          this.put(PayloadConstants.TYPE, type);
          return this;
      }
docs: Sets the type claim that is used to declare a type for the contents of this JWT Claims Set or {@code null} for none.
  
  <p>
  Overriding is only supported for the purpose of calling the super implementation and changing
  the return type, but nothing else.
  </p>