Hi,

While trying to use 'move member' from the structure view on a method, the
following exception was thrown:

Exception occurred during event dispatching:
java.lang.ClassCastException: com.intellij.psi.impl.source.o
        at
com.intellij.refactoring.actions.MoveMemberAction.a(MoveMemberAction.java:17)

        at com.intellij.refactoring.actions.h.actionPerformed(h.java:21)
        at com.intellij.jd.actions.i.run(i.java:2)
        at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)

        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)

        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

Is this a bug, or can methods not be moved from one class to another?

Regards,

-Darren Hobbs


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to