style issues found using compileStatic and TypeChecked
GROOVY-6391: groovysh: fix bad member name