Search in sources :

Example 1 with InvokeMethodFunExpr

use of suite.jdk.gen.FunExprM.InvokeMethodFunExpr in project suite by stupidsing.

the class FunFactory method invokeStatic.

public FunExpr invokeStatic(Class<?> clazz, String methodName, FunExpr... parameters) {
    InvokeMethodFunExpr expr = new InvokeMethodFunExpr();
    expr.clazz = clazz;
    expr.methodName = methodName;
    expr.object = null;
    expr.parameters = List.of(parameters);
    return expr;
}
Also used : InvokeMethodFunExpr(suite.jdk.gen.FunExprM.InvokeMethodFunExpr)

Aggregations

InvokeMethodFunExpr (suite.jdk.gen.FunExprM.InvokeMethodFunExpr)1