use of org.codehaus.groovy.ast.expr.MapExpression in project groovy-core by groovy.
the class ImmutableASTTransformation method createNoArgConstructor.
private void createNoArgConstructor(ClassNode cNode) {
Statement body = stmt(ctorX(ClassNode.THIS, args(new MapExpression())));
doAddConstructor(cNode, new ConstructorNode(ACC_PUBLIC, Parameter.EMPTY_ARRAY, ClassNode.EMPTY_ARRAY, body));
}
Aggregations