Question about ExtractSuperClassProcessor?


I used the operation ExtractSuperClass programatically by instanciating the class ExtractSuperClassProcessor, but it does always the inverse. That means that when I like to extract a superClass A from a class B, I get A extends B insteadOf B extends A. The operation behaves as same as its use from the menu refactoring in the case of choice of the option "Rename original class and use superClass where posiible". Is there one who know what is wrong with this operation?

Informations: the parameter MemberInfo contains the method that i like to pull up to the superClass.

1 comment
Comment actions Permalink


I believe ExtractSuperClassUtil.extractSuperClass() is what you need.



Please sign in to leave a comment.