Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // file test.scala
- object Test {
- var x = 1
- val y = 1
- val f = (n: Int) => n + x + y
- }
- >javap -private Test$$anonfun$1.class
- Compiled from "test.scala"
- public final class Test$$anonfun$1 extends scala.runtime.AbstractFunction1$mcII$sp implements scala.Serializable {
- public static final long serialVersionUID;
- public final int apply(int);
- public int apply$mcII$sp(int);
- public final java.lang.Object apply(java.lang.Object);
- public Test$$anonfun$1();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement