[LC] add isEquivalentTo implementation so LC can be referenced from java
otherwise references from java to ktElements won't be treated as references, cause java references resolve to light elements and search can/should be called on ktElements
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForAnnotationClass
|
||||
annotation class Fo<caret>oBar
|
||||
@@ -0,0 +1,4 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForAnonymousObject
|
||||
val f = obje<caret>ct : I {}
|
||||
|
||||
interface I {}
|
||||
@@ -0,0 +1,6 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.fields.SymbolLightFieldForProperty
|
||||
class FooBar {
|
||||
companion object {
|
||||
var f<caret>oo : String = ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.methods.SymbolLightConstructor
|
||||
class FooBar {
|
||||
cons<caret>tructor() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForEnumEntry
|
||||
enum class FooBar {
|
||||
EnumClass<caret>Entry {
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.methods.SymbolLightSimpleMethod
|
||||
fun foo<caret>Bar() {}
|
||||
@@ -0,0 +1,2 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForInterface
|
||||
interface Fo<caret>oBar
|
||||
@@ -0,0 +1,2 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForClassOrObject
|
||||
cl<caret>ass FooBar
|
||||
@@ -0,0 +1,2 @@
|
||||
// org.jetbrains.kotlin.light.classes.symbol.parameters.SymbolLightTypeParameter
|
||||
interface FooBar<<caret>T>
|
||||
Reference in New Issue
Block a user