Created
August 23, 2012 04:20
-
-
Save joshcough/3432242 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiled from "Goo.scala" | |
public final class Goo extends java.lang.Object{ | |
public static int x(); | |
Code: | |
0: getstatic #16; //Field Goo$.MODULE$:LGoo$; | |
3: invokevirtual #18; //Method Goo$.x:()I | |
6: ireturn | |
} | |
pro:classes joshcough$ javap -c Goo$ | |
Compiled from "Goo.scala" | |
public final class Goo$ extends java.lang.Object{ | |
public static final Goo$ MODULE$; | |
public static {}; | |
Code: | |
0: new #2; //class Goo$ | |
3: invokespecial #12; //Method "<init>":()V | |
6: return | |
public int x(); | |
Code: | |
0: aload_0 | |
1: getfield #17; //Field x:I | |
4: ireturn | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment