That function must end up being an actual method somewhere (it's Java, everything is a method) but a lambda might be fine in the source. Bar cares not that this function comes from Foo, just that it ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results