Cls stubs and decompiled text: Do not render parameter names in decompiled text and do not load ParameterName annotation in stubs

Add tests for decompiled text and stubs
This commit is contained in:
Pavel V. Talanov
2016-09-20 16:38:34 +03:00
committed by Valentin Kipyatkov
parent 86495fd136
commit 14f3e4c758
9 changed files with 67 additions and 3 deletions
@@ -0,0 +1,9 @@
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package test
public final class FunctionalTypeWithNamedArguments public constructor() {
public final fun f(ftype: (kotlin.String, kotlin.Any?) -> kotlin.Any?): kotlin.String { /* compiled code */ }
}
@@ -0,0 +1,5 @@
package test
class FunctionalTypeWithNamedArguments {
public fun f(ftype: (key: String, value: Any?) -> Any?): String = ""
}