From 6c8239d28a01ce88dc0e9e6e54903bdfe6659679 Mon Sep 17 00:00:00 2001 From: Maowcraft <28311382+MaowImpl@users.noreply.github.com> Date: Tue, 30 Mar 2021 14:52:57 -0400 Subject: [PATCH] blockbuilder set flags --- .../org/transparent/eureka/tree/builder/BlockBuilder.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/transparent/eureka/tree/builder/BlockBuilder.java b/src/main/java/org/transparent/eureka/tree/builder/BlockBuilder.java index 93028bc..7404f56 100644 --- a/src/main/java/org/transparent/eureka/tree/builder/BlockBuilder.java +++ b/src/main/java/org/transparent/eureka/tree/builder/BlockBuilder.java @@ -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)); }