FIR IDE: Add IDE tests for sample compiler plugin
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
@ERROR
|
||||
class MyClass
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
KtNamedClassOrObjectSymbol:
|
||||
annotationsList: [
|
||||
<ERROR CLASS>()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
classIdIfNonLocal: foo/MyClass
|
||||
classKind: CLASS
|
||||
companionObject: null
|
||||
isData: false
|
||||
isExternal: false
|
||||
isFun: false
|
||||
isInline: false
|
||||
isInner: false
|
||||
modality: FINAL
|
||||
name: MyClass
|
||||
origin: LIBRARY
|
||||
superTypes: [
|
||||
kotlin/Any
|
||||
]
|
||||
symbolKind: TOP_LEVEL
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
deprecationStatus: null
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// WITH_FIR_TEST_COMPILER_PLUGIN
|
||||
package foo
|
||||
|
||||
interface MyInterface
|
||||
|
||||
@org.jetbrains.kotlin.fir.plugin.MyInterfaceSupertype
|
||||
class MyClass
|
||||
|
||||
// class: foo/MyClass
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
@org.jetbrains.kotlin.fir.plugin.MyInterfaceSupertype
|
||||
class MyClass : kotlin.Any, foo.MyInterface
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
KtNamedClassOrObjectSymbol:
|
||||
annotationsList: [
|
||||
org/jetbrains/kotlin/fir/plugin/MyInterfaceSupertype()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
classIdIfNonLocal: foo/MyClass
|
||||
classKind: CLASS
|
||||
companionObject: null
|
||||
isData: false
|
||||
isExternal: false
|
||||
isFun: false
|
||||
isInline: false
|
||||
isInner: false
|
||||
modality: FINAL
|
||||
name: MyClass
|
||||
origin: SOURCE
|
||||
superTypes: [
|
||||
kotlin/Any
|
||||
foo/MyInterface
|
||||
]
|
||||
symbolKind: TOP_LEVEL
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
deprecationStatus: null
|
||||
Reference in New Issue
Block a user