You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In generic types, annotations are removed and the annotated type parameter becomes fully qualified, when moving the annotated type to another package
#1887
Open
pewe2024 opened this issue
Dec 26, 2024
· 0 comments
contains an eclipse project, that can be used to reproduce the error.
If you move the contained file TestProject/src/sourcepackage/MovedType.java by either dragging and dropping it to TestProject/src/destinationpackage or by using Refactor -> Move..., the file TestProject/src/staticpackage/Test.java will show the error.
The text was updated successfully, but these errors were encountered:
pewe2024
changed the title
In generic types, annotations are removed and the annotated type becomes fully qualified, when moving the annotated type to another package
In generic types, annotations are removed and the annotated type parameter becomes fully qualified, when moving the annotated type to another package
Dec 26, 2024
The following bug exists in Eclipse IDE 2024-12 (as well as in older versions of the Eclipse IDE):
If you have the Java class
and you move the type
MovedType
to another package, the @Annotation is removed and the type parameterMovedType
becomes fully qualified.The class will look like that, afterwards:
Instead, only the import for
MovedType
(which is omitted here) should change.The attached file
TestProject.zip
contains an eclipse project, that can be used to reproduce the error.
If you move the contained file TestProject/src/sourcepackage/MovedType.java by either dragging and dropping it to TestProject/src/destinationpackage or by using Refactor -> Move..., the file TestProject/src/staticpackage/Test.java will show the error.
The text was updated successfully, but these errors were encountered: