Skip to content

Instantly share code, notes, and snippets.

@pkaeding
Created November 7, 2012 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkaeding/4034556 to your computer and use it in GitHub Desktop.
Save pkaeding/4034556 to your computer and use it in GitHub Desktop.
Scala/JAD
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: Foo.scala
import scala.ScalaObject;
public final class Foo$
implements ScalaObject
{
public int biz()
{
return biz;
}
public int buz(int i)
{
return biz() + i;
}
private Foo$()
{
}
public static final Foo$ MODULE$ = this;
private final int biz = 42;
static
{
new Foo$();
}
}
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: Foo.scala
import scala.ScalaObject;
public class Foo
implements ScalaObject
{
public static final int buz(int i)
{
return Foo$.MODULE$.buz(i);
}
public static final int biz()
{
return Foo$.MODULE$.biz();
}
public void bar()
{
}
public Foo()
{
}
}
class Foo {
def bar = ()
}
object Foo {
val biz = 42
def buz(i: Int) = biz + i
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment