Suppressing PMD Warnings in Java and Kotlin

Recently I was working on a project which had both Java and Kotlin classes, and used the PMD Source Code Analyzer. Occasionally, it was necessary to suppress a PMD warning, for example when you have a long line because of a code template. Suppressing warnings is slightly different for each language, and can be easy […]