code: public JWTHeader setType(String type) {
          this.type = type;
          this.put(HeaderConstants.TYPE, type);
          return this;
      }
docs: Sets the type header parameter used to declare the type of this object 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>