Skip to content

Commit

Permalink
blockbuilder set flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Maowcraft authored and Maowcraft committed Mar 30, 2021
1 parent 74e783f commit 6c8239d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ public BlockBuilder(Names names, TreeMaker maker, TreeFactory tree) {
this.factory = tree;
}

public BlockBuilder setFlags(long flags) {
this.flags = flags;
return this;
}

public BlockBuilder returnStat(JCExpression value) {
return add(factory.returnStat(value));
}
Expand Down

0 comments on commit 6c8239d

Please sign in to comment.