Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dcapwell/9d5a658227c9a746e4e2022b33b02213 to your computer and use it in GitHub Desktop.
Save dcapwell/9d5a658227c9a746e4e2022b33b02213 to your computer and use it in GitHub Desktop.
Classfile /home/dcapwell/src/github/prototypes/kotlin-collections/build/kotlin-classes/main/com/github/dcapwell/kotlin/collections/ConsList$size$1.class
Last modified Sep 17, 2016; size 1976 bytes
MD5 checksum fe97807c3d0ade285d2790eb907e3b39
Compiled from "ConsList.kt"
final class com.github.dcapwell.kotlin.collections.ConsList$size$1 extends kotlin.jvm.internal.Lambda implements kotlin.jvm.functions.Function2<com.github.dcapwell.kotlin.collections.ConsList<A>, java.lang.Integer, java.lang.Integer>
minor version: 0
major version: 50
flags: ACC_FINAL, ACC_SUPER
Constant pool:
#1 = Utf8 com/github/dcapwell/kotlin/collections/ConsList$size$1
#2 = Class #1 // com/github/dcapwell/kotlin/collections/ConsList$size$1
#3 = Utf8 Lkotlin/jvm/internal/Lambda;Lkotlin/jvm/functions/Function2<Lcom/github/dcapwell/kotlin/collections/ConsList<TA;>;Ljava/lang/Integer;Ljava/lang/Integer;>;
#4 = Utf8 kotlin/jvm/internal/Lambda
#5 = Class #4 // kotlin/jvm/internal/Lambda
#6 = Utf8 kotlin/jvm/functions/Function2
#7 = Class #6 // kotlin/jvm/functions/Function2
#8 = Utf8 invoke
#9 = Utf8 (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
#10 = Utf8 com/github/dcapwell/kotlin/collections/ConsList
#11 = Class #10 // com/github/dcapwell/kotlin/collections/ConsList
#12 = Utf8 java/lang/Number
#13 = Class #12 // java/lang/Number
#14 = Utf8 intValue
#15 = Utf8 ()I
#16 = NameAndType #14:#15 // intValue:()I
#17 = Methodref #13.#16 // java/lang/Number.intValue:()I
#18 = Utf8 (Lcom/github/dcapwell/kotlin/collections/ConsList;I)I
#19 = NameAndType #8:#18 // invoke:(Lcom/github/dcapwell/kotlin/collections/ConsList;I)I
#20 = Methodref #2.#19 // com/github/dcapwell/kotlin/collections/ConsList$size$1.invoke:(Lcom/github/dcapwell/kotlin/collections/ConsList;I)I
#21 = Utf8 java/lang/Integer
#22 = Class #21 // java/lang/Integer
#23 = Utf8 valueOf
#24 = Utf8 (I)Ljava/lang/Integer;
#25 = NameAndType #23:#24 // valueOf:(I)Ljava/lang/Integer;
#26 = Methodref #22.#25 // java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
#27 = Utf8 Lorg/jetbrains/annotations/NotNull;
#28 = Utf8 xs
#29 = String #28 // xs
#30 = Utf8 kotlin/jvm/internal/Intrinsics
#31 = Class #30 // kotlin/jvm/internal/Intrinsics
#32 = Utf8 checkParameterIsNotNull
#33 = Utf8 (Ljava/lang/Object;Ljava/lang/String;)V
#34 = NameAndType #32:#33 // checkParameterIsNotNull:(Ljava/lang/Object;Ljava/lang/String;)V
#35 = Methodref #31.#34 // kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull:(Ljava/lang/Object;Ljava/lang/String;)V
#36 = Utf8 com/github/dcapwell/kotlin/collections/ConsList$Cons
#37 = Class #36 // com/github/dcapwell/kotlin/collections/ConsList$Cons
#38 = Utf8 getParent$kotlin_collections_compileKotlin
#39 = Utf8 ()Lcom/github/dcapwell/kotlin/collections/ConsList;
#40 = NameAndType #38:#39 // getParent$kotlin_collections_compileKotlin:()Lcom/github/dcapwell/kotlin/collections/ConsList;
#41 = Methodref #37.#40 // com/github/dcapwell/kotlin/collections/ConsList$Cons.getParent$kotlin_collections_compileKotlin:()Lcom/github/dcapwell/kotlin/collections/ConsList;
#42 = Utf8 this
#43 = Utf8 Lcom/github/dcapwell/kotlin/collections/ConsList$size$1;
#44 = Utf8 Lcom/github/dcapwell/kotlin/collections/ConsList;
#45 = Utf8 acc
#46 = Utf8 I
#47 = Utf8 <init>
#48 = Utf8 ()V
#49 = Utf8 (I)V
#50 = NameAndType #47:#49 // "<init>":(I)V
#51 = Methodref #5.#50 // kotlin/jvm/internal/Lambda."<init>":(I)V
#52 = Utf8 INSTANCE
#53 = Utf8 <clinit>
#54 = Utf8 Lkotlin/Metadata;
#55 = Utf8 mv
#56 = Integer 1
#57 = Utf8 bv
#58 = Integer 0
#59 = Utf8 k
#60 = Integer 3
#61 = Utf8 d1
#62 = Utf8 \n\n\n\n\n0\"2 H020HŠ¢
#63 = Utf8 d2
#64 = Utf8 recSize
#65 = Utf8
#66 = Utf8 A
#67 = Utf8 size
#68 = NameAndType #67:#15 // size:()I
#69 = NameAndType #47:#48 // "<init>":()V
#70 = Methodref #2.#69 // com/github/dcapwell/kotlin/collections/ConsList$size$1."<init>":()V
#71 = NameAndType #52:#43 // INSTANCE:Lcom/github/dcapwell/kotlin/collections/ConsList$size$1;
#72 = Fieldref #2.#71 // com/github/dcapwell/kotlin/collections/ConsList$size$1.INSTANCE:Lcom/github/dcapwell/kotlin/collections/ConsList$size$1;
#73 = Utf8 ConsList.kt
#74 = Utf8 Code
#75 = Utf8 LineNumberTable
#76 = Utf8 LocalVariableTable
#77 = Utf8 StackMapTable
#78 = Utf8 Signature
#79 = Utf8 (Lcom/github/dcapwell/kotlin/collections/ConsList<TA;>;I)I
#80 = Utf8 RuntimeInvisibleParameterAnnotations
#81 = Utf8 SourceFile
#82 = Utf8 EnclosingMethod
#83 = Utf8 InnerClasses
#84 = Utf8 RuntimeVisibleAnnotations
{
public static final com.github.dcapwell.kotlin.collections.ConsList$size$1 INSTANCE;
descriptor: Lcom/github/dcapwell/kotlin/collections/ConsList$size$1;
flags: ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public java.lang.Object invoke(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload_0
1: aload_1
2: checkcast #11 // class com/github/dcapwell/kotlin/collections/ConsList
5: aload_2
6: checkcast #13 // class java/lang/Number
9: invokevirtual #17 // Method java/lang/Number.intValue:()I
12: invokevirtual #20 // Method invoke:(Lcom/github/dcapwell/kotlin/collections/ConsList;I)I
15: invokestatic #26 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
18: areturn
LineNumberTable:
line 9: 0
public final int invoke(com.github.dcapwell.kotlin.collections.ConsList<A>, int);
descriptor: (Lcom/github/dcapwell/kotlin/collections/ConsList;I)I
flags: ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
0: aload_1
1: ldc #29 // String xs
3: invokestatic #35 // Method kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull:(Ljava/lang/Object;Ljava/lang/String;)V
6: aload_1
7: instanceof #37 // class com/github/dcapwell/kotlin/collections/ConsList$Cons
10: ifeq 33
13: aload_0
14: checkcast #2 // class com/github/dcapwell/kotlin/collections/ConsList$size$1
17: pop
18: aload_1
19: checkcast #37 // class com/github/dcapwell/kotlin/collections/ConsList$Cons
22: invokevirtual #41 // Method com/github/dcapwell/kotlin/collections/ConsList$Cons.getParent$kotlin_collections_compileKotlin:()Lcom/github/dcapwell/kotlin/collections/ConsList;
25: iload_2
26: iconst_1
27: iadd
28: istore_2
29: astore_1
30: goto 0
33: iload_2
34: ireturn
LocalVariableTable:
Start Length Slot Name Signature
0 35 0 this Lcom/github/dcapwell/kotlin/collections/ConsList$size$1;
0 35 1 xs Lcom/github/dcapwell/kotlin/collections/ConsList;
0 35 2 acc I
LineNumberTable:
line 18: 6
line 19: 33
line 18: 34
line 19: 34
StackMapTable: number_of_entries = 2
frame_type = 0 /* same */
frame_type = 32 /* same */
Signature: #79 // (Lcom/github/dcapwell/kotlin/collections/ConsList<TA;>;I)I
RuntimeInvisibleParameterAnnotations:
0:
0: #27()
1:
com.github.dcapwell.kotlin.collections.ConsList$size$1();
descriptor: ()V
flags:
Code:
stack=2, locals=1, args_size=1
0: aload_0
1: iconst_2
2: invokespecial #51 // Method kotlin/jvm/internal/Lambda."<init>":(I)V
5: return
static {};
descriptor: ()V
flags: ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new #2 // class com/github/dcapwell/kotlin/collections/ConsList$size$1
3: dup
4: invokespecial #70 // Method "<init>":()V
7: putstatic #72 // Field INSTANCE:Lcom/github/dcapwell/kotlin/collections/ConsList$size$1;
10: return
}
Signature: #3 // Lkotlin/jvm/internal/Lambda;Lkotlin/jvm/functions/Function2<Lcom/github/dcapwell/kotlin/collections/ConsList<TA;>;Ljava/lang/Integer;Ljava/lang/Integer;>;
SourceFile: "ConsList.kt"
EnclosingMethod: #11.#68 // com.github.dcapwell.kotlin.collections.ConsList.size
InnerClasses:
static final #2; //class com/github/dcapwell/kotlin/collections/ConsList$size$1
RuntimeVisibleAnnotations:
0: #54(#55=[I#56,I#56,I#56],#57=[I#56,I#58,I#58],#59=I#60,#61=[s#62],#63=[s#64,s#65,s#66,s#28,s#44,s#45,s#8])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment