| | | |
Offset 1, 202 lines modified | Offset 1, 122 lines modified |
1 | .class·Lcom/google/common/util/concurrent/AggregateFuture$2; | 1 | .class·final·Lcom/google/common/util/concurrent/Futures$CallbackListener; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"AggregateFuture.java" | 3 | .source·"Futures.java" |
| |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Ljava/lang/Runnable; | 5 | .implements·Ljava/lang/Runnable; |
| |
| |
6 | #·instance·fields | 6 | #·instance·fields |
7 | .field·public·final·synthetic·$r8$classId:I | 7 | .field·final·callback:Lcom/google/common/util/concurrent/FutureCallback; |
| |
| 8 | .field·final·future:Ljava/util/concurrent/Future; |
8 | .field·final·this$0:Ljava/lang/Object; | |
| |
9 | .field·final·val$localFutures:Ljava/lang/Object; | |
| |
| |
10 | #·direct·methods | 9 | #·direct·methods |
11 | .method·public·constructor·<init>(Lcom/google/common/util/concurrent/AggregateFuture;Lcom/google/common/collect/ImmutableCollection;)V | 10 | .method·constructor·<init>(Ljava/util/concurrent/Future;Lcom/google/common/util/concurrent/FutureCallback;)V |
12 | ····.locals·1 | 11 | ····.locals·0 |
| |
13 | ····const/4·v0,·0x0 | |
| |
14 | ····iput·v0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->$r8$classId:I | |
| |
15 | ····.line·1 | 12 | ····.line·1 |
16 | ····iput-object·p1,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->this$0:Ljava/lang/Object; | |
| |
17 | ····iput-object·p2,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->val$localFutures:Ljava/lang/Object; | |
| |
18 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 13 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
19 | ····return-void | |
20 | .end·method | |
| |
21 | .method·public·constructor·<init>(Ljava/util/concurrent/Future;Lcom/google/common/util/concurrent/FutureCallback;)V | |
22 | ····.locals·1 | |
| |
23 | ····const/4·v0,·0x1 | |
| |
24 | ····iput·v0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->$r8$classId:I | |
| |
25 | ····.line·2 | 14 | ····.line·2 |
26 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 15 | ····iput-object·p1,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->future:Ljava/util/concurrent/Future; |
| |
27 | ····.line·3 | 16 | ····.line·3 |
| 17 | ····iput-object·p2,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->callback:Lcom/google/common/util/concurrent/FutureCallback; |
28 | ····iput-object·p1,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->val$localFutures:Ljava/lang/Object; | |
| |
29 | ····.line·4 | |
30 | ····iput-object·p2,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->this$0:Ljava/lang/Object; | |
| |
31 | ····return-void | 18 | ····return-void |
32 | .end·method | 19 | .end·method |
| |
| |
33 | #·virtual·methods | 20 | #·virtual·methods |
34 | .method·public·run()V | 21 | .method·public·run()V |
35 | ····.locals·2 | 22 | ····.locals·2 |
| |
36 | ····iget·v0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->$r8$classId:I | |
| |
37 | ····packed-switch·v0,·:pswitch_data_0 | |
| |
38 | ····goto·:goto_0 | |
| |
39 | ····.line·1 | 23 | ····.line·1 |
| 24 | ····iget-object·v0,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->future:Ljava/util/concurrent/Future; |
40 | ····:pswitch_0 | |
41 | ····iget-object·v0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->this$0:Ljava/lang/Object; | |
| |
42 | ····check-cast·v0,·Lcom/google/common/util/concurrent/AggregateFuture; | |
| |
43 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->val$localFutures:Ljava/lang/Object; | |
| |
44 | ····check-cast·p0,·Lcom/google/common/collect/ImmutableCollection; | |
| |
45 | ····invoke-static·{v0,·p0},·Lcom/google/common/util/concurrent/AggregateFuture;->access$200(Lcom/google/common/util/concurrent/AggregateFuture;Lcom/google/common/collect/ImmutableCollection;)V | |
| |
46 | ····return-void | |
| |
47 | ····.line·2 | |
48 | ····:goto_0 | |
49 | ····iget-object·v0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->val$localFutures:Ljava/lang/Object; | |
| |
50 | ····check-cast·v0,·Ljava/util/concurrent/Future; | |
| |
51 | ····instance-of·v1,·v0,·Lcom/google/common/util/concurrent/internal/InternalFutureFailureAccess; | 25 | ····instance-of·v1,·v0,·Lcom/google/common/util/concurrent/internal/InternalFutureFailureAccess; |
| |
52 | ····if-eqz·v1,·:cond_0 | 26 | ····if-eqz·v1,·:cond_0 |
| |
53 | ····.line·3 | 27 | ····.line·2 |
54 | ····check-cast·v0,·Lcom/google/common/util/concurrent/internal/InternalFutureFailureAccess; | 28 | ····check-cast·v0,·Lcom/google/common/util/concurrent/internal/InternalFutureFailureAccess; |
| |
55 | ····.line·4 | 29 | ····.line·3 |
56 | ····invoke-static·{v0},·Lcom/google/common/util/concurrent/internal/InternalFutures;->tryInternalFastPathGetFailure(Lcom/google/common/util/concurrent/internal/InternalFutureFailureAccess;)Ljava/lang/Throwable; | 30 | ····invoke-static·{v0},·Lcom/google/common/util/concurrent/internal/InternalFutures;->tryInternalFastPathGetFailure(Lcom/google/common/util/concurrent/internal/InternalFutureFailureAccess;)Ljava/lang/Throwable; |
| |
57 | ····move-result-object·v0 | 31 | ····move-result-object·v0 |
| |
58 | ····if-eqz·v0,·:cond_0 | 32 | ····if-eqz·v0,·:cond_0 |
| |
59 | ····.line·5 | 33 | ····.line·4 |
| 34 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->callback:Lcom/google/common/util/concurrent/FutureCallback; |
60 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->this$0:Ljava/lang/Object; | |
| |
61 | ····check-cast·p0,·Lcom/google/common/util/concurrent/FutureCallback; | |
| |
62 | ····invoke-interface·{p0,·v0},·Lcom/google/common/util/concurrent/FutureCallback;->onFailure(Ljava/lang/Throwable;)V | 35 | ····invoke-interface·{p0,·v0},·Lcom/google/common/util/concurrent/FutureCallback;->onFailure(Ljava/lang/Throwable;)V |
| |
63 | ····goto·:goto_1 | 36 | ····return-void |
| |
64 | ····.line·6 | 37 | ····.line·5 |
65 | ····:cond_0 | 38 | ····:cond_0 |
66 | ····:try_start_0 | 39 | ····:try_start_0 |
| 40 | ····iget-object·v0,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->future:Ljava/util/concurrent/Future; |
67 | ····iget-object·v0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->val$localFutures:Ljava/lang/Object; | |
| |
68 | ····check-cast·v0,·Ljava/util/concurrent/Future; | |
| |
69 | ····invoke-static·{v0},·Lcom/google/common/util/concurrent/Futures;->getDone(Ljava/util/concurrent/Future;)Ljava/lang/Object; | 41 | ····invoke-static·{v0},·Lcom/google/common/util/concurrent/Futures;->getDone(Ljava/util/concurrent/Future;)Ljava/lang/Object; |
| |
70 | ····move-result-object·v0 | 42 | ····move-result-object·v0 |
71 | ····:try_end_0 | 43 | ····:try_end_0 |
72 | ····.catch·Ljava/util/concurrent/ExecutionException;·{:try_start_0·..·:try_end_0}·:catch_1 | 44 | ····.catch·Ljava/util/concurrent/ExecutionException;·{:try_start_0·..·:try_end_0}·:catch_1 |
73 | ····.catch·Ljava/lang/RuntimeException;·{:try_start_0·..·:try_end_0}·:catch_0 | 45 | ····.catch·Ljava/lang/RuntimeException;·{:try_start_0·..·:try_end_0}·:catch_0 |
74 | ····.catch·Ljava/lang/Error;·{:try_start_0·..·:try_end_0}·:catch_0 | 46 | ····.catch·Ljava/lang/Error;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
75 | ····.line·7 | 47 | ····.line·6 |
| 48 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->callback:Lcom/google/common/util/concurrent/FutureCallback; |
76 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->this$0:Ljava/lang/Object; | |
| |
77 | ····check-cast·p0,·Lcom/google/common/util/concurrent/FutureCallback; | |
| |
78 | ····invoke-interface·{p0,·v0},·Lcom/google/common/util/concurrent/FutureCallback;->onSuccess(Ljava/lang/Object;)V | 49 | ····invoke-interface·{p0,·v0},·Lcom/google/common/util/concurrent/FutureCallback;->onSuccess(Ljava/lang/Object;)V |
| |
79 | ····goto·:goto_1 | 50 | ····return-void |
| |
80 | ····:catch_0 | 51 | ····:catch_0 |
81 | ····move-exception·v0 | 52 | ····move-exception·v0 |
| |
82 | ····.line·8 | 53 | ····.line·7 |
| 54 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->callback:Lcom/google/common/util/concurrent/FutureCallback; |
83 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->this$0:Ljava/lang/Object; | |
| |
84 | ····check-cast·p0,·Lcom/google/common/util/concurrent/FutureCallback; | |
| |
85 | ····invoke-interface·{p0,·v0},·Lcom/google/common/util/concurrent/FutureCallback;->onFailure(Ljava/lang/Throwable;)V | 55 | ····invoke-interface·{p0,·v0},·Lcom/google/common/util/concurrent/FutureCallback;->onFailure(Ljava/lang/Throwable;)V |
| |
86 | ····goto·:goto_1 | 56 | ····return-void |
| |
87 | ····:catch_1 | 57 | ····:catch_1 |
88 | ····move-exception·v0 | 58 | ····move-exception·v0 |
| |
89 | ····.line·9 | 59 | ····.line·8 |
| 60 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->callback:Lcom/google/common/util/concurrent/FutureCallback; |
90 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->this$0:Ljava/lang/Object; | |
| |
91 | ····check-cast·p0,·Lcom/google/common/util/concurrent/FutureCallback; | |
| |
92 | ····invoke-virtual·{v0},·Ljava/util/concurrent/ExecutionException;->getCause()Ljava/lang/Throwable; | 61 | ····invoke-virtual·{v0},·Ljava/util/concurrent/ExecutionException;->getCause()Ljava/lang/Throwable; |
| |
93 | ····move-result-object·v0 | 62 | ····move-result-object·v0 |
| |
94 | ····invoke-interface·{p0,·v0},·Lcom/google/common/util/concurrent/FutureCallback;->onFailure(Ljava/lang/Throwable;)V | 63 | ····invoke-interface·{p0,·v0},·Lcom/google/common/util/concurrent/FutureCallback;->onFailure(Ljava/lang/Throwable;)V |
| |
95 | ····:goto_1 | |
96 | ····return-void | 64 | ····return-void |
| |
97 | ····:pswitch_data_0 | |
98 | ····.packed-switch·0x0 | |
99 | ········:pswitch_0 | |
100 | ····.end·packed-switch | |
101 | .end·method | 65 | .end·method |
| |
102 | .method·public·toString()Ljava/lang/String; | 66 | .method·public·toString()Ljava/lang/String; |
103 | ····.locals·1 | 67 | ····.locals·1 |
| |
104 | ····iget·v0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->$r8$classId:I | |
| |
105 | ····packed-switch·v0,·:pswitch_data_0 | |
| |
106 | ····invoke-super·{p0},·Ljava/lang/Object;->toString()Ljava/lang/String; | |
| |
107 | ····move-result-object·p0 | |
| |
108 | ····return-object·p0 | |
| |
109 | ····.line·1 | 68 | ····.line·1 |
110 | ····:pswitch_0 | |
111 | ····invoke-static·{p0},·Lcom/google/common/base/Ascii;->toStringHelper(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper; | 69 | ····invoke-static·{p0},·Lcom/google/common/base/Ascii;->toStringHelper(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper; |
| |
112 | ····move-result-object·v0 | 70 | ····move-result-object·v0 |
| |
| 71 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/Futures$CallbackListener;->callback:Lcom/google/common/util/concurrent/FutureCallback; |
113 | ····iget-object·p0,·p0,·Lcom/google/common/util/concurrent/AggregateFuture$2;->this$0:Ljava/lang/Object; | |
| |
114 | ····check-cast·p0,·Lcom/google/common/util/concurrent/FutureCallback; | |
| |
115 | ····invoke-virtual·{v0,·p0},·Lcom/google/common/base/MoreObjects$ToStringHelper;->addValue(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper; | 72 | ····invoke-virtual·{v0,·p0},·Lcom/google/common/base/MoreObjects$ToStringHelper;->addValue(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper; |
| |
116 | ····invoke-virtual·{v0},·Lcom/google/common/base/MoreObjects$ToStringHelper;->toString()Ljava/lang/String; | 73 | ····invoke-virtual·{v0},·Lcom/google/common/base/MoreObjects$ToStringHelper;->toString()Ljava/lang/String; |
| |
117 | ····move-result-object·p0 | 74 | ····move-result-object·p0 |
| |
118 | ····return-object·p0 | 75 | ····return-object·p0 |
| |
119 | ····:pswitch_data_0 | |
120 | ····.packed-switch·0x1 | |
121 | ········:pswitch_0 | |
122 | ····.end·packed-switch | |
123 | .end·method | 76 | .end·method |