Eat `.identifier` in Java to prevent detection of the class mode in `.class`. Fixes #345.