GroovyScriptClass () { if (!isScript()) { return null; } GroovyScriptClass aClass = myScriptClass; if (aClass == null) { aClass = new GroovyScriptClass(this); myScriptClass = aClass; } return aClass; }