netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

fixes omission in refactoring for record, inner to outer and pullup.

Open homberghp opened this issue 6 months ago • 5 comments

This PR closes #7044

The issue describes that record info was lost when doing and inner to outer or pull up refactoring.

In this pull request

  • tests to show the issue.
  • junit test helper to make test output better understandable: AssertLinesEqualHelpers.java
  • added factory for Record classTree in TreeFactory and TreeMaker
  • improved methods in CasualDiff and VeryPretty to pick op parameters from record in constructor, so that var args are preserved.

And also: minimal drive-by changes.

homberghp avatar Apr 24 '25 17:04 homberghp