replaceToken

open fun replaceToken(newToken: JavaToken)(source)

Replaces the current token with newToken.