openrewrite / rewrite-static-analysis

OpenRewrite recipes for identifying and fixing static analysis issues.
Apache License 2.0
27 stars 43 forks source link

Fix bug in InstanceOfPatternMatch getting the variable name from the name of a nested class #291

Closed nguyenhoan closed 1 month ago

nguyenhoan commented 1 month ago

What's changed?

Fix bug in InstanceOfPatternMatch getting the variable name from the name of a nested class.

What's your motivation?

Fixes https://github.com/openrewrite/rewrite-static-analysis/issues/290

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

@timtebeek

Have you considered any alternatives or workarounds?

Any additional context

Checklist

nguyenhoan commented 1 month ago

Thank you for reviewing and merging the PR!