docs: protected CommonToken createToken(CommonToken prototype, String text, 
  			Integer charPosInLine, Integer channel, Integer start, Integer stop, Integer type) {
  		if (prototype == null)
  			throw new IllegalArgumentException("Prototype may not be null.");
  		CommonToken result = new CommonToken(prototype);
  		if (text != null)
  			result.setText(text);
  		if (charPosInLine != null)
  			result.setCharPositionInLine(charPosInLine.intValue());
  		if (channel != null)
  			result.setChannel(channel.intValue());
  		if (start != null)
  			result.setStartIndex(start.intValue());
  		if (stop != null)
  			result.setStopIndex(stop.intValue());
  		if (type != null)
  			result.setType(type.intValue());
  		return result;
  	}