This rule is defined by the following Java class: net.sourceforge.pmd.rules.AvoidFieldNameMatchingTypeName
Example:
public class Foo extends Bar { // There's probably a better name for foo int foo; }