// Preconditions.checkArgument(node.getNode() instanceof Stmt,
// "Expected input of action scope.insertEntry to be a Stmt joinpoint");
@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);
    }
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;
@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());
// 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);
}