To enable formatting modern Java source code, the Google Java Formatter needs to be updated. Versions later than 1.8 require JDK 11. https://github.com/google/google-java-format/releases