[Analysis API] Add symbol tests for properties from libraries

^KT-62888
^KT-62651
This commit is contained in:
Dmitrii Gridin
2023-12-29 22:42:40 +01:00
committed by Space Team
parent faf33e4fa4
commit a341dc704f
52 changed files with 3190 additions and 3 deletions
@@ -166,6 +166,78 @@ public class Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated ext
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaSyntheticAccessor.kt");
}
@Test
@TestMetadata("libraryConstructorProperty.kt")
public void testLibraryConstructorProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorProperty.kt");
}
@Test
@TestMetadata("libraryConstructorPropertyWithAnnotations.kt")
public void testLibraryConstructorPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryConstructorVariable.kt")
public void testLibraryConstructorVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariable.kt");
}
@Test
@TestMetadata("libraryConstructorVariableWithAnnotations.kt")
public void testLibraryConstructorVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariableWithAnnotations.kt");
}
@Test
@TestMetadata("libraryMemberProperty.kt")
public void testLibraryMemberProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberProperty.kt");
}
@Test
@TestMetadata("libraryMemberPropertyWithAnnotations.kt")
public void testLibraryMemberPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryMemberVariable.kt")
public void testLibraryMemberVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariable.kt");
}
@Test
@TestMetadata("libraryMemberVariableWithAnnotations.kt")
public void testLibraryMemberVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariableWithAnnotations.kt");
}
@Test
@TestMetadata("libraryProperty.kt")
public void testLibraryProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryProperty.kt");
}
@Test
@TestMetadata("libraryPropertyWithAnnotations.kt")
public void testLibraryPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryVariable.kt")
public void testLibraryVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariable.kt");
}
@Test
@TestMetadata("libraryVariableWithAnnotations.kt")
public void testLibraryVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariableWithAnnotations.kt");
}
@Test
@TestMetadata("primaryConstructorValueParameter.kt")
public void testPrimaryConstructorValueParameter() throws Exception {
@@ -166,6 +166,78 @@ public class FirIdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated exte
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaSyntheticAccessor.kt");
}
@Test
@TestMetadata("libraryConstructorProperty.kt")
public void testLibraryConstructorProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorProperty.kt");
}
@Test
@TestMetadata("libraryConstructorPropertyWithAnnotations.kt")
public void testLibraryConstructorPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryConstructorVariable.kt")
public void testLibraryConstructorVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariable.kt");
}
@Test
@TestMetadata("libraryConstructorVariableWithAnnotations.kt")
public void testLibraryConstructorVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariableWithAnnotations.kt");
}
@Test
@TestMetadata("libraryMemberProperty.kt")
public void testLibraryMemberProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberProperty.kt");
}
@Test
@TestMetadata("libraryMemberPropertyWithAnnotations.kt")
public void testLibraryMemberPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryMemberVariable.kt")
public void testLibraryMemberVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariable.kt");
}
@Test
@TestMetadata("libraryMemberVariableWithAnnotations.kt")
public void testLibraryMemberVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariableWithAnnotations.kt");
}
@Test
@TestMetadata("libraryProperty.kt")
public void testLibraryProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryProperty.kt");
}
@Test
@TestMetadata("libraryPropertyWithAnnotations.kt")
public void testLibraryPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryVariable.kt")
public void testLibraryVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariable.kt");
}
@Test
@TestMetadata("libraryVariableWithAnnotations.kt")
public void testLibraryVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariableWithAnnotations.kt");
}
@Test
@TestMetadata("primaryConstructorValueParameter.kt")
public void testPrimaryConstructorValueParameter() throws Exception {
@@ -22,7 +22,8 @@ import org.jetbrains.kotlin.analysis.api.symbols.*
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtSymbolWithTypeParameters
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtPsiBasedSymbolPointer
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.test.framework.base.AbstractAnalysisApiSingleFileTest
import org.jetbrains.kotlin.analysis.test.framework.base.AbstractAnalysisApiBasedTest
import org.jetbrains.kotlin.analysis.test.framework.project.structure.ktModuleProvider
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.FrontendKind
import org.jetbrains.kotlin.analysis.test.framework.utils.executeOnPooledThreadInReadAction
import org.jetbrains.kotlin.analysis.utils.printer.prettyPrint
@@ -32,12 +33,13 @@ import org.jetbrains.kotlin.test.directives.model.Directive
import org.jetbrains.kotlin.test.directives.model.RegisteredDirectives
import org.jetbrains.kotlin.test.directives.model.SimpleDirectivesContainer
import org.jetbrains.kotlin.test.model.TestModule
import org.jetbrains.kotlin.test.services.TestModuleStructure
import org.jetbrains.kotlin.test.services.TestServices
import org.jetbrains.kotlin.test.services.assertions
import org.jetbrains.kotlin.utils.addIfNotNull
import kotlin.test.fail
abstract class AbstractSymbolTest : AbstractAnalysisApiSingleFileTest() {
abstract class AbstractSymbolTest : AbstractAnalysisApiBasedTest() {
open val defaultRenderer = KtDeclarationRendererForDebug.WITH_QUALIFIED_NAMES
open val defaultRendererOption: PrettyRendererOption? = null
@@ -51,7 +53,13 @@ abstract class AbstractSymbolTest : AbstractAnalysisApiSingleFileTest() {
abstract fun KtAnalysisSession.collectSymbols(ktFile: KtFile, testServices: TestServices): SymbolsData
override fun doTestByFileStructure(ktFile: KtFile, module: TestModule, testServices: TestServices) {
override fun doTestByModuleStructure(moduleStructure: TestModuleStructure, testServices: TestServices) {
val lastModule = moduleStructure.modules.last()
val firstKtFileFile = testServices.ktModuleProvider.getModuleFiles(lastModule).firstNotNullOf { it as? KtFile }
doTestByFileStructure(firstKtFileFile, lastModule, testServices)
}
open fun doTestByFileStructure(ktFile: KtFile, module: TestModule, testServices: TestServices) {
val directives = module.directives
val directiveToIgnoreSymbolRestore = directives.doNotCheckSymbolRestoreDirective()
val directiveToIgnoreNonPsiSymbolRestore = directives.doNotCheckNonPsiSymbolRestoreDirective()
@@ -166,6 +166,78 @@ public class FirStandaloneNormalAnalysisSourceModuleSymbolByReferenceTestGenerat
runTest("analysis/analysis-api/testData/symbols/symbolByReference/javaSyntheticAccessor.kt");
}
@Test
@TestMetadata("libraryConstructorProperty.kt")
public void testLibraryConstructorProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorProperty.kt");
}
@Test
@TestMetadata("libraryConstructorPropertyWithAnnotations.kt")
public void testLibraryConstructorPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryConstructorVariable.kt")
public void testLibraryConstructorVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariable.kt");
}
@Test
@TestMetadata("libraryConstructorVariableWithAnnotations.kt")
public void testLibraryConstructorVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryConstructorVariableWithAnnotations.kt");
}
@Test
@TestMetadata("libraryMemberProperty.kt")
public void testLibraryMemberProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberProperty.kt");
}
@Test
@TestMetadata("libraryMemberPropertyWithAnnotations.kt")
public void testLibraryMemberPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryMemberVariable.kt")
public void testLibraryMemberVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariable.kt");
}
@Test
@TestMetadata("libraryMemberVariableWithAnnotations.kt")
public void testLibraryMemberVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryMemberVariableWithAnnotations.kt");
}
@Test
@TestMetadata("libraryProperty.kt")
public void testLibraryProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryProperty.kt");
}
@Test
@TestMetadata("libraryPropertyWithAnnotations.kt")
public void testLibraryPropertyWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryPropertyWithAnnotations.kt");
}
@Test
@TestMetadata("libraryVariable.kt")
public void testLibraryVariable() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariable.kt");
}
@Test
@TestMetadata("libraryVariableWithAnnotations.kt")
public void testLibraryVariableWithAnnotations() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByReference/libraryVariableWithAnnotations.kt");
}
@Test
@TestMetadata("primaryConstructorValueParameter.kt")
public void testPrimaryConstructorValueParameter() throws Exception {
@@ -0,0 +1,13 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
class SimpleClass(val constructorProperty: String)
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.SimpleClass) {
instance.constru<caret>ctorProperty
}
@@ -0,0 +1 @@
val constructorProperty: kotlin.String
@@ -0,0 +1,90 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.constructorProperty)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.constructorProperty
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: constructorProperty
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getConstructorProperty
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,62 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.constructorProperty)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.constructorProperty
contextReceivers: []
getter: null
hasBackingField: true
hasGetter: false
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: constructorProperty
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getConstructorProperty
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,19 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
class SimpleClass(
@Anno
@get:Anno
val constructorPropertyWithAnnotations: Short,
)
annotation class Anno
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.SimpleClass) {
instance.const<caret>ructorPropertyWithAnnotations
}
@@ -0,0 +1,3 @@
val constructorPropertyWithAnnotations: kotlin.Short
@one.Anno
get()
@@ -0,0 +1,93 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.constructorPropertyWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.constructorPropertyWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: constructorPropertyWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getConstructorPropertyWithAnnotations
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,93 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.constructorPropertyWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.constructorPropertyWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: constructorPropertyWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getConstructorPropertyWithAnnotations
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,13 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
class SimpleClass(var constructorVariable: Boolean)
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.SimpleClass) {
instance.construc<caret>torVariable
}
@@ -0,0 +1 @@
var constructorVariable: kotlin.Boolean
@@ -0,0 +1,167 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.constructorVariable)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.constructorVariable
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: constructorVariable
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
setter: KtPropertySetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
]
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getConstructorVariable
javaSetterName: setConstructorVariable
setterDeprecationStatus: null
@@ -0,0 +1,62 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.constructorVariable)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.constructorVariable
contextReceivers: []
getter: null
hasBackingField: true
hasGetter: false
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: constructorVariable
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getConstructorVariable
javaSetterName: setConstructorVariable
setterDeprecationStatus: null
@@ -0,0 +1,21 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
class SimpleClass(
@Anno
@get:Anno
@set:Anno
@setparam:Anno
var constructorVariableWithAnnotations: Long,
)
annotation class Anno
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.SimpleClass) {
instance.constru<caret>ctorVariableWithAnnotations
}
@@ -0,0 +1,5 @@
var constructorVariableWithAnnotations: kotlin.Long
@one.Anno
get()
@one.Anno
set(@one.Anno value: kotlin.Long)
@@ -0,0 +1,179 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.constructorVariableWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.constructorVariableWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: constructorVariableWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
setter: KtPropertySetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
]
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getConstructorVariableWithAnnotations
javaSetterName: setConstructorVariableWithAnnotations
setterDeprecationStatus: null
@@ -0,0 +1,179 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.constructorVariableWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.constructorVariableWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: constructorVariableWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
setter: KtPropertySetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
]
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getConstructorVariableWithAnnotations
javaSetterName: setConstructorVariableWithAnnotations
setterDeprecationStatus: null
@@ -0,0 +1,15 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
class SimpleClass {
val memberProperty: String = ""
}
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.SimpleClass) {
instance.mem<caret>berProperty
}
@@ -0,0 +1 @@
val memberProperty: kotlin.String
@@ -0,0 +1,90 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberProperty)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberProperty
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: memberProperty
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberProperty
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,62 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberProperty)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberProperty
contextReceivers: []
getter: null
hasBackingField: true
hasGetter: false
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: memberProperty
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberProperty
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,19 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
class SimpleClass{
@Anno
@get:Anno
val memberPropertyWithAnnotations: Short = 0
}
annotation class Anno
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.SimpleClass) {
instance.memberP<caret>ropertyWithAnnotations
}
@@ -0,0 +1,4 @@
@one.Anno
val memberPropertyWithAnnotations: kotlin.Short
@one.Anno
get()
@@ -0,0 +1,96 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberPropertyWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberPropertyWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: memberPropertyWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberPropertyWithAnnotations
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,96 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberPropertyWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberPropertyWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: memberPropertyWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberPropertyWithAnnotations
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,15 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
class SimpleClass {
var memberVariable: Boolean = true
}
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.SimpleClass) {
instance.memberV<caret>ariable
}
@@ -0,0 +1 @@
var memberVariable: kotlin.Boolean
@@ -0,0 +1,167 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberVariable)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberVariable
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: memberVariable
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
setter: KtPropertySetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
]
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberVariable
javaSetterName: setMemberVariable
setterDeprecationStatus: null
@@ -0,0 +1,62 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberVariable)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberVariable
contextReceivers: []
getter: null
hasBackingField: true
hasGetter: false
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: memberVariable
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberVariable
javaSetterName: setMemberVariable
setterDeprecationStatus: null
@@ -0,0 +1,21 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
class SimpleClass {
@Anno
@get:Anno
@set:Anno
@setparam:Anno
var memberVariableWithAnnotations: Long = 0L
}
annotation class Anno
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.SimpleClass) {
instance.memberV<caret>ariableWithAnnotations
}
@@ -0,0 +1,6 @@
@one.Anno
var memberVariableWithAnnotations: kotlin.Long
@one.Anno
get()
@one.Anno
set(@one.Anno value: kotlin.Long)
@@ -0,0 +1,182 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberVariableWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberVariableWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: memberVariableWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
setter: KtPropertySetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
]
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberVariableWithAnnotations
javaSetterName: setMemberVariableWithAnnotations
setterDeprecationStatus: null
@@ -0,0 +1,182 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberVariableWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberVariableWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: memberVariableWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
setter: KtPropertySetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
]
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberVariableWithAnnotations
javaSetterName: setMemberVariableWithAnnotations
setterDeprecationStatus: null
@@ -0,0 +1,13 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
val topLevelProperty: String = ""
// MODULE: main(lib)
// FILE: usage.kt
fun usage() {
one.topLevelP<caret>roperty
}
@@ -0,0 +1 @@
val topLevelProperty: kotlin.String
@@ -0,0 +1,82 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/topLevelProperty)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/topLevelProperty
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: topLevelProperty
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
setter: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getTopLevelProperty
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,58 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/topLevelProperty)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/topLevelProperty
contextReceivers: []
getter: null
hasBackingField: true
hasGetter: false
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: topLevelProperty
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
setter: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getTopLevelProperty
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,17 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
@Anno
@get:Anno
val topLevelPropertyWithAnnotations: Short = 0
annotation class Anno
// MODULE: main(lib)
// FILE: usage.kt
fun usage() {
one.topLev<caret>elPropertyWithAnnotations
}
@@ -0,0 +1,4 @@
@one.Anno
val topLevelPropertyWithAnnotations: kotlin.Short
@one.Anno
get()
@@ -0,0 +1,88 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/topLevelPropertyWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/topLevelPropertyWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: topLevelPropertyWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
setter: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getTopLevelPropertyWithAnnotations
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,88 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/topLevelPropertyWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/topLevelPropertyWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: topLevelPropertyWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Short
setter: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getTopLevelPropertyWithAnnotations
javaSetterName: null
setterDeprecationStatus: null
@@ -0,0 +1,13 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
var topLevelVariable: Boolean = true
// MODULE: main(lib)
// FILE: usage.kt
fun usage() {
one.topLe<caret>velVariable
}
@@ -0,0 +1 @@
var topLevelVariable: kotlin.Boolean
@@ -0,0 +1,155 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/topLevelVariable)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/topLevelVariable
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: topLevelVariable
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
setter: KtPropertySetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
]
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getTopLevelVariable
javaSetterName: setTopLevelVariable
setterDeprecationStatus: null
@@ -0,0 +1,58 @@
KtKotlinPropertySymbol:
annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/topLevelVariable)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/topLevelVariable
contextReceivers: []
getter: null
hasBackingField: true
hasGetter: false
hasSetter: false
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: topLevelVariable
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Boolean
setter: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getTopLevelVariable
javaSetterName: setTopLevelVariable
setterDeprecationStatus: null
@@ -0,0 +1,19 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
@Anno
@get:Anno
@set:Anno
@setparam:Anno
var topLevelVariableWithAnnotations: Long = 0L
annotation class Anno
// MODULE: main(lib)
// FILE: usage.kt
fun usage() {
one.topLevelV<caret>ariableWithAnnotations
}
@@ -0,0 +1,6 @@
@one.Anno
var topLevelVariableWithAnnotations: kotlin.Long
@one.Anno
get()
@one.Anno
set(@one.Anno value: kotlin.Long)
@@ -0,0 +1,170 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/topLevelVariableWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
callableIdIfNonLocal: one/topLevelVariableWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: topLevelVariableWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
setter: KtPropertySetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
]
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library library"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getTopLevelVariableWithAnnotations
javaSetterName: setTopLevelVariableWithAnnotations
setterDeprecationStatus: null
@@ -0,0 +1,170 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/topLevelVariableWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/topLevelVariableWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: topLevelVariableWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
setter: KtPropertySetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
]
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingFileSymbol: null
getContainingJvmClassName: one.LibKt
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getTopLevelVariableWithAnnotations
javaSetterName: setTopLevelVariableWithAnnotations
setterDeprecationStatus: null