Hi Alex, Thanks for the solution. It worked for me. I added a violationSuppressXPath for ShortClassName. I found one more solution to it. We can add "@SuppressWarnings("PMD.ShortClassName")" Annotation in the class. I thought to mention this in mail. It can be helpful to someone else who has the same issue.
-- Thanks & Regards *Virendra Singh Rajpurohit*