[Validator] fixed StaticMethodLoader trying to invoke methods of abstract classes (closes #8589)