Generate IR for annotation class constructors.
This commit is contained in:
@@ -236,6 +236,8 @@ class Fir2IrClassifierStorage(
|
|||||||
val visibility = regularClass.visibility
|
val visibility = regularClass.visibility
|
||||||
val modality = if (regularClass.classKind == ClassKind.ENUM_CLASS) {
|
val modality = if (regularClass.classKind == ClassKind.ENUM_CLASS) {
|
||||||
regularClass.enumClassModality()
|
regularClass.enumClassModality()
|
||||||
|
} else if (regularClass.classKind == ClassKind.ANNOTATION_CLASS) {
|
||||||
|
Modality.OPEN
|
||||||
} else {
|
} else {
|
||||||
regularClass.modality ?: Modality.FINAL
|
regularClass.modality ?: Modality.FINAL
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -29,7 +29,6 @@ import org.jetbrains.kotlin.ir.expressions.impl.*
|
|||||||
import org.jetbrains.kotlin.ir.symbols.IrConstructorSymbol
|
import org.jetbrains.kotlin.ir.symbols.IrConstructorSymbol
|
||||||
import org.jetbrains.kotlin.ir.types.IrType
|
import org.jetbrains.kotlin.ir.types.IrType
|
||||||
import org.jetbrains.kotlin.ir.util.constructedClassType
|
import org.jetbrains.kotlin.ir.util.constructedClassType
|
||||||
import org.jetbrains.kotlin.ir.util.isAnnotationClass
|
|
||||||
import org.jetbrains.kotlin.ir.util.isSetter
|
import org.jetbrains.kotlin.ir.util.isSetter
|
||||||
import org.jetbrains.kotlin.ir.util.parentAsClass
|
import org.jetbrains.kotlin.ir.util.parentAsClass
|
||||||
|
|
||||||
@@ -100,7 +99,7 @@ internal class ClassMemberGenerator(
|
|||||||
}
|
}
|
||||||
annotationGenerator.generate(irFunction, firFunction)
|
annotationGenerator.generate(irFunction, firFunction)
|
||||||
}
|
}
|
||||||
if (firFunction is FirConstructor && irFunction is IrConstructor && !parentAsClass.isAnnotationClass && !firFunction.isExpect) {
|
if (firFunction is FirConstructor && irFunction is IrConstructor && !firFunction.isExpect) {
|
||||||
val body = factory.createBlockBody(startOffset, endOffset)
|
val body = factory.createBlockBody(startOffset, endOffset)
|
||||||
val delegatedConstructor = firFunction.delegatedConstructor
|
val delegatedConstructor = firFunction.delegatedConstructor
|
||||||
if (delegatedConstructor != null) {
|
if (delegatedConstructor != null) {
|
||||||
|
|||||||
@@ -120,6 +120,8 @@ class ClassGenerator(
|
|||||||
|
|
||||||
private fun getEffectiveModality(ktClassOrObject: KtPureClassOrObject, classDescriptor: ClassDescriptor): Modality =
|
private fun getEffectiveModality(ktClassOrObject: KtPureClassOrObject, classDescriptor: ClassDescriptor): Modality =
|
||||||
when {
|
when {
|
||||||
|
DescriptorUtils.isAnnotationClass(classDescriptor) ->
|
||||||
|
Modality.OPEN
|
||||||
!DescriptorUtils.isEnumClass(classDescriptor) ->
|
!DescriptorUtils.isEnumClass(classDescriptor) ->
|
||||||
classDescriptor.modality
|
classDescriptor.modality
|
||||||
DescriptorUtils.hasAbstractMembers(classDescriptor) ->
|
DescriptorUtils.hasAbstractMembers(classDescriptor) ->
|
||||||
|
|||||||
@@ -228,7 +228,6 @@ class FunctionGenerator(declarationGenerator: DeclarationGenerator) : Declaratio
|
|||||||
declareConstructor(ktClassOrObject, ktClassOrObject.primaryConstructor ?: ktClassOrObject, primaryConstructorDescriptor) {
|
declareConstructor(ktClassOrObject, ktClassOrObject.primaryConstructor ?: ktClassOrObject, primaryConstructorDescriptor) {
|
||||||
if (
|
if (
|
||||||
primaryConstructorDescriptor.isExpect ||
|
primaryConstructorDescriptor.isExpect ||
|
||||||
DescriptorUtils.isAnnotationClass(primaryConstructorDescriptor.constructedClass) ||
|
|
||||||
primaryConstructorDescriptor.constructedClass.isEffectivelyExternal()
|
primaryConstructorDescriptor.constructedClass.isEffectivelyExternal()
|
||||||
)
|
)
|
||||||
null
|
null
|
||||||
|
|||||||
@@ -1,32 +1,51 @@
|
|||||||
annotation class Test1 : Annotation {
|
open annotation class Test1 : Annotation {
|
||||||
constructor(x: Int) /* primary */
|
constructor(x: Int) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Int
|
val x: Int
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test2 : Annotation {
|
open annotation class Test2 : Annotation {
|
||||||
constructor(x: Int = 0) /* primary */
|
constructor(x: Int = 0) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Int
|
val x: Int
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test3 : Annotation {
|
open annotation class Test3 : Annotation {
|
||||||
constructor(x: Test1) /* primary */
|
constructor(x: Test1) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Test1
|
val x: Test1
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test4 : Annotation {
|
open annotation class Test4 : Annotation {
|
||||||
constructor(vararg xs: Int) /* primary */
|
constructor(vararg xs: Int) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: IntArray
|
val xs: IntArray
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+16
-4
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/annotationClasses.kt
|
FILE fqName:<root> fileName:/annotationClasses.kt
|
||||||
CLASS ANNOTATION_CLASS name:Test1 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test1
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test1
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.Test1 [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.Test1 [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -27,12 +30,15 @@ FILE fqName:<root> fileName:/annotationClasses.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Test2 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test2
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test2
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.Test2 [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.Test2 [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
CONST Int type=kotlin.Int value=0
|
CONST Int type=kotlin.Int value=0
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -57,10 +63,13 @@ FILE fqName:<root> fileName:/annotationClasses.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Test3 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test3 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test3
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test3
|
||||||
CONSTRUCTOR visibility:public <> (x:<root>.Test1) returnType:<root>.Test3 [primary]
|
CONSTRUCTOR visibility:public <> (x:<root>.Test1) returnType:<root>.Test3 [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:<root>.Test1
|
VALUE_PARAMETER name:x index:0 type:<root>.Test1
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test3 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:<root>.Test1 visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:<root>.Test1 visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -85,10 +94,13 @@ FILE fqName:<root> fileName:/annotationClasses.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Test4 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test4 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test4
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test4
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.IntArray) returnType:<root>.Test4 [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.IntArray) returnType:<root>.Test4 [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.IntArray varargElementType:kotlin.Int [vararg]
|
VALUE_PARAMETER name:xs index:0 type:kotlin.IntArray varargElementType:kotlin.Int [vararg]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test4 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.IntArray visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.IntArray visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+6
-2
@@ -20,8 +20,12 @@ object TestObject {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class TestAnnotationClass : Annotation {
|
open annotation class TestAnnotationClass : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -52,9 +52,12 @@ FILE fqName:<root> fileName:/classes.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:TestAnnotationClass modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnnotationClass modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnotationClass
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnotationClass
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.TestAnnotationClass [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.TestAnnotationClass [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnnotationClass modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
+6
-3
@@ -20,8 +20,12 @@ object TestObject {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class TestAnnotationClass : Annotation {
|
open annotation class TestAnnotationClass : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,4 +41,3 @@ enum class TestEnumClass : Enum<TestEnumClass> {
|
|||||||
fun valueOf(value: String): TestEnumClass /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnumClass /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -52,9 +52,12 @@ FILE fqName:<root> fileName:/classes.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:TestAnnotationClass modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnnotationClass modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnotationClass
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnotationClass
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.TestAnnotationClass [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.TestAnnotationClass [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnnotationClass modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
Vendored
+6
-2
@@ -1,5 +1,9 @@
|
|||||||
annotation class SomeAnn : Annotation {
|
open annotation class SomeAnn : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/annotationOnClassWithInitializer.kt
|
FILE fqName:<root> fileName:/annotationOnClassWithInitializer.kt
|
||||||
CLASS ANNOTATION_CLASS name:SomeAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:SomeAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.SomeAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.SomeAnn
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.SomeAnn [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.SomeAnn [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:SomeAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
Vendored
+21
-7
@@ -1,21 +1,36 @@
|
|||||||
annotation class A1 : Annotation {
|
open annotation class A1 : Annotation {
|
||||||
constructor(x: Int) /* primary */
|
constructor(x: Int) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Int
|
val x: Int
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class A2 : Annotation {
|
open annotation class A2 : Annotation {
|
||||||
constructor(a: A1) /* primary */
|
constructor(a: A1) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val a: A1
|
val a: A1
|
||||||
field = a
|
field = a
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class AA : Annotation {
|
open annotation class AA : Annotation {
|
||||||
constructor(xs: Array<A1>) /* primary */
|
constructor(xs: Array<A1>) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: Array<A1>
|
val xs: Array<A1>
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
@@ -26,4 +41,3 @@ annotation class AA : Annotation {
|
|||||||
@AA(xs = [A1(x = 1), A1(x = 2)])
|
@AA(xs = [A1(x = 1), A1(x = 2)])
|
||||||
fun test() {
|
fun test() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+12
-3
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/annotationsInAnnotationArguments.kt
|
FILE fqName:<root> fileName:/annotationsInAnnotationArguments.kt
|
||||||
CLASS ANNOTATION_CLASS name:A1 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A1
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A1
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.A1 [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.A1 [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -27,10 +30,13 @@ FILE fqName:<root> fileName:/annotationsInAnnotationArguments.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:A2 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A2
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A2
|
||||||
CONSTRUCTOR visibility:public <> (a:<root>.A1) returnType:<root>.A2 [primary]
|
CONSTRUCTOR visibility:public <> (a:<root>.A1) returnType:<root>.A2 [primary]
|
||||||
VALUE_PARAMETER name:a index:0 type:<root>.A1
|
VALUE_PARAMETER name:a index:0 type:<root>.A1
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:a visibility:public modality:FINAL [val]
|
PROPERTY name:a visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:a type:<root>.A1 visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:a type:<root>.A1 visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -55,10 +61,13 @@ FILE fqName:<root> fileName:/annotationsInAnnotationArguments.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:AA modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:AA modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.AA
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.AA
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<<root>.A1>) returnType:<root>.AA [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<<root>.A1>) returnType:<root>.AA [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<<root>.A1>
|
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<<root>.A1>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:AA modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<<root>.A1> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<<root>.A1> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
Vendored
+6
-2
@@ -1,5 +1,9 @@
|
|||||||
annotation class Ann : Annotation {
|
open annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/annotationsOnDelegatedMembers.kt
|
FILE fqName:<root> fileName:/annotationsOnDelegatedMembers.kt
|
||||||
CLASS ANNOTATION_CLASS name:Ann modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
+6
-2
@@ -1,5 +1,9 @@
|
|||||||
annotation class Ann : Annotation {
|
open annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/annotationsOnDelegatedMembers.kt
|
FILE fqName:<root> fileName:/annotationsOnDelegatedMembers.kt
|
||||||
CLASS ANNOTATION_CLASS name:Ann modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
Vendored
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(x: String = "", y: Int = 42) /* primary */
|
constructor(x: String = "", y: Int = 42) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -29,4 +34,3 @@ fun test4() {
|
|||||||
@A
|
@A
|
||||||
fun test5() {
|
fun test5() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,5 +1,5 @@
|
|||||||
FILE fqName:<root> fileName:/annotationsWithDefaultParameterValues.kt
|
FILE fqName:<root> fileName:/annotationsWithDefaultParameterValues.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String, y:kotlin.Int) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String, y:kotlin.Int) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
@@ -8,6 +8,9 @@ FILE fqName:<root> fileName:/annotationsWithDefaultParameterValues.kt
|
|||||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int
|
VALUE_PARAMETER name:y index:1 type:kotlin.Int
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
CONST Int type=kotlin.Int value=42
|
CONST Int type=kotlin.Int value=42
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
Vendored
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(vararg xs: String) /* primary */
|
constructor(vararg xs: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: Array<out String>
|
val xs: Array<out String>
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
@@ -17,4 +22,3 @@ fun test2() {
|
|||||||
@A(xs = [])
|
@A(xs = [])
|
||||||
fun test3() {
|
fun test3() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/annotationsWithVarargParameters.kt
|
FILE fqName:<root> fileName:/annotationsWithVarargParameters.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out kotlin.String>) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out kotlin.String>) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out kotlin.String> varargElementType:kotlin.String [vararg]
|
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out kotlin.String> varargElementType:kotlin.String [vararg]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out kotlin.String> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out kotlin.String> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+14
-5
@@ -1,13 +1,23 @@
|
|||||||
annotation class TestAnnWithIntArray : Annotation {
|
open annotation class TestAnnWithIntArray : Annotation {
|
||||||
constructor(x: IntArray) /* primary */
|
constructor(x: IntArray) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: IntArray
|
val x: IntArray
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class TestAnnWithStringArray : Annotation {
|
open annotation class TestAnnWithStringArray : Annotation {
|
||||||
constructor(x: Array<String>) /* primary */
|
constructor(x: Array<String>) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Array<String>
|
val x: Array<String>
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -23,4 +33,3 @@ fun test1() {
|
|||||||
@TestAnnWithStringArray(x = ["d", "e", "f"])
|
@TestAnnWithStringArray(x = ["d", "e", "f"])
|
||||||
fun test2() {
|
fun test2() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+8
-2
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/arrayInAnnotationArguments.kt
|
FILE fqName:<root> fileName:/arrayInAnnotationArguments.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnnWithIntArray modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnnWithIntArray modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnWithIntArray
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnWithIntArray
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.IntArray) returnType:<root>.TestAnnWithIntArray [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.IntArray) returnType:<root>.TestAnnWithIntArray [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.IntArray
|
VALUE_PARAMETER name:x index:0 type:kotlin.IntArray
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnnWithIntArray modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.IntArray visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.IntArray visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -27,10 +30,13 @@ FILE fqName:<root> fileName:/arrayInAnnotationArguments.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:TestAnnWithStringArray modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnnWithStringArray modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnWithStringArray
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnWithStringArray
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Array<kotlin.String>) returnType:<root>.TestAnnWithStringArray [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Array<kotlin.String>) returnType:<root>.TestAnnWithStringArray [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Array<kotlin.String>
|
VALUE_PARAMETER name:x index:0 type:kotlin.Array<kotlin.String>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnnWithStringArray modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Array<kotlin.String> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Array<kotlin.String> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(klass: KClass<*>) /* primary */
|
constructor(klass: KClass<*>) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val klass: KClass<*>
|
val klass: KClass<*>
|
||||||
field = klass
|
field = klass
|
||||||
get
|
get
|
||||||
@@ -18,4 +23,3 @@ class C {
|
|||||||
@A(klass = C::class)
|
@A(klass = C::class)
|
||||||
fun test1() {
|
fun test1() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/classLiteralInAnnotation.kt
|
FILE fqName:<root> fileName:/classLiteralInAnnotation.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (klass:kotlin.reflect.KClass<*>) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (klass:kotlin.reflect.KClass<*>) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:klass index:0 type:kotlin.reflect.KClass<*>
|
VALUE_PARAMETER name:klass index:0 type:kotlin.reflect.KClass<*>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:klass visibility:public modality:FINAL [val]
|
PROPERTY name:klass visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:klass type:kotlin.reflect.KClass<*> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:klass type:kotlin.reflect.KClass<*> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+13
-4
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -65,7 +70,11 @@ enum class TestEnum : Enum<TestEnum> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = "annotation")
|
@TestAnn(x = "annotation")
|
||||||
annotation class TestAnnotation : Annotation {
|
open annotation class TestAnnotation : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+8
-2
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/classesWithAnnotations.kt
|
FILE fqName:<root> fileName:/classesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -178,11 +181,14 @@ FILE fqName:<root> fileName:/classesWithAnnotations.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public final fun <get-ordinal> (): kotlin.Int declared in kotlin.Enum
|
public final fun <get-ordinal> (): kotlin.Int declared in kotlin.Enum
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<E of kotlin.Enum>
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<E of kotlin.Enum>
|
||||||
CLASS ANNOTATION_CLASS name:TestAnnotation modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnnotation modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
TestAnn(x = 'annotation')
|
TestAnn(x = 'annotation')
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnotation
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnotation
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.TestAnnotation [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.TestAnnotation [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnnotation modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
+13
-5
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -65,8 +70,11 @@ enum class TestEnum : Enum<TestEnum> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@TestAnn(x = "annotation")
|
@TestAnn(x = "annotation")
|
||||||
annotation class TestAnnotation : Annotation {
|
open annotation class TestAnnotation : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+8
-2
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/classesWithAnnotations.kt
|
FILE fqName:<root> fileName:/classesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -186,11 +189,14 @@ FILE fqName:<root> fileName:/classesWithAnnotations.kt
|
|||||||
FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.TestEnum
|
FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.TestEnum
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
||||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||||
CLASS ANNOTATION_CLASS name:TestAnnotation modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnnotation modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
TestAnn(x = 'annotation')
|
TestAnn(x = 'annotation')
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnotation
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnnotation
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.TestAnnotation [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.TestAnnotation [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnnotation modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
Vendored
+7
-3
@@ -2,8 +2,13 @@ const val ONE: Int
|
|||||||
field = 1
|
field = 1
|
||||||
get
|
get
|
||||||
|
|
||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(x: Int) /* primary */
|
constructor(x: Int) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Int
|
val x: Int
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -17,4 +22,3 @@ fun test1() {
|
|||||||
@A(x = 2)
|
@A(x = 2)
|
||||||
fun test2() {
|
fun test2() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-1
@@ -8,10 +8,13 @@ FILE fqName:<root> fileName:/constExpressionsInAnnotationArguments.kt
|
|||||||
BLOCK_BODY
|
BLOCK_BODY
|
||||||
RETURN type=kotlin.Nothing from='public final fun <get-ONE> (): kotlin.Int declared in <root>'
|
RETURN type=kotlin.Nothing from='public final fun <get-ONE> (): kotlin.Int declared in <root>'
|
||||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:ONE type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:ONE type:kotlin.Int visibility:public [final,static]' type=kotlin.Int origin=null
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: Int) /* primary */
|
constructor(x: Int) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Int
|
val x: Int
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -20,4 +25,3 @@ class TestClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/constructorsWithAnnotations.kt
|
FILE fqName:<root> fileName:/constructorsWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+6
-3
@@ -1,5 +1,9 @@
|
|||||||
annotation class Ann : Annotation {
|
open annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11,4 +15,3 @@ val test1: Int /* by */
|
|||||||
get(): Int {
|
get(): Int {
|
||||||
return #test1$delegate.getValue<Int>(thisRef = null, property = ::test1)
|
return #test1$delegate.getValue<Int>(thisRef = null, property = ::test1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/delegateFieldWithAnnotations.kt
|
FILE fqName:<root> fileName:/delegateFieldWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:Ann modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
+7
-2
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/delegatedPropertyAccessorsWithAnnotations.kt
|
FILE fqName:<root> fileName:/delegatedPropertyAccessorsWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -45,4 +50,3 @@ var test2: Int /* by */
|
|||||||
set(@A(x = "test2.set.param") <set-?>: Int) {
|
set(@A(x = "test2.set.param") <set-?>: Int) {
|
||||||
return #test2$delegate.setValue(thisRef = null, kProp = ::test2, newValue = <set-?>)
|
return #test2$delegate.setValue(thisRef = null, kProp = ::test2, newValue = <set-?>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/delegatedPropertyAccessorsWithAnnotations.kt
|
FILE fqName:<root> fileName:/delegatedPropertyAccessorsWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-2
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/enumEntriesWithAnnotations.kt
|
FILE fqName:<root> fileName:/enumEntriesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -37,4 +42,3 @@ open enum class TestEnum : Enum<TestEnum> {
|
|||||||
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/enumEntriesWithAnnotations.kt
|
FILE fqName:<root> fileName:/enumEntriesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-2
@@ -19,8 +19,13 @@ enum class En : Enum<En> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: En) /* primary */
|
constructor(x: En) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: En
|
val x: En
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|||||||
+4
-1
@@ -61,10 +61,13 @@ FILE fqName:<root> fileName:/enumsInAnnotationArguments.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public final fun <get-ordinal> (): kotlin.Int declared in kotlin.Enum
|
public final fun <get-ordinal> (): kotlin.Int declared in kotlin.Enum
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<E of kotlin.Enum>
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<E of kotlin.Enum>
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:<root>.En) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:<root>.En) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:<root>.En
|
VALUE_PARAMETER name:x index:0 type:<root>.En
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:<root>.En visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:<root>.En visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -19,8 +19,13 @@ enum class En : Enum<En> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: En) /* primary */
|
constructor(x: En) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: En
|
val x: En
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -30,4 +35,3 @@ annotation class TestAnn : Annotation {
|
|||||||
@TestAnn(x = En.A)
|
@TestAnn(x = En.A)
|
||||||
fun test1() {
|
fun test1() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -69,10 +69,13 @@ FILE fqName:<root> fileName:/enumsInAnnotationArguments.kt
|
|||||||
FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.En
|
FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.En
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
||||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:<root>.En) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:<root>.En) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:<root>.En
|
VALUE_PARAMETER name:x index:0 type:<root>.En
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:<root>.En visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:<root>.En visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -14,4 +19,3 @@ var testVar: String
|
|||||||
field = "a var"
|
field = "a var"
|
||||||
get
|
get
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/fieldsWithAnnotations.kt
|
FILE fqName:<root> fileName:/fieldsWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -2,11 +2,15 @@
|
|||||||
package test
|
package test
|
||||||
|
|
||||||
@Target(allowedTargets = [AnnotationTarget.FILE])
|
@Target(allowedTargets = [AnnotationTarget.FILE])
|
||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
FILE fqName:test fileName:/fileAnnotations.kt
|
FILE fqName:test fileName:/fileAnnotations.kt
|
||||||
annotations:
|
annotations:
|
||||||
A(x = 'File annotation')
|
A(x = 'File annotation')
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:FILE' type=kotlin.annotation.AnnotationTarget])
|
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:FILE' type=kotlin.annotation.AnnotationTarget])
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.A
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:test.A [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:test.A [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: Int) /* primary */
|
constructor(x: Int) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Int
|
val x: Int
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -9,4 +14,3 @@ annotation class TestAnn : Annotation {
|
|||||||
@TestAnn(x = 42)
|
@TestAnn(x = 42)
|
||||||
fun testSimpleFunction() {
|
fun testSimpleFunction() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/functionsWithAnnotations.kt
|
FILE fqName:<root> fileName:/functionsWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+35
-11
@@ -1,15 +1,25 @@
|
|||||||
package ann
|
package ann
|
||||||
|
|
||||||
annotation class Test1<T : Any?> : Annotation {
|
open annotation class Test1<T : Any?> : Annotation {
|
||||||
constructor(x: Int) /* primary */
|
constructor(x: Int) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Int
|
val x: Int
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test2<T1 : Any, T2 : Any?> : Annotation {
|
open annotation class Test2<T1 : Any, T2 : Any?> : Annotation {
|
||||||
constructor(x: Int = 0) /* primary */
|
constructor(x: Int = 0) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Int
|
val x: Int
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -20,8 +30,13 @@ interface I<T : Any?> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test3<T1 : Any?, T2 : I<T1>> : Annotation {
|
open annotation class Test3<T1 : Any?, T2 : I<T1>> : Annotation {
|
||||||
constructor(x: Test1<I<T2>>) /* primary */
|
constructor(x: Test1<I<T2>>) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Test1<I<T2>>
|
val x: Test1<I<T2>>
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -37,8 +52,13 @@ class C<T : Any?> : I<T> {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test4 : Annotation {
|
open annotation class Test4 : Annotation {
|
||||||
constructor(x: Array<Test3<Int, C<Int>>>) /* primary */
|
constructor(x: Array<Test3<Int, C<Int>>>) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: Array<Test3<Int, C<Int>>>
|
val x: Array<Test3<Int, C<Int>>>
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -54,8 +74,13 @@ class ARG {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class Test5<T : Any?> : Annotation {
|
open annotation class Test5<T : Any?> : Annotation {
|
||||||
constructor(vararg xs: Test3<T, C<T>>) /* primary */
|
constructor(vararg xs: Test3<T, C<T>>) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: Array<out Test3<T, C<T>>>
|
val xs: Array<out Test3<T, C<T>>>
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
@@ -75,4 +100,3 @@ class CC {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+20
-5
@@ -1,9 +1,12 @@
|
|||||||
FILE fqName:ann fileName:/genericAnnotationClasses.kt
|
FILE fqName:ann fileName:/genericAnnotationClasses.kt
|
||||||
CLASS ANNOTATION_CLASS name:Test1 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test1<T of ann.Test1>
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test1<T of ann.Test1>
|
||||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:ann.Test1<T of ann.Test1> [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:ann.Test1<T of ann.Test1> [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -28,7 +31,7 @@ FILE fqName:ann fileName:/genericAnnotationClasses.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Test2 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test2<T1 of ann.Test2, T2 of ann.Test2>
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test2<T1 of ann.Test2, T2 of ann.Test2>
|
||||||
TYPE_PARAMETER name:T1 index:0 variance: superTypes:[kotlin.Any]
|
TYPE_PARAMETER name:T1 index:0 variance: superTypes:[kotlin.Any]
|
||||||
TYPE_PARAMETER name:T2 index:1 variance: superTypes:[kotlin.Any?]
|
TYPE_PARAMETER name:T2 index:1 variance: superTypes:[kotlin.Any?]
|
||||||
@@ -36,6 +39,9 @@ FILE fqName:ann fileName:/genericAnnotationClasses.kt
|
|||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
CONST Int type=kotlin.Int value=0
|
CONST Int type=kotlin.Int value=0
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -76,12 +82,15 @@ FILE fqName:ann fileName:/genericAnnotationClasses.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Test3 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test3 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test3<T1 of ann.Test3, T2 of ann.Test3>
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test3<T1 of ann.Test3, T2 of ann.Test3>
|
||||||
TYPE_PARAMETER name:T1 index:0 variance: superTypes:[kotlin.Any?]
|
TYPE_PARAMETER name:T1 index:0 variance: superTypes:[kotlin.Any?]
|
||||||
TYPE_PARAMETER name:T2 index:1 variance: superTypes:[ann.I<T1 of ann.Test3>]
|
TYPE_PARAMETER name:T2 index:1 variance: superTypes:[ann.I<T1 of ann.Test3>]
|
||||||
CONSTRUCTOR visibility:public <> (x:ann.Test1<ann.I<T2 of ann.Test3>>) returnType:ann.Test3<T1 of ann.Test3, T2 of ann.Test3> [primary]
|
CONSTRUCTOR visibility:public <> (x:ann.Test1<ann.I<T2 of ann.Test3>>) returnType:ann.Test3<T1 of ann.Test3, T2 of ann.Test3> [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:ann.Test1<ann.I<T2 of ann.Test3>>
|
VALUE_PARAMETER name:x index:0 type:ann.Test1<ann.I<T2 of ann.Test3>>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test3 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:ann.Test1<ann.I<T2 of ann.Test3>> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:ann.Test1<ann.I<T2 of ann.Test3>> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -126,10 +135,13 @@ FILE fqName:ann fileName:/genericAnnotationClasses.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in ann.I
|
public open fun toString (): kotlin.String [fake_override] declared in ann.I
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Test4 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test4 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test4
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test4
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.Array<ann.Test3<kotlin.Int, ann.C<kotlin.Int>>>) returnType:ann.Test4 [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.Array<ann.Test3<kotlin.Int, ann.C<kotlin.Int>>>) returnType:ann.Test4 [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.Array<ann.Test3<kotlin.Int, ann.C<kotlin.Int>>>
|
VALUE_PARAMETER name:x index:0 type:kotlin.Array<ann.Test3<kotlin.Int, ann.C<kotlin.Int>>>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test4 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Array<ann.Test3<kotlin.Int, ann.C<kotlin.Int>>> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Array<ann.Test3<kotlin.Int, ann.C<kotlin.Int>>> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -173,11 +185,14 @@ FILE fqName:ann fileName:/genericAnnotationClasses.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Test5 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Test5 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test5<T of ann.Test5>
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ann.Test5<T of ann.Test5>
|
||||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?]
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out ann.Test3<T of ann.Test5, ann.C<T of ann.Test5>>>) returnType:ann.Test5<T of ann.Test5> [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out ann.Test3<T of ann.Test5, ann.C<T of ann.Test5>>>) returnType:ann.Test5<T of ann.Test5> [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out ann.Test3<T of ann.Test5, ann.C<T of ann.Test5>>> varargElementType:ann.Test3<T of ann.Test5, ann.C<T of ann.Test5>> [vararg]
|
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out ann.Test3<T of ann.Test5, ann.C<T of ann.Test5>>> varargElementType:ann.Test3<T of ann.Test5, ann.C<T of ann.Test5>> [vararg]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test5 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out ann.Test3<T of ann.Test5, ann.C<T of ann.Test5>>> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out ann.Test3<T of ann.Test5, ann.C<T of ann.Test5>>> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
Vendored
+24
-6
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/C.kt
|
FILE fqName:<root> fileName:/C.kt
|
||||||
CLASS ANNOTATION_CLASS name:Anno modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Anno modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Anno
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Anno
|
||||||
CONSTRUCTOR visibility:public <> (token:kotlin.String) returnType:<root>.Anno [primary]
|
CONSTRUCTOR visibility:public <> (token:kotlin.String) returnType:<root>.Anno [primary]
|
||||||
VALUE_PARAMETER name:token index:0 type:kotlin.String
|
VALUE_PARAMETER name:token index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Anno modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:token visibility:public modality:FINAL [val]
|
PROPERTY name:token visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:token type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:token type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -88,10 +91,13 @@ FILE fqName:<root> fileName:/C.kt
|
|||||||
FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.E
|
FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.E
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
||||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||||
CLASS ANNOTATION_CLASS name:Annos modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Annos modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Annos
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Annos
|
||||||
CONSTRUCTOR visibility:public <> (value:kotlin.Array<<root>.Anno>) returnType:<root>.Annos [primary]
|
CONSTRUCTOR visibility:public <> (value:kotlin.Array<<root>.Anno>) returnType:<root>.Annos [primary]
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.Array<<root>.Anno>
|
VALUE_PARAMETER name:value index:0 type:kotlin.Array<<root>.Anno>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Annos modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:value visibility:public modality:FINAL [val]
|
PROPERTY name:value visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.Array<<root>.Anno> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.Array<<root>.Anno> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -116,10 +122,13 @@ FILE fqName:<root> fileName:/C.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Strings modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Strings modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Strings
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Strings
|
||||||
CONSTRUCTOR visibility:public <> (value:kotlin.Array<kotlin.String>) returnType:<root>.Strings [primary]
|
CONSTRUCTOR visibility:public <> (value:kotlin.Array<kotlin.String>) returnType:<root>.Strings [primary]
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.Array<kotlin.String>
|
VALUE_PARAMETER name:value index:0 type:kotlin.Array<kotlin.String>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Strings modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:value visibility:public modality:FINAL [val]
|
PROPERTY name:value visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.Array<kotlin.String> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.Array<kotlin.String> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -144,10 +153,13 @@ FILE fqName:<root> fileName:/C.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Ints modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Ints modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ints
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ints
|
||||||
CONSTRUCTOR visibility:public <> (value:kotlin.IntArray) returnType:<root>.Ints [primary]
|
CONSTRUCTOR visibility:public <> (value:kotlin.IntArray) returnType:<root>.Ints [primary]
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.IntArray
|
VALUE_PARAMETER name:value index:0 type:kotlin.IntArray
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Ints modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:value visibility:public modality:FINAL [val]
|
PROPERTY name:value visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.IntArray visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.IntArray visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -172,10 +184,13 @@ FILE fqName:<root> fileName:/C.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Enums modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Enums modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Enums
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Enums
|
||||||
CONSTRUCTOR visibility:public <> (value:kotlin.Array<<root>.E>) returnType:<root>.Enums [primary]
|
CONSTRUCTOR visibility:public <> (value:kotlin.Array<<root>.E>) returnType:<root>.Enums [primary]
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.Array<<root>.E>
|
VALUE_PARAMETER name:value index:0 type:kotlin.Array<<root>.E>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Enums modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:value visibility:public modality:FINAL [val]
|
PROPERTY name:value visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.Array<<root>.E> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.Array<<root>.E> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -200,10 +215,13 @@ FILE fqName:<root> fileName:/C.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:Classes modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Classes modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Classes
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Classes
|
||||||
CONSTRUCTOR visibility:public <> (value:kotlin.Array<kotlin.reflect.KClass<*>>) returnType:<root>.Classes [primary]
|
CONSTRUCTOR visibility:public <> (value:kotlin.Array<kotlin.reflect.KClass<*>>) returnType:<root>.Classes [primary]
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.Array<kotlin.reflect.KClass<*>>
|
VALUE_PARAMETER name:value index:0 type:kotlin.Array<kotlin.reflect.KClass<*>>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Classes modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:value visibility:public modality:FINAL [val]
|
PROPERTY name:value visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.Array<kotlin.reflect.KClass<*>> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.Array<kotlin.reflect.KClass<*>> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-2
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|||||||
compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.fir.txt
Vendored
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/localDelegatedPropertiesWithAnnotations.kt
|
FILE fqName:<root> fileName:/localDelegatedPropertiesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
Vendored
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -18,4 +23,3 @@ fun foo(m: Map<String, Int>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/localDelegatedPropertiesWithAnnotations.kt
|
FILE fqName:<root> fileName:/localDelegatedPropertiesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
Vendored
+18
-7
@@ -1,15 +1,27 @@
|
|||||||
annotation class A1 : Annotation {
|
open annotation class A1 : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class A2 : Annotation {
|
open annotation class A2 : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class A3 : Annotation {
|
open annotation class A3 : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,4 +30,3 @@ annotation class A3 : Annotation {
|
|||||||
@A3
|
@A3
|
||||||
fun test() {
|
fun test() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+12
-3
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/multipleAnnotationsInSquareBrackets.kt
|
FILE fqName:<root> fileName:/multipleAnnotationsInSquareBrackets.kt
|
||||||
CLASS ANNOTATION_CLASS name:A1 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A1
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A1
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A1 [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.A1 [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
@@ -15,9 +18,12 @@ FILE fqName:<root> fileName:/multipleAnnotationsInSquareBrackets.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:A2 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A2
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A2
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A2 [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.A2 [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
@@ -31,9 +37,12 @@ FILE fqName:<root> fileName:/multipleAnnotationsInSquareBrackets.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:A3 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A3 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A3
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A3
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A3 [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.A3 [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A3 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
+6
-3
@@ -1,5 +1,9 @@
|
|||||||
annotation class Ann : Annotation {
|
open annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -15,4 +19,3 @@ class Test {
|
|||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/primaryConstructorParameterWithAnnotations.kt
|
FILE fqName:<root> fileName:/primaryConstructorParameterWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:Ann modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -10,4 +15,3 @@ annotation class TestAnn : Annotation {
|
|||||||
val testVal: String
|
val testVal: String
|
||||||
field = ""
|
field = ""
|
||||||
get
|
get
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/propertiesWithAnnotations.kt
|
FILE fqName:<root> fileName:/propertiesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -26,4 +31,3 @@ class C {
|
|||||||
set
|
set
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/propertyAccessorsFromClassHeaderWithAnnotations.kt
|
FILE fqName:<root> fileName:/propertyAccessorsFromClassHeaderWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
Vendored
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -32,4 +37,3 @@ var test4: String
|
|||||||
get
|
get
|
||||||
@TestAnn(x = "test4.set")
|
@TestAnn(x = "test4.set")
|
||||||
set
|
set
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/propertyAccessorsWithAnnotations.kt
|
FILE fqName:<root> fileName:/propertyAccessorsWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
Vendored
+6
-3
@@ -1,5 +1,9 @@
|
|||||||
annotation class AnnParam : Annotation {
|
open annotation class AnnParam : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -21,4 +25,3 @@ class C {
|
|||||||
set
|
set
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/propertySetterParameterWithAnnotations.kt
|
FILE fqName:<root> fileName:/propertySetterParameterWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:AnnParam modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:AnnParam modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.AnnParam
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.AnnParam
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.AnnParam [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.AnnParam [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:AnnParam modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
Vendored
+6
-2
@@ -1,5 +1,9 @@
|
|||||||
annotation class Ann : Annotation {
|
open annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/receiverParameterWithAnnotations.kt
|
FILE fqName:<root> fileName:/receiverParameterWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:Ann modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
Vendored
+6
-3
@@ -1,5 +1,9 @@
|
|||||||
annotation class Ann : Annotation {
|
open annotation class Ann : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,4 +33,3 @@ val String.topLevelP: String
|
|||||||
get(): String {
|
get(): String {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:<root> fileName:/receiverParameterWithAnnotations.kt
|
FILE fqName:<root> fileName:/receiverParameterWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:Ann modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Ann
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.Ann [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Ann modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
Vendored
+7
-2
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(vararg xs: String) /* primary */
|
constructor(vararg xs: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: Array<out String>
|
val xs: Array<out String>
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/spreadOperatorInAnnotationArguments.kt
|
FILE fqName:<root> fileName:/spreadOperatorInAnnotationArguments.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out kotlin.String>) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out kotlin.String>) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out kotlin.String> varargElementType:kotlin.String [vararg]
|
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out kotlin.String> varargElementType:kotlin.String [vararg]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out kotlin.String> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out kotlin.String> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
Vendored
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class A : Annotation {
|
open annotation class A : Annotation {
|
||||||
constructor(vararg xs: String) /* primary */
|
constructor(vararg xs: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: Array<out String>
|
val xs: Array<out String>
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
@@ -9,4 +14,3 @@ annotation class A : Annotation {
|
|||||||
@A(xs = [["a"], ["b"]])
|
@A(xs = [["a"], ["b"]])
|
||||||
fun test() {
|
fun test() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/spreadOperatorInAnnotationArguments.kt
|
FILE fqName:<root> fileName:/spreadOperatorInAnnotationArguments.kt
|
||||||
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out kotlin.String>) returnType:<root>.A [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out kotlin.String>) returnType:<root>.A [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out kotlin.String> varargElementType:kotlin.String [vararg]
|
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out kotlin.String> varargElementType:kotlin.String [vararg]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out kotlin.String> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out kotlin.String> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-2
@@ -1,8 +1,13 @@
|
|||||||
@TestAnn(x = "TestTypeAlias")
|
@TestAnn(x = "TestTypeAlias")
|
||||||
typealias TestTypeAlias = String
|
typealias TestTypeAlias = String
|
||||||
@Target(allowedTargets = [AnnotationTarget.TYPEALIAS])
|
@Target(allowedTargets = [AnnotationTarget.TYPEALIAS])
|
||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|||||||
+4
-1
@@ -2,12 +2,15 @@ FILE fqName:<root> fileName:/typeAliasesWithAnnotations.kt
|
|||||||
TYPEALIAS name:TestTypeAlias visibility:public expandedType:kotlin.String
|
TYPEALIAS name:TestTypeAlias visibility:public expandedType:kotlin.String
|
||||||
annotations:
|
annotations:
|
||||||
TestAnn(x = 'TestTypeAlias')
|
TestAnn(x = 'TestTypeAlias')
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPEALIAS' type=kotlin.annotation.AnnotationTarget])
|
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPEALIAS' type=kotlin.annotation.AnnotationTarget])
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-2
@@ -1,6 +1,11 @@
|
|||||||
@Target(allowedTargets = [AnnotationTarget.TYPEALIAS])
|
@Target(allowedTargets = [AnnotationTarget.TYPEALIAS])
|
||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
|
|||||||
+4
-1
@@ -1,10 +1,13 @@
|
|||||||
FILE fqName:<root> fileName:/typeAliasesWithAnnotations.kt
|
FILE fqName:<root> fileName:/typeAliasesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPEALIAS' type=kotlin.annotation.AnnotationTarget])
|
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPEALIAS' type=kotlin.annotation.AnnotationTarget])
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+6
-3
@@ -1,9 +1,12 @@
|
|||||||
@Target(allowedTargets = [AnnotationTarget.TYPE_PARAMETER])
|
@Target(allowedTargets = [AnnotationTarget.TYPE_PARAMETER])
|
||||||
annotation class Anno : Annotation {
|
open annotation class Anno : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun <@Anno T : Any?> foo() {
|
fun <@Anno T : Any?> foo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,9 +1,12 @@
|
|||||||
FILE fqName:<root> fileName:/typeParametersWithAnnotations.kt
|
FILE fqName:<root> fileName:/typeParametersWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:Anno modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Anno modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPE_PARAMETER' type=kotlin.annotation.AnnotationTarget])
|
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPE_PARAMETER' type=kotlin.annotation.AnnotationTarget])
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Anno
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Anno
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.Anno [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.Anno [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Anno modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -21,4 +26,3 @@ class TestClassConstructor1 {
|
|||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/valueParametersWithAnnotations.kt
|
FILE fqName:<root> fileName:/valueParametersWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+21
-7
@@ -1,21 +1,36 @@
|
|||||||
annotation class A1 : Annotation {
|
open annotation class A1 : Annotation {
|
||||||
constructor(vararg xs: Int) /* primary */
|
constructor(vararg xs: Int) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: IntArray
|
val xs: IntArray
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class A2 : Annotation {
|
open annotation class A2 : Annotation {
|
||||||
constructor(vararg xs: String) /* primary */
|
constructor(vararg xs: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: Array<out String>
|
val xs: Array<out String>
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class AA : Annotation {
|
open annotation class AA : Annotation {
|
||||||
constructor(vararg xs: A1) /* primary */
|
constructor(vararg xs: A1) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val xs: Array<out A1>
|
val xs: Array<out A1>
|
||||||
field = xs
|
field = xs
|
||||||
get
|
get
|
||||||
@@ -33,4 +48,3 @@ fun test1() {
|
|||||||
@AA(xs = [])
|
@AA(xs = [])
|
||||||
fun test2() {
|
fun test2() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+12
-3
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/varargsInAnnotationArguments.kt
|
FILE fqName:<root> fileName:/varargsInAnnotationArguments.kt
|
||||||
CLASS ANNOTATION_CLASS name:A1 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A1
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A1
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.IntArray) returnType:<root>.A1 [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.IntArray) returnType:<root>.A1 [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.IntArray varargElementType:kotlin.Int [vararg]
|
VALUE_PARAMETER name:xs index:0 type:kotlin.IntArray varargElementType:kotlin.Int [vararg]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A1 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.IntArray visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.IntArray visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -27,10 +30,13 @@ FILE fqName:<root> fileName:/varargsInAnnotationArguments.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:A2 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:A2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A2
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A2
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out kotlin.String>) returnType:<root>.A2 [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out kotlin.String>) returnType:<root>.A2 [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out kotlin.String> varargElementType:kotlin.String [vararg]
|
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out kotlin.String> varargElementType:kotlin.String [vararg]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:A2 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out kotlin.String> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out kotlin.String> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -55,10 +61,13 @@ FILE fqName:<root> fileName:/varargsInAnnotationArguments.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:AA modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:AA modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.AA
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.AA
|
||||||
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out <root>.A1>) returnType:<root>.AA [primary]
|
CONSTRUCTOR visibility:public <> (xs:kotlin.Array<out <root>.A1>) returnType:<root>.AA [primary]
|
||||||
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out <root>.A1> varargElementType:<root>.A1 [vararg]
|
VALUE_PARAMETER name:xs index:0 type:kotlin.Array<out <root>.A1> varargElementType:<root>.A1 [vararg]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:AA modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:xs visibility:public modality:FINAL [val]
|
PROPERTY name:xs visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out <root>.A1> visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:xs type:kotlin.Array<out <root>.A1> visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
+7
-3
@@ -1,5 +1,10 @@
|
|||||||
annotation class TestAnn : Annotation {
|
open annotation class TestAnn : Annotation {
|
||||||
constructor(x: String) /* primary */
|
constructor(x: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val x: String
|
val x: String
|
||||||
field = x
|
field = x
|
||||||
get
|
get
|
||||||
@@ -12,4 +17,3 @@ fun foo() {
|
|||||||
@TestAnn(x = "foo/testVar")
|
@TestAnn(x = "foo/testVar")
|
||||||
var testVar: String = "testVar"
|
var testVar: String = "testVar"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/variablesWithAnnotations.kt
|
FILE fqName:<root> fileName:/variablesWithAnnotations.kt
|
||||||
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestAnn
|
||||||
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:<root>.TestAnn [primary]
|
||||||
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
VALUE_PARAMETER name:x index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TestAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:x visibility:public modality:FINAL [val]
|
PROPERTY name:x visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
// FILE: signedToUnsignedConversions_annotation.kt
|
// FILE: signedToUnsignedConversions_annotation.kt
|
||||||
package kotlin.internal
|
package kotlin.internal
|
||||||
|
|
||||||
annotation class ImplicitIntegerCoercion : Annotation {
|
open annotation class ImplicitIntegerCoercion : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -65,4 +69,3 @@ fun test() {
|
|||||||
takeULong(u = <get-IMPLICIT_INT>().toULong())
|
takeULong(u = <get-IMPLICIT_INT>().toULong())
|
||||||
takeUBytes(u = [<get-IMPLICIT_INT>().toUByte(), <get-EXPLICIT_INT>().toUByte(), 42B])
|
takeUBytes(u = [<get-IMPLICIT_INT>().toUByte(), <get-EXPLICIT_INT>().toUByte(), 42B])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
FILE fqName:kotlin.internal fileName:/signedToUnsignedConversions_annotation.kt
|
FILE fqName:kotlin.internal fileName:/signedToUnsignedConversions_annotation.kt
|
||||||
CLASS ANNOTATION_CLASS name:ImplicitIntegerCoercion modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:ImplicitIntegerCoercion modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:kotlin.internal.ImplicitIntegerCoercion
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:kotlin.internal.ImplicitIntegerCoercion
|
||||||
CONSTRUCTOR visibility:public <> () returnType:kotlin.internal.ImplicitIntegerCoercion [primary]
|
CONSTRUCTOR visibility:public <> () returnType:kotlin.internal.ImplicitIntegerCoercion [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:ImplicitIntegerCoercion modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
@@ -1,13 +1,23 @@
|
|||||||
annotation class Storage : Annotation {
|
open annotation class Storage : Annotation {
|
||||||
constructor(value: String) /* primary */
|
constructor(value: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val value: String
|
val value: String
|
||||||
field = value
|
field = value
|
||||||
get
|
get
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class State : Annotation {
|
open annotation class State : Annotation {
|
||||||
constructor(name: String, storages: Array<Storage>) /* primary */
|
constructor(name: String, storages: Array<Storage>) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val name: String
|
val name: String
|
||||||
field = name
|
field = name
|
||||||
get
|
get
|
||||||
@@ -27,4 +37,3 @@ class Test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
FILE fqName:<root> fileName:/AnnotationInAnnotation.kt
|
FILE fqName:<root> fileName:/AnnotationInAnnotation.kt
|
||||||
CLASS ANNOTATION_CLASS name:Storage modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:Storage modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Storage
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Storage
|
||||||
CONSTRUCTOR visibility:public <> (value:kotlin.String) returnType:<root>.Storage [primary]
|
CONSTRUCTOR visibility:public <> (value:kotlin.String) returnType:<root>.Storage [primary]
|
||||||
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
VALUE_PARAMETER name:value index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Storage modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:value visibility:public modality:FINAL [val]
|
PROPERTY name:value visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:value type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -27,11 +30,14 @@ FILE fqName:<root> fileName:/AnnotationInAnnotation.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:State modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:State modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.State
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.State
|
||||||
CONSTRUCTOR visibility:public <> (name:kotlin.String, storages:kotlin.Array<<root>.Storage>) returnType:<root>.State [primary]
|
CONSTRUCTOR visibility:public <> (name:kotlin.String, storages:kotlin.Array<<root>.Storage>) returnType:<root>.State [primary]
|
||||||
VALUE_PARAMETER name:name index:0 type:kotlin.String
|
VALUE_PARAMETER name:name index:0 type:kotlin.String
|
||||||
VALUE_PARAMETER name:storages index:1 type:kotlin.Array<<root>.Storage>
|
VALUE_PARAMETER name:storages index:1 type:kotlin.Array<<root>.Storage>
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:State modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:name visibility:public modality:FINAL [val]
|
PROPERTY name:name visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:name type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:name type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
@Target(allowedTargets = [AnnotationTarget.TYPE])
|
@Target(allowedTargets = [AnnotationTarget.TYPE])
|
||||||
annotation class TypeAnn : Annotation {
|
open annotation class TypeAnn : Annotation {
|
||||||
constructor(name: String) /* primary */
|
constructor(name: String) /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
val name: String
|
val name: String
|
||||||
field = name
|
field = name
|
||||||
get
|
get
|
||||||
@@ -8,15 +13,23 @@ annotation class TypeAnn : Annotation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Target(allowedTargets = [AnnotationTarget.TYPE_PARAMETER])
|
@Target(allowedTargets = [AnnotationTarget.TYPE_PARAMETER])
|
||||||
annotation class TypeParameterAnn : Annotation {
|
open annotation class TypeParameterAnn : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Target(allowedTargets = [AnnotationTarget.TYPE_PARAMETER])
|
@Target(allowedTargets = [AnnotationTarget.TYPE_PARAMETER])
|
||||||
@Retention(value = AnnotationRetention.BINARY)
|
@Retention(value = AnnotationRetention.BINARY)
|
||||||
annotation class TypeParameterAnnBinary : Annotation {
|
open annotation class TypeParameterAnnBinary : Annotation {
|
||||||
constructor() /* primary */
|
constructor() /* primary */ {
|
||||||
|
super/*Any*/()
|
||||||
|
/* <init>() */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
FILE fqName:<root> fileName:/TypeParameterBounds.kt
|
FILE fqName:<root> fileName:/TypeParameterBounds.kt
|
||||||
CLASS ANNOTATION_CLASS name:TypeAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TypeAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPE' type=kotlin.annotation.AnnotationTarget])
|
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPE' type=kotlin.annotation.AnnotationTarget])
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TypeAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TypeAnn
|
||||||
CONSTRUCTOR visibility:public <> (name:kotlin.String) returnType:<root>.TypeAnn [primary]
|
CONSTRUCTOR visibility:public <> (name:kotlin.String) returnType:<root>.TypeAnn [primary]
|
||||||
VALUE_PARAMETER name:name index:0 type:kotlin.String
|
VALUE_PARAMETER name:name index:0 type:kotlin.String
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TypeAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
PROPERTY name:name visibility:public modality:FINAL [val]
|
PROPERTY name:name visibility:public modality:FINAL [val]
|
||||||
FIELD PROPERTY_BACKING_FIELD name:name type:kotlin.String visibility:private [final]
|
FIELD PROPERTY_BACKING_FIELD name:name type:kotlin.String visibility:private [final]
|
||||||
EXPRESSION_BODY
|
EXPRESSION_BODY
|
||||||
@@ -29,11 +32,14 @@ FILE fqName:<root> fileName:/TypeParameterBounds.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:TypeParameterAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TypeParameterAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPE_PARAMETER' type=kotlin.annotation.AnnotationTarget])
|
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPE_PARAMETER' type=kotlin.annotation.AnnotationTarget])
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TypeParameterAnn
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TypeParameterAnn
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.TypeParameterAnn [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.TypeParameterAnn [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TypeParameterAnn modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
@@ -47,12 +53,15 @@ FILE fqName:<root> fileName:/TypeParameterBounds.kt
|
|||||||
overridden:
|
overridden:
|
||||||
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
public open fun toString (): kotlin.String [fake_override] declared in kotlin.Annotation
|
||||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
CLASS ANNOTATION_CLASS name:TypeParameterAnnBinary modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
CLASS ANNOTATION_CLASS name:TypeParameterAnnBinary modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
annotations:
|
annotations:
|
||||||
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPE_PARAMETER' type=kotlin.annotation.AnnotationTarget])
|
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPE_PARAMETER' type=kotlin.annotation.AnnotationTarget])
|
||||||
Retention(value = GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:BINARY' type=kotlin.annotation.AnnotationRetention)
|
Retention(value = GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:BINARY' type=kotlin.annotation.AnnotationRetention)
|
||||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TypeParameterAnnBinary
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TypeParameterAnnBinary
|
||||||
CONSTRUCTOR visibility:public <> () returnType:<root>.TypeParameterAnnBinary [primary]
|
CONSTRUCTOR visibility:public <> () returnType:<root>.TypeParameterAnnBinary [primary]
|
||||||
|
BLOCK_BODY
|
||||||
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:TypeParameterAnnBinary modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
overridden:
|
overridden:
|
||||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in kotlin.Annotation
|
||||||
|
|||||||
@@ -84,9 +84,12 @@
|
|||||||
@-1:-1..-1 FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.Test5
|
@-1:-1..-1 FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:<root>.Test5
|
||||||
@-1:-1..-1 VALUE_PARAMETER name:value index:0 type:kotlin.String
|
@-1:-1..-1 VALUE_PARAMETER name:value index:0 type:kotlin.String
|
||||||
@-1:-1..-1 SYNTHETIC_BODY kind=ENUM_VALUEOF
|
@-1:-1..-1 SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||||
@21:0..22:11 CLASS ANNOTATION_CLASS name:Test6 modality:FINAL visibility:public superTypes:[kotlin.Annotation]
|
@21:0..22:11 CLASS ANNOTATION_CLASS name:Test6 modality:OPEN visibility:public superTypes:[kotlin.Annotation]
|
||||||
@21:0..22:11 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test6
|
@21:0..22:11 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test6
|
||||||
@22:0..11 CONSTRUCTOR visibility:public <> () returnType:<root>.Test6 [primary]
|
@22:0..11 CONSTRUCTOR visibility:public <> () returnType:<root>.Test6 [primary]
|
||||||
|
@21:0..22:11 BLOCK_BODY
|
||||||
|
@21:0..22:11 DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||||
|
@21:0..22:11 INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ANNOTATION_CLASS name:Test6 modality:OPEN visibility:public superTypes:[kotlin.Annotation]'
|
||||||
@22:0..11 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
@22:0..11 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||||
@21:0..22:11 VALUE_PARAMETER name:<this> type:kotlin.Any
|
@21:0..22:11 VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||||
@22:0..11 VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
@22:0..11 VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||||
|
|||||||
Reference in New Issue
Block a user