Use method reference instead of lambdas in team

Method references are slightly faster than lambdas and better readable.
Commited after the lambda as these are two different cleanups (one from
JDT and one from Autorefactor)

Change-Id: If1344d96aa08458e2a636a4c7036e3c8861bccd1
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
14 files changed