Here are some suggestions for how to set up your IDE and code linting tools to use the OSHDB code style.
Please follow this guide using this intellij-java-google-style.xml.
Please use this guide to import the dedicated eclipse-java-google-style.xml.
Checkstyle can check if Java code complies to a given set of code style rules. It can be used standalone, but there are also plugins for IDEs like intelliJ and eclipse, or for build tools like maven.
For checkstyle, use our dedicated checkstyle-google-ohsome.xml configuration file.