AHISM - Avoid Hiding Inherited Static Methods
Detects when inherited static operations are hidden by child classes.
Wrong
void oper1() {}
static void oper2() {}
}
class Animal {
static void oper1() {}
static void oper2() {}
}
Tip: Rename either ancestor or descendant class operations
Right
void anOper1 () {}
static void anOper2 () {}
}
class Animal {
static void oper1() {}
static void oper2() {}
}