class Test { public interface I { public V put(K k); } { final I i = (Number n) -> n.toString(); } }