GROOVY-6189: tweak method selection to be more compatible and remove change to test
GROOVY-6189: added a few tests for SAM coercion
GROOVY-6189: SAM conversion for casts plus tests to ensure it works for attribues and properties
GROOVy-6189: Implementation of the current SAM conversion state for type checking and static compilation
Additional test cases for SAM type conversion and type checking
Fix unit test for SAM type conversion in case of method accepting a closure