public abstract class Super { void foo() { if (this instanceof Sub) { this.subme } } } interface Sub extends Zzza { void subMethod() {} }