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 ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results