commit | d594121490e7ece91f116c049ee586f7720074bd | [log] [tgz] |
---|---|---|
author | Jeff Johnston <jjohnstn@redhat.com> | Thu Jul 08 16:34:28 2021 -0400 |
committer | Jeff Johnston <jjohnstn@redhat.com> | Fri Jul 23 15:20:37 2021 -0400 |
tree | f6155f5112ab54f1c347beee9a0c5bb47d229b88 | |
parent | a067a3c2cff6663da5fb2536f13916540ae28453 [diff] |
Bug 573884 - [refactoring] "Extract superclass" produces compile errors - make PullUpRefactoringProcessor.checkFinalFields() method protected so it can be overridden - add new checkFinalFields() method to ExtractSupertypeProcessor that doesn't do anything and succeeds - add new code to ExtractSupertypeProcessor.createNecessaryConstructors method to keep track of any uninitialized non-static final fields that are being moved and to modify the constructors to pass and set these fields - add new fixConstructorsWithFinalFieldInitialization to modify any constructors in the original type that initialize final fields that are moved to add the field arguments to a super constructor and remove any statements that set the fields - add new tests to ExtractSupertypeTests and add support for extracting fields as well as methods Change-Id: I9592e0d9a01d764531a88837cdb7a04ac23b30f0 Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/183208 Tested-by: JDT Bot <jdt-bot@eclipse.org> Tested-by: Jeff Johnston <jjohnstn@redhat.com> Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Thanks for your interest in this project.
The JDT UI implements the user interface for the Java IDE. This includes views like Package Explorer and JUnit, the Java and properties files editors, Java search, and refactorings. Website: http://www.eclipse.org/jdt/ui/
Contributions to JDT UI are most welcome. There are many ways to contribute, from entering high quality bug reports, to contributing code or documentation changes. For a complete guide, see the [How to Contribute] 1 page on the team wiki.
Information regarding source code management, builds, coding standards, and more.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Public forum for Eclipse JDT users.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!
Contact the project developers via the project's “dev” list.