openrewrite / rewrite-jackson

OpenRewrite recipes for Jackson.
Apache License 2.0
1 stars 0 forks source link

Reproduce static import issue with nested enum values #6

Closed timtebeek closed 1 week ago

timtebeek commented 1 month ago

What's changed?

Use static imports in the test added in https://github.com/openrewrite/rewrite-jackson/commit/aa329b2f4bf30fb0ada150d18e7e9200c18268de.

What's your motivation?

Reflect the issue reported.

Have you considered any alternatives or workarounds?

We have some recipes for constants, by those do not accept wildcards, nor do they operate on enum fields.

timtebeek commented 1 month ago

What's possibly not helping here is the missing type on the import; although I'm not sure if that's really the issue. image

timtebeek commented 1 week ago

Likely to be fixed in this PR; we can still update the test here to be sure.