// Call method that has been overridden (both the new and old one) class Other { void method() {} } class Main extends Other { void main() { Other o; method(); o = (Other) this; o.method(); } void method() {} }