The overriding method merely calls the same method defined in a superclass@Id public Long getId() { return super.getId(); //OK if 'ignoreAnnotations' is false, which is the default behavior }Additional info can be found at this http://pmd.sourceforge.net/rules/basic.html#UselessOverridingMethod site.