ClassLoader classLoader = getClass().getClassLoader();
String currentPackageName = this.getClass().getPackage().getName();
currentPackageName = currentPackageName.replace('.', '/');
FileUtil fileUtil = new FileUtil(getContext());
String scriptText = fileUtil.resourceAsString(classLoader, currentPackageName + "/EvaluatorTemplate.groovy");
if (scriptText == null) {
return;
}
// insert the expression into script text