-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Data in Eclipse Neon: Extract Interface, Pull Up not working #1309
Comments
I am observing the same issue. Is there a fix for this ? |
I also have this issue, is there a workaround? |
@rzwitserloot I fixed the extract interface code and added a few patches for the pull up refactoring. This works fine as long as no one tries to pull up generated fields (e.g. |
@Rawi01 Nah, if the user does something that they can reasonably expect is a nonsensical operation, I don't think we should bend over backwards to try to make it make sense anyway. Just erroring out is great. Doing something bizarre (such as removing the annotation from where it is and moving it, on its own, to a newly created file, thus resulting in a nonsensical uplifted file) is fine too. |
With @DaTa the Eclipse features "Extract Interface" and "Pull Up" (to interface) do not work.
Steps to reproduce - Extract Interface
Create Class:
Select Refactor - Extract Interface
No Error, but an empty interface will be created:
Steps to reproduce - Pull Up
Use TestClass and TestInterface from previous example.
Open TestClass
Error:
(See Log Message at End of Post)
Expected Behavior
The Interface should be created in default format:
Version info
It's not working in an older Version of Eclipse too:
Eclipse Error
The text was updated successfully, but these errors were encountered: