Skip to content

Commit

Permalink
Test printing J.Identifier prefix before annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Nov 14, 2023
1 parent 171d4b1 commit b42846a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ public J visitForEachLoop(ForEachLoop forEachLoop, PrintOutputCapture<P> p) {

@Override
public J visitIdentifier(Identifier ident, PrintOutputCapture<P> p) {
visit(ident.getAnnotations(), p);
beforeSyntax(ident, Space.Location.IDENTIFIER_PREFIX, p);
visit(ident.getAnnotations(), p);
visitSpace(Space.EMPTY, Space.Location.ANNOTATIONS, p);
p.append(ident.getSimpleName());
afterSyntax(ident, p);
Expand Down

0 comments on commit b42846a

Please sign in to comment.