This PR contains recipe - org.openrewrite.java.migrate.ArrayStoreExceptionToTypeNotPresentException
Rule:
What's your motivation?
This custom recipe replaces catch blocks for ArrayStoreException around getAnnotation() with TypeNotPresentException to ensure compatibility with Java 11+.
Anyone you would like to review specifically?
@timtebeek @cjobinabo
Checklist
[x] I've added unit tests to cover both positive and negative cases
What's changed?
This PR contains recipe - org.openrewrite.java.migrate.ArrayStoreExceptionToTypeNotPresentException Rule:
What's your motivation?
This custom recipe replaces catch blocks for
ArrayStoreException
aroundgetAnnotation()
withTypeNotPresentException
to ensure compatibility with Java 11+.Anyone you would like to review specifically?
@timtebeek @cjobinabo
Checklist