We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
J.InstanceOf
1 parent 74a6d19 commit 98ce901Copy full SHA for 98ce901
1 file changed
rewrite-java/src/main/java/org/openrewrite/java/tree/J.java
@@ -2942,7 +2942,7 @@ public String toString() {
2942
2943
@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
2944
@EqualsAndHashCode(callSuper = false, onlyExplicitlyIncluded = true)
2945
- @RequiredArgsConstructor
+ @RequiredArgsConstructor(onConstructor_ = {@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)})
2946
@AllArgsConstructor(access = AccessLevel.PRIVATE)
2947
final class InstanceOf implements J, Expression, TypedTree {
2948
@Nullable
0 commit comments