Java和groovy交互的结果累加方法
首先需要把相关参数设置为全局变量ClassLoader parent = ClassLoader.getSystemClassLoader(); GroovyClassLoader loader = new GroovyClassLoader(parent); Class gClass; GroovyObject groovyObject; boolean isInit_gClass = false; boolean isInit_groovyObject = fa