FIR IDE: move analysis api fir testdata to the analysis directory
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
var x: Int = 0
|
||||
get() = <caret>field
|
||||
set(value) {
|
||||
field = value
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
KtFirBackingFieldSymbol:
|
||||
annotatedType: [] kotlin/Int
|
||||
callableIdIfNonLocal: null
|
||||
isExtension: false
|
||||
name: field
|
||||
origin: PROPERTY_BACKING_FIELD
|
||||
owningProperty: KtFirKotlinPropertySymbol(x)
|
||||
receiverType: null
|
||||
symbolKind: LOCAL
|
||||
deprecationStatus: null
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// DO_NOT_CHECK_SYMBOL_RESTORE
|
||||
|
||||
fun x() {
|
||||
val a = <caret>ArrayList(listOf(1))
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
KtFirConstructorSymbol:
|
||||
annotatedType: [] java/util/ArrayList<E>
|
||||
annotationClassIds: []
|
||||
annotations: []
|
||||
callableIdIfNonLocal: null
|
||||
containingClassIdIfNonLocal: java/util/ArrayList
|
||||
dispatchType: java/util/ArrayList<E>
|
||||
hasStableParameterNames: false
|
||||
isExtension: false
|
||||
isPrimary: false
|
||||
origin: JAVA
|
||||
receiverType: null
|
||||
symbolKind: MEMBER
|
||||
typeParameters: [
|
||||
KtFirTypeParameterSymbol(E)
|
||||
]
|
||||
valueParameters: [
|
||||
KtFirValueParameterSymbol(p0)
|
||||
]
|
||||
visibility: Public
|
||||
deprecationStatus: null
|
||||
@@ -0,0 +1 @@
|
||||
val greeter = <caret>Runnable { println("Howdy") }
|
||||
@@ -0,0 +1,13 @@
|
||||
KtFirSamConstructorSymbol:
|
||||
annotatedType: [] java/lang/Runnable
|
||||
callableIdIfNonLocal: java/lang/Runnable
|
||||
hasStableParameterNames: true
|
||||
isExtension: false
|
||||
name: Runnable
|
||||
origin: SAM_CONSTRUCTOR
|
||||
receiverType: null
|
||||
symbolKind: SAM_CONSTRUCTOR
|
||||
valueParameters: [
|
||||
KtFirValueParameterSymbol(block)
|
||||
]
|
||||
deprecationStatus: null
|
||||
Reference in New Issue
Block a user