Skip to content

Commit

Permalink
Add @JsonCreator to K.ExpressionStatement
Browse files Browse the repository at this point in the history
  • Loading branch information
kunli2 committed Sep 8, 2023
1 parent 1ccb03d commit 68e6c55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/openrewrite/kotlin/tree/K.java
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ public ExpressionStatement(Expression expression) {
this.expression = expression;
}

@JsonCreator
public ExpressionStatement(UUID id, Expression expression) {
this.id = id;
this.expression = expression;
Expand Down

0 comments on commit 68e6c55

Please sign in to comment.