added scope checks: method overrides and no overloads, method parameters, class fields and methods with inheritance.