import java.util.Map.Entry; public class A { void foo(Entry<Object, Object> o) { } }