GROOVY-6761 this changes the method finding to ignore generics and instead let the inference engine test the validity of methods. As a result many error messages change
Fix version recognition under custom JDK builds