SONARJAVA-772 Create environment for lambdas

Lambdas did not create their environment resulting in hiding of symbols named similarly.