jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/canonical/builtin/JqReturnValueEvaluatorBuilder.java [40:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Expression build(ContextResolver resolver, String expression, Class<?> type, String rootName) {
        NodeList<Expression> arguments = new NodeList<>();
        arguments.add(new StringLiteralExpr("jq"));
        arguments.add(new StringLiteralExpr(ConversionUtils.sanitizeString(expression)));
        arguments.add(new StringLiteralExpr(rootName));
        arguments.add(new ClassExpr(StaticJavaParser.parseClassOrInterfaceType(type.getName())));

        return new ObjectCreationExpr(null, StaticJavaParser.parseClassOrInterfaceType(ExpressionReturnValueEvaluator.class.getName()), arguments);

    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/canonical/builtin/JsonpathReturnValueEvaluatorBuilder.java [40:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Expression build(ContextResolver resolver, String expression, Class<?> type, String rootName) {
        NodeList<Expression> arguments = new NodeList<>();
        arguments.add(new StringLiteralExpr("jsonpath"));
        arguments.add(new StringLiteralExpr(ConversionUtils.sanitizeString(expression)));
        arguments.add(new StringLiteralExpr(rootName));
        arguments.add(new ClassExpr(StaticJavaParser.parseClassOrInterfaceType(type.getName())));

        return new ObjectCreationExpr(null, StaticJavaParser.parseClassOrInterfaceType(ExpressionReturnValueEvaluator.class.getName()), arguments);

    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



