This PR contains recipe:
org.openrewrite.java.migrate.ReferenceCloneMethod
This rule:
What's your motivation?
The custom recipe, replaces the calls to java.lang.ref.Reference.clone() with a constructor call passing in the referent and reference queue as parameters.
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.ReferenceCloneMethod This rule:
What's your motivation?
The custom recipe, replaces the calls to
java.lang.ref.Reference.clone()
with a constructor call passing in the referent and reference queue as parameters.Anyone you would like to review specifically?
@timtebeek @cjobinabo
Checklist