GROOVY-6694: Fix access of static properties from within the trait
GROOVY-6650: Fix method selection in case of last argument being an array
GROOVY-6650: Fix regression in method selection