GROOVY-6039: Add "handleAmbiguousMethods" to the type checking extensions