use of abs.frontend.ast.ParamDecl in project abstools by abstools.
the class AbsASTBuilderUtil method createMethodSig.
public static final MethodSig createMethodSig(String methodName, Access returnType, ParamDecl... decls) {
abs.frontend.ast.List<ParamDecl> dl = new abs.frontend.ast.List<>();
for (ParamDecl d : decls) {
dl.add(d);
}
MethodSig method = new MethodSig(methodName, new abs.frontend.ast.List<>(), returnType, dl);
return method;
}
Aggregations