copy method Null safety

Token copy()

Return a newly created token that is a copy of this tokens including any preceedingComment tokens, but that is not a part of any token stream.

Implementation

Token copy();