[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,24 @@
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: kotlin/Lazy
classKind: INTERFACE
companionObject: null
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: ABSTRACT
name: Lazy
origin: LIBRARY
superTypes: [
kotlin/Any
]
symbolKind: TOP_LEVEL
typeParameters: [
KtTypeParameterSymbol(T)
]
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: deserialized class Lazy
deprecationStatus: null
@@ -0,0 +1,25 @@
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: java/lang/String
classKind: CLASS
companionObject: null
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: FINAL
name: String
origin: JAVA
superTypes: [
kotlin/Any
java/io/Serializable
kotlin/Comparable<ft<kotlin/String, kotlin/String?>>
kotlin/CharSequence
]
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingModule: Could not render due to java.util.NoSuchElementException: Collection contains no element matching the predicate.
deprecationStatus: null
@@ -0,0 +1,12 @@
KtEnumEntrySymbol:
callableIdIfNonLocal: kotlin/LazyThreadSafetyMode.SYNCHRONIZED
containingEnumClassIdIfNonLocal: kotlin/LazyThreadSafetyMode
isExtension: false
name: SYNCHRONIZED
origin: LIBRARY
receiverType: null
returnType: kotlin/LazyThreadSafetyMode
symbolKind: CLASS_MEMBER
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: enum entry SYNCHRONIZED
deprecationStatus: null
@@ -0,0 +1,24 @@
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: kotlin/collections/Iterator
classKind: INTERFACE
companionObject: null
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: ABSTRACT
name: Iterator
origin: LIBRARY
superTypes: [
kotlin/Any
]
symbolKind: TOP_LEVEL
typeParameters: [
KtTypeParameterSymbol(T)
]
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: deserialized class Iterator
deprecationStatus: null
@@ -0,0 +1,22 @@
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: kotlin/io/FileWalkDirection
classKind: ENUM_CLASS
companionObject: null
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: FINAL
name: FileWalkDirection
origin: LIBRARY
superTypes: [
kotlin/Enum<kotlin/io/FileWalkDirection>
]
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: deserialized class FileWalkDirection
deprecationStatus: null
@@ -0,0 +1,28 @@
KtFunctionSymbol:
annotationsList: []
callableIdIfNonLocal: kotlin/collections/List.get
hasStableParameterNames: true
isBuiltinFunctionInvoke: false
isExtension: false
isExternal: false
isInfix: false
isInline: false
isOperator: true
isOverride: false
isStatic: false
isSuspend: false
modality: ABSTRACT
name: get
origin: LIBRARY
receiverType: null
returnType: E
symbolKind: CLASS_MEMBER
typeParameters: []
valueParameters: [
KtValueParameterSymbol(index)
]
visibility: Public
getDispatchReceiver(): kotlin/collections/List<E>
getContainingModule: Could not render due to java.lang.NullPointerException: null cannot be cast to non-null type org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource
deprecationStatus: null
@@ -0,0 +1,55 @@
KtFunctionSymbol:
annotationsList: []
callableIdIfNonLocal: kotlin/collections/List.listIterator
hasStableParameterNames: true
isBuiltinFunctionInvoke: false
isExtension: false
isExternal: false
isInfix: false
isInline: false
isOperator: false
isOverride: false
isStatic: false
isSuspend: false
modality: ABSTRACT
name: listIterator
origin: LIBRARY
receiverType: null
returnType: kotlin/collections/ListIterator<E>
symbolKind: CLASS_MEMBER
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): kotlin/collections/List<E>
getContainingModule: Could not render due to java.lang.NullPointerException: null cannot be cast to non-null type org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource
deprecationStatus: null
KtFunctionSymbol:
annotationsList: []
callableIdIfNonLocal: kotlin/collections/List.listIterator
hasStableParameterNames: true
isBuiltinFunctionInvoke: false
isExtension: false
isExternal: false
isInfix: false
isInline: false
isOperator: false
isOverride: false
isStatic: false
isSuspend: false
modality: ABSTRACT
name: listIterator
origin: LIBRARY
receiverType: null
returnType: kotlin/collections/ListIterator<E>
symbolKind: CLASS_MEMBER
typeParameters: []
valueParameters: [
KtValueParameterSymbol(index)
]
visibility: Public
getDispatchReceiver(): kotlin/collections/List<E>
getContainingModule: Could not render due to java.lang.NullPointerException: null cannot be cast to non-null type org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource
deprecationStatus: null
@@ -0,0 +1,25 @@
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: kotlin/collections/MutableMap.MutableEntry
classKind: INTERFACE
companionObject: null
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: ABSTRACT
name: MutableEntry
origin: LIBRARY
superTypes: [
kotlin/collections/Map.Entry<K, V>
]
symbolKind: CLASS_MEMBER
typeParameters: [
KtTypeParameterSymbol(K)
KtTypeParameterSymbol(V)
]
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: deserialized class MutableEntry
deprecationStatus: null
@@ -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