Transfer JavaDoc when safely deleting interface

Answered

Say I have an interface `BaseInterface`, an interface `IntermediateInterface extends BaseInterface` and a class `SomeClass implements IntermediateInterface`. The IntermediateInterface does not define any methods but has some JavaDoc.

I want to delete the IntermediateInterface so it results in ` SomeClass implements BaseInterface`. This already works perfectly fine when I choose to safely delete it. But I would also like to transfer the JavaDoc from the IntermediateInterface to the SomeClass.

 

Is there any way to achieve this? Would be even better if I could do that using Structural Search and Replace as there are many of these cases where we have IntermediateInterface like Interfaces that serve no purpose.

0
1 comment

Hello,

Currently it's not possible.

Feel  free to create feature request on YouTrack: http://youtrack.jetbrains.com/issues/IDEA.

0

Please sign in to leave a comment.