GROOVY-7071: Improve StringGroovyMethods typing info for better @Compile...

...Static integration