public class Foo { public void foo(Comparable c) { } { foo(1L); } }