diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.kt b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.kt index 8fb16c4f283..76d5dfd1606 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.kt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.kt @@ -2,1651 +2,3 @@ // DO_NOT_CHECK_SYMBOL_RESTORE // class: kotlin/Int - -// RESULT -/* -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.and - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: true - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: and - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.compareTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: compareTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.compareTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: compareTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.compareTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: compareTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.compareTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: compareTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.compareTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: compareTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.compareTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: compareTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.dec - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: dec - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.div - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: div - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Double - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.div - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: div - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Float - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.div - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: div - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.div - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: div - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Long - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.div - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: div - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.div - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: div - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.inc - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: inc - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.inv - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: inv - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.minus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: minus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Double - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.minus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: minus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Float - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.minus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: minus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.minus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: minus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Long - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.minus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: minus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.minus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: minus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.or - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: true - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: or - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.plus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: plus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Double - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.plus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: plus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Float - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.plus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: plus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.plus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: plus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Long - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.plus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: plus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.plus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: plus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/ranges/IntRange - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.rangeTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rangeTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/ranges/IntRange - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.rangeTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rangeTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/ranges/LongRange - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.rangeTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rangeTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/ranges/IntRange - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.rangeTo - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rangeTo - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [ - kotlin/SinceKotlin - ] - annotations: [ - kotlin/SinceKotlin(version = 1.1) - psi: null - ] - callableIdIfNonLocal: kotlin/Int.rem - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rem - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Double - annotationClassIds: [ - kotlin/SinceKotlin - ] - annotations: [ - kotlin/SinceKotlin(version = 1.1) - psi: null - ] - callableIdIfNonLocal: kotlin/Int.rem - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rem - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Float - annotationClassIds: [ - kotlin/SinceKotlin - ] - annotations: [ - kotlin/SinceKotlin(version = 1.1) - psi: null - ] - callableIdIfNonLocal: kotlin/Int.rem - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rem - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [ - kotlin/SinceKotlin - ] - annotations: [ - kotlin/SinceKotlin(version = 1.1) - psi: null - ] - callableIdIfNonLocal: kotlin/Int.rem - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rem - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Long - annotationClassIds: [ - kotlin/SinceKotlin - ] - annotations: [ - kotlin/SinceKotlin(version = 1.1) - psi: null - ] - callableIdIfNonLocal: kotlin/Int.rem - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rem - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [ - kotlin/SinceKotlin - ] - annotations: [ - kotlin/SinceKotlin(version = 1.1) - psi: null - ] - callableIdIfNonLocal: kotlin/Int.rem - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: rem - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.shl - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: true - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: shl - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(bitCount) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.shr - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: true - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: shr - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(bitCount) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.times - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: times - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Double - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.times - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: times - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Float - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.times - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: times - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.times - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: times - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Long - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.times - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: times - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.times - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: times - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Byte - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.toByte - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toByte - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Char - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.toChar - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toChar - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Double - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.toDouble - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toDouble - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Float - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.toFloat - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toFloat - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.toInt - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toInt - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Long - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.toLong - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toLong - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Short - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.toShort - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toShort - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.unaryMinus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: unaryMinus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.unaryPlus - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: unaryPlus - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.ushr - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: true - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: ushr - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(bitCount) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Int.xor - dispatchType: kotlin/Int - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: true - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: xor - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.equals - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: equals - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.hashCode - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: hashCode - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.toString - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toString - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: kotlin/Int.Companion - classKind: COMPANION_OBJECT - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: Companion - origin: LIBRARY - superTypes: [ - [] kotlin/Any - ] - symbolKind: MEMBER - typeParameters: [] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/Integer - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/Integer - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: kotlin/Int - dispatchType: null - hasStableParameterNames: true - isExtension: false - isPrimary: true - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Private -*/ diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.kt b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.kt index d728b599835..1399a6c8993 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.kt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.kt @@ -1,619 +1 @@ // class: kotlin/collections/MutableList - -// RESULT -/* -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.add - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: add - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(element) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Unit - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.add - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: add - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - KtFirValueParameterSymbol(element) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.addAll - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: addAll - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - KtFirValueParameterSymbol(elements) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.addAll - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: addAll - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(elements) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Unit - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.clear - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: clear - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/MutableListIterator - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.listIterator - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: listIterator - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/MutableListIterator - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.listIterator - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: listIterator - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.remove - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: remove - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(element) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.removeAll - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: removeAll - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(elements) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] E - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.removeAt - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: removeAt - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.retainAll - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: retainAll - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(elements) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] E - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.set - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: set - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - KtFirValueParameterSymbol(element) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/MutableList - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.subList - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: subList - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(fromIndex) - KtFirValueParameterSymbol(toIndex) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.contains - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: contains - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(element) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.containsAll - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: containsAll - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(elements) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] E - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.get - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: get - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.indexOf - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: indexOf - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(element) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/List.isEmpty - dispatchType: kotlin/collections/List - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: isEmpty - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/MutableIterator - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.iterator - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: iterator - origin: INTERSECTION_OVERRIDE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/MutableList.lastIndexOf - dispatchType: kotlin/collections/MutableList - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: lastIndexOf - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(element) - ] - visibility: Public - -KtFirKotlinPropertySymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/List.size - dispatchType: kotlin/collections/List - getter: KtFirPropertyGetterSymbol() - hasBackingField: false - hasGetter: true - hasSetter: false - initializer: null - isConst: false - isExtension: false - isLateInit: false - isOverride: false - isStatic: false - isVal: true - modality: ABSTRACT - name: size - origin: LIBRARY - receiverType: null - setter: null - symbolKind: MEMBER - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.equals - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: equals - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.hashCode - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: hashCode - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.toString - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toString - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.kt b/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.kt index 67a9f13a51e..f3c6fb47e3a 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.kt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.kt @@ -1,1921 +1,3 @@ // DO_NOT_CHECK_SYMBOL_RESTORE // class: java/lang/String - -// RESULT -/* -KtFirJavaFieldSymbol: - annotatedType: [] ft - callableIdIfNonLocal: java/lang/String.value - isExtension: false - isStatic: false - isVal: true - modality: FINAL - name: value - origin: JAVA - receiverType: null - symbolKind: MEMBER - visibility: Private - -KtFirJavaFieldSymbol: - annotatedType: [] kotlin/Int - callableIdIfNonLocal: java/lang/String.hash - isExtension: false - isStatic: false - isVal: false - modality: OPEN - name: hash - origin: JAVA - receiverType: null - symbolKind: MEMBER - visibility: Private - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.hash32 - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: hash32 - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: PackageVisibility - -KtFirJavaFieldSymbol: - annotatedType: [] kotlin/Int - callableIdIfNonLocal: java/lang/String.hash32 - isExtension: false - isStatic: false - isVal: false - modality: OPEN - name: hash32 - origin: JAVA - receiverType: null - symbolKind: MEMBER - visibility: Private - -KtFirSyntheticJavaPropertySymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.length - dispatchType: java/lang/String - getter: KtFirPropertyGetterSymbol() - hasBackingField: true - hasGetter: true - hasSetter: false - initializer: null - isExtension: false - isOverride: false - isStatic: false - isVal: true - javaGetterName: length - javaSetterName: null - modality: OPEN - name: length - origin: JAVA_SYNTHETIC_PROPERTY - receiverType: null - setter: null - symbolKind: MEMBER - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.isEmpty - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: isEmpty - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Char - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.charAt - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: charAt - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.codePointAt - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: codePointAt - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.codePointBefore - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: codePointBefore - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.codePointCount - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: codePointCount - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.offsetByCodePoints - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: offsetByCodePoints - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Unit - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.getChars - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: getChars - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: PackageVisibility - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Unit - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.getChars - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: getChars - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - KtFirValueParameterSymbol(p3) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Unit - annotationClassIds: [ - kotlin/Deprecated - ] - annotations: [ - kotlin/Deprecated(message = Deprecated in Java) - psi: null - ] - callableIdIfNonLocal: java/lang/String.getBytes - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: getBytes - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - KtFirValueParameterSymbol(p3) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.getBytes - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: getBytes - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.getBytes - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: getBytes - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.getBytes - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: getBytes - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.equals - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: equals - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.contentEquals - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: contentEquals - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.contentEquals - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: contentEquals - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.equalsIgnoreCase - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: equalsIgnoreCase - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.compareTo - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: compareTo - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.compareToIgnoreCase - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: compareToIgnoreCase - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.regionMatches - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: regionMatches - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - KtFirValueParameterSymbol(p3) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.regionMatches - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: regionMatches - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - KtFirValueParameterSymbol(p3) - KtFirValueParameterSymbol(p4) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.startsWith - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: startsWith - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.startsWith - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: startsWith - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.endsWith - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: endsWith - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.hashCode - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: hashCode - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.indexOf - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: indexOf - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.indexOf - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: indexOf - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.indexOf - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: indexOf - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.indexOf - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: indexOf - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.indexOfSupplementary - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: indexOfSupplementary - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Private - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.lastIndexOf - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: lastIndexOf - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.lastIndexOf - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: lastIndexOf - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.lastIndexOf - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: lastIndexOf - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.lastIndexOf - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: lastIndexOf - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.lastIndexOfSupplementary - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: lastIndexOfSupplementary - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Private - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.substring - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: substring - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.substring - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: substring - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/CharSequence - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.subSequence - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: subSequence - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.concat - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: concat - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.replace - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: replace - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.replace - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: replace - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.matches - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: matches - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.contains - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: contains - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.replaceFirst - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: replaceFirst - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.replaceAll - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: replaceAll - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft>, kotlin/Array>?> - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.split - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: split - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft>, kotlin/Array>?> - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.split - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: split - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.toLowerCase - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toLowerCase - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.toLowerCase - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toLowerCase - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.toUpperCase - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toUpperCase - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.toUpperCase - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toUpperCase - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.trim - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: trim - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.toString - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toString - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.toCharArray - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toCharArray - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] ft - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: java/lang/String.intern - dispatchType: java/lang/String - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: intern - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Char - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/CharSequence.get - dispatchType: @EnhancedNullability kotlin/CharSequence - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: get - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - ] - visibility: Public - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: java/lang/String.CaseInsensitiveComparator - classKind: CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: OPEN - name: CaseInsensitiveComparator - origin: JAVA - superTypes: [ - [] kotlin/Any - [] java/util/Comparator> - [] java/io/Serializable - ] - symbolKind: MEMBER - typeParameters: [] - visibility: Private - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [ - kotlin/Deprecated - ] - annotations: [ - kotlin/Deprecated(message = Deprecated in Java) - psi: null - ] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - KtFirValueParameterSymbol(p3) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [ - kotlin/Deprecated - ] - annotations: [ - kotlin/Deprecated(message = Deprecated in Java) - psi: null - ] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - KtFirValueParameterSymbol(p3) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - KtFirValueParameterSymbol(p3) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - ] - visibility: Public - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - ] - visibility: PackageVisibility - -KtFirConstructorSymbol: - annotatedType: [] java/lang/String - annotationClassIds: [ - kotlin/Deprecated - ] - annotations: [ - kotlin/Deprecated(message = Deprecated in Java) - psi: null - ] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: java/lang/String - dispatchType: null - hasStableParameterNames: false - isExtension: false - isPrimary: false - origin: JAVA - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p0) - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - ] - visibility: PackageVisibility -*/ diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.kt b/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.kt index 1b9b0e5855a..b91c5d867e7 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.kt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.kt @@ -1,107 +1,3 @@ // WITH_RUNTIME // class: kotlin/Function2 - -// RESULT -/* -KtFirFunctionSymbol: - annotatedType: [] R - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Function2.invoke - dispatchType: kotlin/Function2 - hasStableParameterNames: false - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: invoke - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(p1) - KtFirValueParameterSymbol(p2) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Boolean - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.equals - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: equals - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(other) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.hashCode - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: hashCode - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/Any.toString - dispatchType: kotlin/Any - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: OPEN - name: toString - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.kt index 27ba24bbb11..bc6bb6b7896 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.kt @@ -1,29 +1,3 @@ // RUNTIME // class: kotlin/Lazy - -// RESULT -/* -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - 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: [ - KtFirTypeParameterSymbol(T) - ] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.kt index 43dcc5e987f..0fb220a7814 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.kt @@ -1,30 +1,3 @@ // RUNTIME // class: java/lang/String - -// RESULT -/* -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - 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> - [] kotlin/CharSequence - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/enumEntry.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/enumEntry.kt index 7a0d7b8705b..6c319da7733 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/enumEntry.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/enumEntry.kt @@ -1,16 +1,3 @@ // RUNTIME // callable: kotlin/LazyThreadSafetyMode.SYNCHRONIZED - -// RESULT -/* -KtFirEnumEntrySymbol: - annotatedType: [] kotlin/LazyThreadSafetyMode - callableIdIfNonLocal: kotlin/LazyThreadSafetyMode.SYNCHRONIZED - containingEnumClassIdIfNonLocal: kotlin/LazyThreadSafetyMode - isExtension: false - name: SYNCHRONIZED - origin: LIBRARY - receiverType: null - symbolKind: MEMBER -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt index 8ad8b10ec86..07634ffc798 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt @@ -1,93 +1,3 @@ // WITH_RUNTIME // callable: kotlin/collections/listOf - -// RESULT -/* -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/List - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/listOf - dispatchType: null - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: listOf - origin: LIBRARY - receiverType: null - symbolKind: TOP_LEVEL - typeParameters: [ - KtFirTypeParameterSymbol(T) - ] - valueParameters: [ - KtFirValueParameterSymbol(element) - ] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/List - annotationClassIds: [ - kotlin/internal/InlineOnly - ] - annotations: [ - kotlin/internal/InlineOnly() - psi: null - ] - callableIdIfNonLocal: kotlin/collections/listOf - dispatchType: null - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: true - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: listOf - origin: LIBRARY - receiverType: null - symbolKind: TOP_LEVEL - typeParameters: [ - KtFirTypeParameterSymbol(T) - ] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/List - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/listOf - dispatchType: null - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: listOf - origin: LIBRARY - receiverType: null - symbolKind: TOP_LEVEL - typeParameters: [ - KtFirTypeParameterSymbol(T) - ] - valueParameters: [ - KtFirValueParameterSymbol(elements) - ] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.kt index f4403377b6c..9ba9d1f8f30 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.kt @@ -1,27 +1 @@ class: kotlin/collections/Iterator - -// RESULT -/* -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - 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: [ - KtFirTypeParameterSymbol(T) - ] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.kt index db3eb07266e..abb9bcf88c1 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.kt @@ -1,27 +1,3 @@ // WITH_RUNTIME // class: kotlin/io/FileWalkDirection - -// RESULT -/* -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - 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 - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.kt index f074fc4b518..c77ab9831d2 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.kt @@ -1,30 +1 @@ // callable: kotlin/collections/List.get - -// RESULT -/* -KtFirFunctionSymbol: - annotatedType: [] E - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/List.get - dispatchType: kotlin/collections/List - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: true - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: get - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - ] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt index 20f41ececbb..a6f9710ce72 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt @@ -1,54 +1 @@ // callable: kotlin/collections/List.listIterator - -// RESULT -/* -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/ListIterator - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/List.listIterator - dispatchType: kotlin/collections/List - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: listIterator - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/collections/ListIterator - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: kotlin/collections/List.listIterator - dispatchType: kotlin/collections/List - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: ABSTRACT - name: listIterator - origin: LIBRARY - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(index) - ] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.kt index e3fc6002b59..967d0102d23 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.kt @@ -1,28 +1 @@ // class: kotlin/collections/MutableMap.MutableEntry - -// RESULT -/* -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - 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 - ] - symbolKind: MEMBER - typeParameters: [ - KtFirTypeParameterSymbol(K) - KtFirTypeParameterSymbol(V) - ] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.kt index 690201b2f8c..446669aebe0 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.kt @@ -7,128 +7,3 @@ class X { } } - -// RESULT -/* -KtFirValueParameterSymbol: - annotatedType: [] kotlin/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - hasDefaultValue: false - isExtension: false - isVararg: false - name: param1 - origin: SOURCE - receiverType: null - symbolKind: LOCAL - -KtFirValueParameterSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - hasDefaultValue: false - isExtension: false - isVararg: false - name: param2 - origin: SOURCE - receiverType: null - symbolKind: LOCAL - -KtFirConstructorSymbol: - annotatedType: [] Anno - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: Anno - dispatchType: null - hasStableParameterNames: true - isExtension: false - isPrimary: true - origin: SOURCE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(param1) - KtFirValueParameterSymbol(param2) - ] - visibility: Public - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: Anno - classKind: ANNOTATION_CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: Anno - origin: SOURCE - superTypes: [ - [] kotlin/Annotation - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Unit - annotationClassIds: [ - Anno - ] - annotations: [ - Anno(param1 = funparam, param2 = 3) - psi: KtAnnotationEntry - ] - callableIdIfNonLocal: /X.x - dispatchType: X - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: x - origin: SOURCE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [ - Anno - ] - annotations: [ - Anno(param1 = param, param2 = 2) - psi: KtAnnotationEntry - ] - classIdIfNonLocal: X - classKind: CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: X - origin: SOURCE - superTypes: [ - [] kotlin/Any - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.kt index e4c51921314..2bbaf9df89e 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.kt @@ -6,113 +6,3 @@ class AnonymousContainer { val data = 123 } } - -// RESULT -/* -KtFirFunctionSymbol: - annotatedType: [] kotlin/Unit - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - dispatchType: - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: true - isStatic: false - isSuspend: false - modality: FINAL - name: run - origin: SOURCE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirKotlinPropertySymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - dispatchType: - getter: KtFirPropertyGetterSymbol() - hasBackingField: true - hasGetter: true - hasSetter: false - initializer: 123 - isConst: false - isExtension: false - isLateInit: false - isOverride: false - isStatic: false - isVal: true - modality: FINAL - name: data - origin: SOURCE - receiverType: null - setter: null - symbolKind: MEMBER - visibility: Public - -KtFirAnonymousObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: null - classKind: ANONYMOUS_OBJECT - name: null - origin: SOURCE - superTypes: [ - [] java/lang/Runnable - ] - symbolKind: LOCAL - -KtFirKotlinPropertySymbol: - annotatedType: [] java/lang/Runnable - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: /AnonymousContainer.anonymousObject - dispatchType: AnonymousContainer - getter: KtFirPropertyGetterSymbol() - hasBackingField: true - hasGetter: true - hasSetter: false - initializer: KtUnsupportedConstantValue - isConst: false - isExtension: false - isLateInit: false - isOverride: false - isStatic: false - isVal: true - modality: FINAL - name: anonymousObject - origin: SOURCE - receiverType: null - setter: null - symbolKind: MEMBER - visibility: Public - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: AnonymousContainer - classKind: CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: AnonymousContainer - origin: SOURCE - superTypes: [ - [] kotlin/Any - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.kt index a555586b7a9..2e2439c32d0 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.kt @@ -1,26 +1,2 @@ class A { } - -// RESULT -/* -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: A - classKind: CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: A - origin: SOURCE - superTypes: [ - [] kotlin/Any - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.kt index 84e294fe380..8b7100156db 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.kt @@ -2,76 +2,3 @@ class A { val a: Int = 10 fun x() = 10 } - -// RESULT -/* -KtFirKotlinPropertySymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: /A.a - dispatchType: A - getter: KtFirPropertyGetterSymbol() - hasBackingField: true - hasGetter: true - hasSetter: false - initializer: 10 - isConst: false - isExtension: false - isLateInit: false - isOverride: false - isStatic: false - isVal: true - modality: FINAL - name: a - origin: SOURCE - receiverType: null - setter: null - symbolKind: MEMBER - visibility: Public - -KtFirFunctionSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: /A.x - dispatchType: A - hasStableParameterNames: true - isExtension: false - isExternal: false - isInfix: false - isInline: false - isOperator: false - isOverride: false - isStatic: false - isSuspend: false - modality: FINAL - name: x - origin: SOURCE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: A - classKind: CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: A - origin: SOURCE - superTypes: [ - [] kotlin/Any - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.kt index 5f4ed7d15f0..6be08136f3f 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.kt @@ -1,43 +1,2 @@ class A() { } - -// RESULT -/* -KtFirConstructorSymbol: - annotatedType: [] A - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: A - dispatchType: null - hasStableParameterNames: true - isExtension: false - isPrimary: true - origin: SOURCE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: A - classKind: CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: A - origin: SOURCE - superTypes: [ - [] kotlin/Any - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.kt index 8ab68658647..bb39198caad 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.kt @@ -2,122 +2,3 @@ class A() { constructor(x: Int): this() constructor(y: Int, z: String) : this(y) } - -// RESULT -/* -KtFirConstructorSymbol: - annotatedType: [] A - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: A - dispatchType: null - hasStableParameterNames: true - isExtension: false - isPrimary: true - origin: SOURCE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [] - visibility: Public - -KtFirValueParameterSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - hasDefaultValue: false - isExtension: false - isVararg: false - name: x - origin: SOURCE - receiverType: null - symbolKind: LOCAL - -KtFirConstructorSymbol: - annotatedType: [] A - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: A - dispatchType: null - hasStableParameterNames: true - isExtension: false - isPrimary: false - origin: SOURCE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(x) - ] - visibility: Public - -KtFirValueParameterSymbol: - annotatedType: [] kotlin/Int - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - hasDefaultValue: false - isExtension: false - isVararg: false - name: y - origin: SOURCE - receiverType: null - symbolKind: LOCAL - -KtFirValueParameterSymbol: - annotatedType: [] kotlin/String - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - hasDefaultValue: false - isExtension: false - isVararg: false - name: z - origin: SOURCE - receiverType: null - symbolKind: LOCAL - -KtFirConstructorSymbol: - annotatedType: [] A - annotationClassIds: [] - annotations: [] - callableIdIfNonLocal: null - containingClassIdIfNonLocal: A - dispatchType: null - hasStableParameterNames: true - isExtension: false - isPrimary: false - origin: SOURCE - receiverType: null - symbolKind: MEMBER - typeParameters: [] - valueParameters: [ - KtFirValueParameterSymbol(y) - KtFirValueParameterSymbol(z) - ] - visibility: Public - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: A - classKind: CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: A - origin: SOURCE - superTypes: [ - [] kotlin/Any - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.kt index e72e1237161..3013ac034f5 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.kt @@ -1,47 +1,2 @@ class A { } - -// RESULT -/* -KtFirTypeParameterSymbol: - isReified: false - name: T - origin: SOURCE - upperBounds: [ - kotlin/Any? - ] - variance: INVARIANT - -KtFirTypeParameterSymbol: - isReified: false - name: R - origin: SOURCE - upperBounds: [ - kotlin/Any? - ] - variance: INVARIANT - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: A - classKind: CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: A - origin: SOURCE - superTypes: [ - [] kotlin/Any - ] - symbolKind: TOP_LEVEL - typeParameters: [ - KtFirTypeParameterSymbol(T) - KtFirTypeParameterSymbol(R) - ] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.kt index 3f04ff8df31..ed4965173ed 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.kt @@ -1,47 +1,3 @@ enum class X { Y, Z; } - -// RESULT -/* -KtFirEnumEntrySymbol: - annotatedType: [] X - callableIdIfNonLocal: /X.Y - containingEnumClassIdIfNonLocal: X - isExtension: false - name: Y - origin: SOURCE - receiverType: null - symbolKind: MEMBER - -KtFirEnumEntrySymbol: - annotatedType: [] X - callableIdIfNonLocal: /X.Z - containingEnumClassIdIfNonLocal: X - isExtension: false - name: Z - origin: SOURCE - receiverType: null - symbolKind: MEMBER - -KtFirNamedClassOrObjectSymbol: - annotationClassIds: [] - annotations: [] - classIdIfNonLocal: X - classKind: ENUM_CLASS - companionObject: null - isData: false - isExternal: false - isFun: false - isInline: false - isInner: false - modality: FINAL - name: X - origin: SOURCE - superTypes: [ - [] kotlin/Enum - ] - symbolKind: TOP_LEVEL - typeParameters: [] - visibility: Public -*/ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enumValueMember.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enumValueMember.kt index 7c5f70cf40b..e735a67fc5f 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enumValueMember.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enumValueMember.kt @@ -6,136 +6,3 @@ enum class Style(val value: String) { abstract val exitAnimation: String } - -// RESULT -/* -KtFirValueParameterSymbol: -annotatedType: [] kotlin/String -annotationClassIds: [] -annotations: [] -callableIdIfNonLocal: null -hasDefaultValue: false -isExtension: false -isVararg: false -name: value -origin: SOURCE -receiverType: null -symbolKind: LOCAL - -KtFirConstructorSymbol: -annotatedType: [] Style -annotationClassIds: [] -annotations: [] -callableIdIfNonLocal: null -containingClassIdIfNonLocal: Style -dispatchType: null -hasStableParameterNames: true -isExtension: false -isPrimary: true -origin: SOURCE -receiverType: null -symbolKind: MEMBER -typeParameters: [] -valueParameters: [ - KtFirValueParameterSymbol(value) - ] -visibility: Private - -KtFirPropertyGetterSymbol: -annotatedType: [] kotlin/String -annotationClassIds: [] -annotations: [] -callableIdIfNonLocal: null -dispatchType: null -hasBody: true -isDefault: false -isExtension: false -isInline: false -isOverride: false -modality: FINAL -origin: SOURCE -receiverType: null -symbolKind: ACCESSOR -visibility: Public - -KtFirKotlinPropertySymbol: -annotatedType: [] kotlin/String -annotationClassIds: [] -annotations: [] -callableIdIfNonLocal: null -dispatchType: -getter: KtFirPropertyGetterSymbol() -hasBackingField: false -hasGetter: true -hasSetter: false -initializer: null -isConst: false -isExtension: false -isLateInit: false -isOverride: true -isStatic: false -isVal: true -modality: FINAL -name: exitAnimation -origin: SOURCE -receiverType: null -setter: null -symbolKind: MEMBER -visibility: Public - -KtFirEnumEntrySymbol: -annotatedType: [] Style -callableIdIfNonLocal: /Style.SHEET -containingEnumClassIdIfNonLocal: Style -isExtension: false -name: SHEET -origin: SOURCE -receiverType: null -symbolKind: MEMBER - -KtFirKotlinPropertySymbol: -annotatedType: [] kotlin/String -annotationClassIds: [] -annotations: [] -callableIdIfNonLocal: /Style.exitAnimation -dispatchType: Style -getter: KtFirPropertyGetterSymbol() -hasBackingField: false -hasGetter: true -hasSetter: false -initializer: null -isConst: false -isExtension: false -isLateInit: false -isOverride: false -isStatic: false -isVal: true -modality: ABSTRACT -name: exitAnimation -origin: SOURCE -receiverType: null -setter: null -symbolKind: MEMBER -visibility: Public - -KtFirNamedClassOrObjectSymbol: -annotationClassIds: [] -annotations: [] -classIdIfNonLocal: Style -classKind: ENUM_CLASS -companionObject: null -isData: false -isExternal: false -isFun: false -isInline: false -isInner: false -modality: FINAL -name: Style -origin: SOURCE -superTypes: [ - [] kotlin/Enum