code: void setTokenKind(int newKind) {
          org.drools.constraint.parser.JavaToken token = (org.drools.constraint.parser.JavaToken)token();
          token.setKind(newKind);
      }
docs: /* Sets the kind of the last matched token to newKind