Suppressing Google Checkstyle warnings via checkstyle-suppressions.xml

I’m using google_checks.xml as a CheckStyle config in my Gradle project. I need to be able to suppress the MemberName warning in one of my classes, and I can do so using @SuppressWarnings(“…

try-finally with close auto-refactoring to try-with-resources with codestyle/checkstyle

I am working on a codebase that has recently migrated from Java 6 to Java 7. I would like to replace constructions like this: Connection conn = null; try{ conn = new Connection(); … } catch(…