Generate constructors with empty bodies for annotation classes

Default parameter values of primary constructor of an annotation class
are required to generate default values of annotation properties.
This commit is contained in:
Dmitry Petrov
2018-04-03 13:01:46 +03:00
parent e74c448c0a
commit 4016254fd4
6 changed files with 143 additions and 10 deletions
+1
View File
@@ -62,6 +62,7 @@ FILE fqName:<root> fileName:/classes.kt
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:TestAnnotationClass flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Annotation modality:ABSTRACT visibility:public flags:
CONSTRUCTOR visibility:public <> () returnType:TestAnnotationClass flags:
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
overridden:
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags: