Rename jet -> kotlin in frontend: PSI

org.jetbrains.jet.lang.psi -> org.jetbrains.kotlin.psi
This commit is contained in:
Alexander Udalov
2015-01-10 14:25:19 +03:00
parent ead8c8ac1d
commit d384e50a97
1323 changed files with 3365 additions and 3552 deletions
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
enum class E {
{
@@ -22,4 +22,4 @@ enum class E {
override fun foo(n: Int): Int = n + 2
}
}
}
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: textOccurrences
package test
@@ -6,4 +6,4 @@ class Foo {
fun <caret>foo() {
}
}
}
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: overrides
open class A<T> {
open fun <caret>foo(t: T) {
@@ -37,4 +37,4 @@ open class B: A<String>() {
open fun baz(a: A<Number>) {
a.foo(0, "")
}
}
}
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
package testing
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
fun foo() {
fun <caret>bar() {
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
fun foo() {
if (true) {
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
package server
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
package server
@@ -14,4 +14,4 @@ fun foo(n: Int) {
}
val foo: Int
val foo: Int
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
package client
@@ -8,4 +8,4 @@ fun test() {
foo()
foo(1)
val t = foo
}
}
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
package a
@@ -8,4 +8,4 @@ public open class Outer() {
}
}
}
}
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: overloadUsages
trait X<T> {
}
@@ -42,4 +42,4 @@ fun B.foo(s: String, n: Number) {
fun bar(b: B) {
b.foo("", 0)
}
}
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: overloadUsages
trait X {
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
package server
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages
package server
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages, skipImports
package server
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages, skipImports
open data class A(val a: Int)
@@ -10,4 +10,4 @@ class B(b: Int): A(b) {
fun main(a: A) {
a.copy(1)
B(0).copy(1)
}
}
@@ -1,4 +1,4 @@
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
// OPTIONS: usages, skipImports
trait A {