GROOVY-6189: first simple prototype of SAM conversion (tests, indy, real method selection pending)
GROOVY-6189: basic indy implementation
GROOVY-6189: make CachedSAMClass handle null arguments as well
GROOVY-6189: adjust method selection for SAM
GROOVY-6189: adapt test for changed method selection process
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
Merge branch 'SAM'
fix merge conflict resolution