fix typo
implement java specific token types