Skip to content

Instantly share code, notes, and snippets.

@lihaoyi
Created July 23, 2023 23:45
Show Gist options
  • Save lihaoyi/7c997a2e7cedc91a8efd0356299c91a0 to your computer and use it in GitHub Desktop.
Save lihaoyi/7c997a2e7cedc91a8efd0356299c91a0 to your computer and use it in GitHub Desktop.
lihaoyi mill$ javap -c -l out/integration/feature/codesig-simple/local/workspaceDir.dest/out/mill-build/compile.dest/classes/millbuild/build\$crossOuter\$\$anonfun\$7.class
Compiled from "build.sc"
public final class millbuild.build$crossOuter$$anonfun$7 extends scala.runtime.AbstractFunction1<java.lang.Object, scala.Tuple2<java.lang.Class<millbuild.build$crossOuter$$anonfun$7$CrossOuter$macro$9$1>, scala.Function1<mill.define.Ctx, millbuild.build$crossOuter$$anonfun$7$CrossOuter$macro$9$1>>> implements java.io.Serializable {
public final scala.Tuple2<java.lang.Class<millbuild.build$CrossOuter>, scala.Function1<mill.define.Ctx, millbuild.build$CrossOuter>> apply(int);
Code:
0: new #39 // class scala/Tuple2
3: dup
4: ldc #26 // class millbuild/build$crossOuter$$anonfun$7$CrossOuter$macro$9$1
6: aload_0
7: iload_1
8: invokedynamic #60, 0 // InvokeDynamic #0:apply:(Lmillbuild/build$crossOuter$$anonfun$7;I)Lscala/Function1;
13: invokespecial #63 // Method scala/Tuple2."<init>":(Ljava/lang/Object;Ljava/lang/Object;)V
16: areturn
LineNumberTable:
line 85: 0
LocalVariableTable:
Start Length Slot Name Signature
0 17 0 this Lmillbuild/build$crossOuter$$anonfun$7;
0 17 1 v1$macro$7 I
public millbuild.build millbuild$build$crossOuter$$anonfun$$$outer();
Code:
0: aload_0
1: getfield #70 // Field $outer:Lmillbuild/build;
4: areturn
LineNumberTable:
line 85: 0
LocalVariableTable:
Start Length Slot Name Signature
0 5 0 this Lmillbuild/build$crossOuter$$anonfun$7;
public java.lang.Object apply(java.lang.Object);
Code:
0: aload_0
1: aload_1
2: invokestatic #77 // Method scala/runtime/BoxesRunTime.unboxToInt:(Ljava/lang/Object;)I
5: invokevirtual #79 // Method apply:(I)Lscala/Tuple2;
8: areturn
LineNumberTable:
line 85: 0
LocalVariableTable:
Start Length Slot Name Signature
0 9 0 this Lmillbuild/build$crossOuter$$anonfun$7;
0 9 1 v1 Ljava/lang/Object;
public static final millbuild.build$crossOuter$$anonfun$7$CrossOuter$macro$9$1 $anonfun$new$3(millbuild.build$crossOuter$$anonfun$7, int, mill.define.Ctx);
Code:
0: new #26 // class millbuild/build$crossOuter$$anonfun$7$CrossOuter$macro$9$1
3: dup
4: aload_0
5: aload_2
6: iload_1
7: invokespecial #86 // Method millbuild/build$crossOuter$$anonfun$7$CrossOuter$macro$9$1."<init>":(Lmillbuild/build$crossOuter$$anonfun$7;Lmill/define/Ctx;I)V
10: areturn
LineNumberTable:
line 85: 0
LocalVariableTable:
Start Length Slot Name Signature
0 11 0 $this Lmillbuild/build$crossOuter$$anonfun$7;
0 11 1 v1$macro$7$1 I
0 11 2 ctx0$macro$8 Lmill/define/Ctx;
public millbuild.build$crossOuter$$anonfun$7(millbuild.build);
Code:
0: aload_1
1: ifnonnull 6
4: aconst_null
5: athrow
6: aload_0
7: aload_1
8: putfield #70 // Field $outer:Lmillbuild/build;
11: aload_0
12: invokespecial #90 // Method scala/runtime/AbstractFunction1."<init>":()V
15: return
LineNumberTable:
line 85: 0
LocalVariableTable:
Start Length Slot Name Signature
0 16 0 this Lmillbuild/build$crossOuter$$anonfun$7;
0 16 1 $outer Lmillbuild/build;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment