Rename namespace class to {package.name}Package

Conflicts:

	compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
This commit is contained in:
Natalia.Ukhorskaya
2013-01-11 12:00:27 +04:00
parent 0f2fa6bade
commit 47abdcf565
113 changed files with 436 additions and 193 deletions
@@ -0,0 +1,3 @@
fun foo() {
"" // _DefaultPackage
}
+1 -1
View File
@@ -4,5 +4,5 @@ class A {
}
fun A.foo() {
"" // a/namespace
"" // a/APackage
}
+1 -1
View File
@@ -2,7 +2,7 @@ package test
fun foo(): String {
fun bar(): String {
return "" // test/namespace$foo$1
return "" // test/TestPackage$foo$1
}
return bar()
}
@@ -1,5 +1,5 @@
package test
fun foo() {
"" // test/namespace$src$a$
"" // test/TestPackage$src$a$
}
@@ -1,5 +1,5 @@
package test
fun bar() {
foo(); // test/namespace$src$b$
foo(); // test/TestPackage$src$b$
}
@@ -1,5 +1,5 @@
package test
fun foo() {
"" // test/namespace$src$a$
"" // test/TestPackage$src$a$
}
@@ -1,5 +1,5 @@
package test
fun bar() {
"" // test/namespace$src$a$
"" // test/TestPackage$src$a$
}
@@ -1,5 +1,5 @@
package test
fun baz() {
"" // test/namespace$src$a$
"" // test/TestPackage$src$a$
}
@@ -1,5 +1,5 @@
package test
fun quux() {
"" // test/namespace$src$a$
"" // test/TestPackage$src$a$
}
-3
View File
@@ -1,3 +0,0 @@
fun foo() {
"" // namespace
}
+1 -1
View File
@@ -1,5 +1,5 @@
package test
fun foo() {
"" // test/namespace
"" // test/TestPackage
}