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