Skip to content

Instantly share code, notes, and snippets.

@joshcough
Created August 23, 2012 04:20
Show Gist options
  • Save joshcough/3432242 to your computer and use it in GitHub Desktop.
Save joshcough/3432242 to your computer and use it in GitHub Desktop.
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