Unused Private Method detects when a private method is declared but is unused. public class Something { private void foo() {} // unused } Additional info can be found at this http://pmd.sourceforge.net/rules/unusedcode.html#UnusedPrivateMethod site.
public class Something { private void foo() {} // unused }
Additional info can be found at this http://pmd.sourceforge.net/rules/unusedcode.html#UnusedPrivateMethod site.