public class Foo { void m(Object o) { bar().cast } void bar() {} }