UnusedPrivateField Category: pmd Rule Key: pmd:UnusedPrivateField ⚠️ This rule is deprecated in favour of S1068. Detects when a private field is declared and/or assigned a value, but not used.