@Override
    public AJoinPoint insertBeginImpl(AJoinPoint node) {
	Stmt newStmt = ClavaNodes.toStmt(node.getNode());
	// Preconditions.checkArgument(node.getNode() instanceof Stmt,
	// "Expected input of action scope.insertEntry to be a Stmt joinpoint");
	CxxActions.insertStmt("before", scope, newStmt, getWeaverEngine());
	// return node;
	// TODO: Consider returning newStmt instead
	return CxxJoinpoints.create(newStmt);
    }
@Override
    public AJoinPoint insertBeginImpl(AJoinPoint node) {
	Stmt newStmt = ClavaNodes.toStmt(node.getNode());


	CxxActions.insertStmt("before", scope, newStmt, getWeaverEngine());


	return CxxJoinpoints.create(newStmt);
    }
@override public ajoinpoint insertbeginimpl(ajoinpoint node) { stmt newstmt = clavanodes.tostmt(node.getnode()); cxxactions.insertstmt("before", scope, newstmt, getweaverengine()); return cxxjoinpoints.create(newstmt); }