Hiding Inherited Attribute (HIA)

Description:

This rule detects when attributes declared in child classes hide inherited attributes.

Example:

class Elephant extends Animal {
    int attr1; 
    // something...;
}
class Animal {
    int attr1;
}