Created
December 3, 2012 18:10
-
-
Save arturaz/4196795 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
arturas@zeus:~/work/traveltime-api/vendor/igeolise-lib$ javap -c Foo.class | |
Compiled from "test.scala" | |
public class Foo implements scala.ScalaObject { | |
public int x(); | |
Code: | |
0: aload_0 | |
1: getfield #11 // Field x:I | |
4: ireturn | |
public void x_$eq(int); | |
Code: | |
0: aload_0 | |
1: iload_1 | |
2: putfield #11 // Field x:I | |
5: return | |
public Foo(int); | |
Code: | |
0: aload_0 | |
1: iload_1 | |
2: putfield #11 // Field x:I | |
5: aload_0 | |
6: invokespecial #19 // Method java/lang/Object."<init>":()V | |
9: return | |
} | |
arturas@zeus:~/work/traveltime-api/vendor/igeolise-lib$ cat test.scala | |
class Foo(var x: Int) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment