[analysis api fe10] provide a dummy implementation for KtFe10SymbolContainingDeclarationProvider.getContainingModule

to satisfy some tests
This commit is contained in:
Ilya Kirillov
2022-04-07 13:33:48 +02:00
parent 2cd0792e98
commit 3bd892fe82
14 changed files with 333 additions and 1 deletions
@@ -0,0 +1,12 @@
KtBackingFieldSymbol:
callableIdIfNonLocal: null
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(/x)
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
getContainingModule: Could not render due to java.lang.IllegalStateException: Unexpected KtSymbol KtFe10DescSyntheticFieldSymbol
deprecationStatus: null
@@ -0,0 +1,21 @@
KtConstructorSymbol:
annotationsList: []
callableIdIfNonLocal: null
containingClassIdIfNonLocal: java/util/ArrayList
hasStableParameterNames: false
isExtension: false
isPrimary: false
origin: JAVA
receiverType: null
returnType: java/util/ArrayList<E>
symbolKind: CLASS_MEMBER
typeParameters: [
KtTypeParameterSymbol(E)
]
valueParameters: [
KtValueParameterSymbol(c)
]
visibility: Public
getContainingModule: Could not render due to java.util.NoSuchElementException: Collection contains no element matching the predicate.
deprecationStatus: null
@@ -0,0 +1,15 @@
KtSamConstructorSymbol:
callableIdIfNonLocal: java/lang/Runnable
hasStableParameterNames: true
isExtension: false
name: Runnable
origin: SAM_CONSTRUCTOR
receiverType: null
returnType: java/lang/Runnable
symbolKind: SAM_CONSTRUCTOR
valueParameters: [
KtValueParameterSymbol(function)
]
getContainingModule: Could not render due to java.util.NoSuchElementException: Collection contains no element matching the predicate.
deprecationStatus: null