protected void type(Robot robot, int code, @JdkConstants.InputEventMask int modifiers) {
    type(robot, KeyStroke.getKeyStroke(code, modifiers));
  }
protected void type(Robot robot, int code, @JdkConstants.InputEventMask int modifiers)