This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit b138eebb787da1d929e5296fcd00cf4a4f9de98b Merge: 5c4660aa8c4 854f904bdc3 Author: Jan Lahoda <[email protected]> AuthorDate: Fri Aug 30 12:37:19 2024 +0200 Merge pull request #7670 from lahodaj/rename-record-component Fixing rename refactoring for record components and compact constructors .../java/editor/base/semantic/Utilities.java | 12 +- .../java/editor/base/semantic/MarkOccDetTest.java | 30 ++ .../java/editor/rename/InstantRenamePerformer.java | 3 + .../editor/rename/InstantRenameActionTest.java | 17 +- .../editor/rename/InstantRenamePerformerTest.java | 14 +- java/java.source.base/apichanges.xml | 12 + java/java.source.base/nbproject/project.properties | 2 +- .../netbeans/api/java/source/ElementHandle.java | 9 +- .../netbeans/api/java/source/ElementUtilities.java | 139 ++++++- .../org/netbeans/api/java/source/TreeMaker.java | 15 + .../netbeans/api/java/source/TreePathHandle.java | 9 + .../netbeans/api/java/source/TreeUtilities.java | 14 +- .../modules/java/source/builder/TreeFactory.java | 9 + .../modules/java/source/save/CasualDiff.java | 67 +++- .../api/java/source/ElementHandleTest.java | 76 ++++ .../api/java/source/ElementUtilitiesTest.java | 205 ++++++++++ .../netbeans/api/java/source/TestUtilities.java | 11 + .../api/java/source/TreeUtilitiesTest.java | 50 +++ .../netbeans/api/java/source/gen/RecordTest.java | 250 ++++++++++++ java/refactoring.java/nbproject/project.properties | 2 +- .../refactoring/java/plugins/JavaPluginUtils.java | 60 +-- .../java/plugins/RenameRefactoringPlugin.java | 49 +-- .../java/plugins/RenameTransformer.java | 45 ++- .../refactoring/java/test/RenameRecordTest.java | 418 +++++++++++++++++++++ .../modules/refactoring/java/test/RenameTest.java | 56 +++ 25 files changed, 1469 insertions(+), 105 deletions(-) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
