IDEA-57867 Package declaration not updated when Groovy class is moved
authorMaxim Medvedev <maxim.medvedev@jetbrains.com>
Mon, 13 Sep 2010 08:23:20 +0000 (12:23 +0400)
committerMaxim Medvedev <maxim.medvedev@jetbrains.com>
Mon, 13 Sep 2010 08:23:20 +0000 (12:23 +0400)
commit8e66303be157fe64df559c91a1e1dc51036fbede
treee53434682a3d974c4b914cd3a0fe03316103cf26
parentf3a548598de0575faa93d409434ee769cb3f853b
 IDEA-57867    Package declaration not updated when Groovy class is moved
12 files changed:
plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/GroovyFileImpl.java
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/move/MoveGroovyClassHandler.java
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/move/MoveGroovyClassUtil.java [new file with mode: 0644]
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/move/MoveGroovyScriptHandler.java
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/move/MoveGroovyScriptProcessor.java
plugins/groovy/test/org/jetbrains/plugins/groovy/refactoring/move/GroovyMoveScriptTest.java
plugins/groovy/testdata/refactoring/move/moveScript/scriptWithClasses/after/a/Y.groovy [new file with mode: 0644]
plugins/groovy/testdata/refactoring/move/moveScript/scriptWithClasses/after/b/Foo.groovy [new file with mode: 0644]
plugins/groovy/testdata/refactoring/move/moveScript/scriptWithClasses/after/b/X.groovy [new file with mode: 0644]
plugins/groovy/testdata/refactoring/move/moveScript/scriptWithClasses/before/a/Foo.groovy [new file with mode: 0644]
plugins/groovy/testdata/refactoring/move/moveScript/scriptWithClasses/before/a/Y.groovy [new file with mode: 0644]
plugins/groovy/testdata/refactoring/move/moveScript/scriptWithClasses/before/b/X.groovy [new file with mode: 0644]