From 95680ca20786f479a946432a4af78a63c264aaf8 Mon Sep 17 00:00:00 2001 From: Braden Steffaniak Date: Tue, 12 Jul 2022 21:36:38 -0400 Subject: [PATCH] Output modifiers for method calls --- src/main/org/flatlang/tree/MethodCall.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/org/flatlang/tree/MethodCall.java b/src/main/org/flatlang/tree/MethodCall.java index 0b4ecc495..a0711dd98 100644 --- a/src/main/org/flatlang/tree/MethodCall.java +++ b/src/main/org/flatlang/tree/MethodCall.java @@ -1642,6 +1642,12 @@ else if (postfix.length() > 0) */ public StringBuilder generateFlatInput(StringBuilder builder, boolean outputChildren) { + if (getAnnotations() != null) { + getAnnotations().forEach(annotation -> { + annotation.generateFlatInput(builder).append(" "); + }); + } + builder.append(getName()); if (declaration instanceof AccessorMethod)