Correct how we analyze if a class contains override or hiding method