Skip to content

Instantly share code, notes, and snippets.

@concretevitamin
Created July 14, 2014 20:44
Show Gist options
  • Save concretevitamin/272fe413dcc06b8cbe9c to your computer and use it in GitHub Desktop.
Save concretevitamin/272fe413dcc06b8cbe9c to your computer and use it in GitHub Desktop.
~/workplace/spark-covi(branch:estimates*) » javap -c NoCase\$\$anonfun\$1
Compiled from "NoCase.scala"
public final class NoCase$$anonfun$1 extends scala.runtime.AbstractFunction1$mcVI$sp implements scala.Serializable {
public final void apply(int);
Code:
0: aload_0
1: iload_1
2: invokevirtual #17 // Method apply$mcVI$sp:(I)V
5: return
public void apply$mcVI$sp(int);
Code:
0: getstatic #27 // Field scala/Predef$.MODULE$:Lscala/Predef$;
3: iload_1
4: invokestatic #33 // Method scala/runtime/BoxesRunTime.boxToInteger:(I)Ljava/lang/Integer;
7: invokevirtual #37 // Method scala/Predef$.println:(Ljava/lang/Object;)V
10: return
public final java.lang.Object apply(java.lang.Object);
Code:
0: aload_0
1: aload_1
2: invokestatic #42 // Method scala/runtime/BoxesRunTime.unboxToInt:(Ljava/lang/Object;)I
5: invokevirtual #44 // Method apply:(I)V
8: getstatic #50 // Field scala/runtime/BoxedUnit.UNIT:Lscala/runtime/BoxedUnit;
11: areturn
public NoCase$$anonfun$1();
Code:
0: aload_0
1: invokespecial #53 // Method scala/runtime/AbstractFunction1$mcVI$sp."<init>":()V
4: return
}
~/workplace/spark-covi(branch:estimates*) » javap -c WithCase\$\$anonfun\$1
Compiled from "WithCase.scala"
public final class WithCase$$anonfun$1 extends scala.runtime.AbstractFunction1$mcVI$sp implements scala.Serializable {
public final void apply(int);
Code:
0: aload_0
1: iload_1
2: invokevirtual #17 // Method apply$mcVI$sp:(I)V
5: return
public void apply$mcVI$sp(int);
Code:
0: iload_1
1: istore_2
2: getstatic #27 // Field scala/Predef$.MODULE$:Lscala/Predef$;
5: iload_2
6: invokestatic #33 // Method scala/runtime/BoxesRunTime.boxToInteger:(I)Ljava/lang/Integer;
9: invokevirtual #37 // Method scala/Predef$.println:(Ljava/lang/Object;)V
12: getstatic #43 // Field scala/runtime/BoxedUnit.UNIT:Lscala/runtime/BoxedUnit;
15: astore_3
16: return
public final java.lang.Object apply(java.lang.Object);
Code:
0: aload_0
1: aload_1
2: invokestatic #48 // Method scala/runtime/BoxesRunTime.unboxToInt:(Ljava/lang/Object;)I
5: invokevirtual #50 // Method apply:(I)V
8: getstatic #43 // Field scala/runtime/BoxedUnit.UNIT:Lscala/runtime/BoxedUnit;
11: areturn
public WithCase$$anonfun$1();
Code:
0: aload_0
1: invokespecial #53 // Method scala/runtime/AbstractFunction1$mcVI$sp."<init>":()V
4: return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment