Add kotlinp, a tool to print Kotlin metadata in class/module files

At the moment, it's not published anywhere, but that may change soon

 #KT-23198
This commit is contained in:
Alexander Udalov
2018-03-09 14:40:47 +01:00
parent e4062f6447
commit 4b284a4890
34 changed files with 1687 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
// SimpleClass.class
// ------------------------------------------
public final class SimpleClass<in T#0 /* A */> : kotlin/Any {
// signature: <init>([Ljava/lang/String;)V
public constructor(s: kotlin/Array<kotlin/String?>?)
// signature: <init>(I)V
public /* primary */ constructor(p: kotlin/Int /* = ... */)
// requires language version 1.1.0 (level=ERROR)
// signature: g(Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/experimental/Continuation;)Ljava/lang/Object;
protected final inline suspend fun <reified T#1 /* T */> g(crossinline a: kotlin/Function0<T#0>, noinline b: suspend kotlin/Function1<kotlin/coroutines/experimental/Continuation<T#1>, kotlin/Any?>): kotlin/Unit
// signature: f$test_module(Ljava/lang/Object;[Ljava/util/Map;)Ljava/util/Set;
internal final fun <T#1 /* U */ : T#3, T#2 /* V */ : T#3, T#3 /* A */> T#3.f(vararg z: kotlin/collections/Map<T#2, T#1?> /* kotlin/Array<out kotlin/collections/Map<T#2, T#1?>> */): kotlin/collections/Set<*>
// field: p:I
// getter: getP()I
public final val p: kotlin/Int
public final get
// field: x:J
// getter: getX()J
// setter: SET_X(J)V
public final var x: kotlin/Long
public final /* non-default */ external get
public final /* non-default */ set(<set-?>: kotlin/Long)
}