Search code examples
intellij-idearefactoring

Is there any refactoring option in IntelliJ to to move a non static member to another class?


I have two entity classes (A and B) and I want to move one of the members from one A to B. It is a non static member.

Is there an IntelliJ refactoring option that allows this?

I'm using IntelliJ R13 Community Edition.


Solution

  • In IntelliJ 13.1 and below, the refactoring "Move" option only works for static members. (thanks, luke)

    Source: http://www.jetbrains.com/idea/webhelp/move-members-dialog.html