-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patha2.log
56 lines (54 loc) · 2.59 KB
/
a2.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Compiled from "Test2.scala"
public final class com.playzone.Test2$$anon$1 extends scala.runtime.AbstractPartialFunction<java.lang.Object, java.lang.Object> implements java.io.Serializable {
public com.playzone.Test2$$anon$1(com.playzone.Test2);
Code:
0: aload_1
1: ifnonnull 12
4: new #19 // class java/lang/NullPointerException
7: dup
8: invokespecial #22 // Method java/lang/NullPointerException."<init>":()V
11: athrow
12: aload_0
13: aload_1
14: putfield #24 // Field $outer:Lcom/playzone/Test2;
17: aload_0
18: invokespecial #25 // Method scala/runtime/AbstractPartialFunction."<init>":()V
21: return
public final boolean isDefinedAt(java.lang.Object);
Code:
0: aload_0
1: getfield #24 // Field $outer:Lcom/playzone/Test2;
4: invokevirtual #33 // Method com/playzone/Test2.innerPf:()Lscala/PartialFunction;
7: aload_1
8: invokeinterface #39, 2 // InterfaceMethod scala/PartialFunction.apply:(Ljava/lang/Object;)Ljava/lang/Object;
13: checkcast #41 // class scala/Option
16: astore_2
17: aload_2
18: instanceof #43 // class scala/Some
21: ifeq 26
24: iconst_1
25: ireturn
26: iconst_0
27: ireturn
public final java.lang.Object applyOrElse(java.lang.Object, scala.Function1);
Code:
0: aload_0
1: getfield #24 // Field $outer:Lcom/playzone/Test2;
4: invokevirtual #33 // Method com/playzone/Test2.innerPf:()Lscala/PartialFunction;
7: aload_1
8: invokeinterface #39, 2 // InterfaceMethod scala/PartialFunction.apply:(Ljava/lang/Object;)Ljava/lang/Object;
13: checkcast #41 // class scala/Option
16: astore_3
17: aload_3
18: instanceof #43 // class scala/Some
21: ifeq 36
24: getstatic #53 // Field scala/Predef$.MODULE$:Lscala/Predef$;
27: ldc #55 // String Something
29: invokevirtual #59 // Method scala/Predef$.println:(Ljava/lang/Object;)V
32: getstatic #65 // Field scala/runtime/BoxedUnit.UNIT:Lscala/runtime/BoxedUnit;
35: areturn
36: aload_2
37: aload_1
38: invokeinterface #68, 2 // InterfaceMethod scala/Function1.apply:(Ljava/lang/Object;)Ljava/lang/Object;
43: areturn
}