I pondered suggesting a change for this, but I'm not sure of the approach you would take. Seems like having a type for DUMMY_START_TOKEN would be a good idea, but the fact that it is really not a token makes that seem odd. But getType() is referenced in several places without a null check, so it would seem that either they all need to be guarded or some type needs to be returned.
See pull request for the patch I am using.