Skip to content

Conversation

@Gosho1024
Copy link
Contributor

@Gosho1024 Gosho1024 commented Dec 23, 2025

What's changed?

Instead of using TypeUtils.isOfClassType use TypeUtils.isAssignableTo to accommodate subclasses

What's your motivation?

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@timtebeek
Copy link
Member

Thanks for working that out and providing the immediate fix!

@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Dec 23, 2025
@timtebeek timtebeek merged commit a5c433b into openrewrite:main Dec 23, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Dec 23, 2025
@timtebeek timtebeek added bug Something isn't working assertj hamcrest enhancement New feature or request labels Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assertj bug Something isn't working enhancement New feature or request hamcrest

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants