Generate parameter declarations for fake overrides

This commit is contained in:
Dmitry Petrov
2017-05-02 12:02:31 +03:00
parent fa4dc26814
commit 78a601af87
160 changed files with 1204 additions and 12 deletions
@@ -6,8 +6,12 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
$this: VALUE_PARAMETER this@Any: Any
VALUE_PARAMETER value-parameter other: kotlin.Any?
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER this@Any: Any
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER this@Any: Any
CLASS CLASS TestProperty
$this: VALUE_PARAMETER this@TestProperty: TestProperty
PROPERTY public final val x: kotlin.Int = 0
@@ -25,8 +29,12 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestProperty'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
$this: VALUE_PARAMETER this@Any: Any
VALUE_PARAMETER value-parameter other: kotlin.Any?
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER this@Any: Any
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER this@Any: Any
CLASS CLASS TestInitBlock
$this: VALUE_PARAMETER this@TestInitBlock: TestInitBlock
PROPERTY public final val x: kotlin.Int
@@ -56,5 +64,10 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor TestInitBlock()'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
$this: VALUE_PARAMETER this@Any: Any
VALUE_PARAMETER value-parameter other: kotlin.Any?
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER this@Any: Any
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER this@Any: Any