void () { Function<Integer, Integer> f = Function.identity(); Function<Integer, Integer> g = <error descr="Static method may be invoked on containing interface class only">f.identity();</error> Function<Integer, Integer> h = IFunction.<error descr="Static method may be invoked on containing interface class only">identity</error>(); }