class Apply { } public class Lambda { m () { var lam1 = (Integer x) -> { return x; }; return lam1.apply(new Apply()); } }