Skip to content

Instantly share code, notes, and snippets.

@arturaz
Created January 27, 2012 16:27
Show Gist options
  • Save arturaz/1689617 to your computer and use it in GitHub Desktop.
Save arturaz/1689617 to your computer and use it in GitHub Desktop.
arturas@zeus:~/work/spacegame/server$ cat t.scala
object T {
def three = 3
}
arturas@zeus:~/work/spacegame/server$ scalac t.scala
arturas@zeus:~/work/spacegame/server$ javap T.class
Compiled from "t.scala"
public final class T {
public static final int three();
}
arturas@zeus:~/work/spacegame/server$ javap T$.class
Compiled from "t.scala"
public final class T$ implements scala.ScalaObject {
public static final T$ MODULE$;
public static {};
public int three();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment