Offset 58, 139 lines modifiedOffset 58, 108 lines modified
  
58 ····return-void58 ····return-void
59 .end·method59 .end·method
  
  
60 #·virtual·methods60 #·virtual·methods
61 .method·public·final·addDestination(Landroidx/navigation/NavDestination;)V61 .method·public·final·addDestination(Landroidx/navigation/NavDestination;)V
62 ····.locals·362 ····.locals·2
  
63 ····.line·9963 ····.line·99
64 ····invoke-virtual·{p1},·Landroidx/navigation/NavDestination;->getId()I64 ····invoke-virtual·{p1},·Landroidx/navigation/NavDestination;->getId()I
  
65 ····move-result·v065 ····move-result·v0
  
66 ····if-eqz·v0,·:cond_466 ····if-eqz·v0,·:cond_3
  
67 ····.line·10467 ····.line·103
 68 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mNodes:Landroidx/collection/SparseArrayCompat;
68 ····invoke-virtual·{p0},·Landroidx/navigation/NavDestination;->getId()I 
  
69 ····move-result·v1 
  
70 ····if-eq·v0,·v1,·:cond_369 ····invoke-virtual·{p1},·Landroidx/navigation/NavDestination;->getId()I
  
 70 ····move-result·v1
71 ····.line·108 
72 ····iget-object·v1,·p0,·Landroidx/navigation/NavGraph;->mNodes:Landroidx/collection/SparseArrayCompat; 
  
73 ····invoke-virtual·{v1,·v0},·Landroidx/collection/SparseArrayCompat;->get(I)Ljava/lang/Object;71 ····invoke-virtual·{v0,·v1},·Landroidx/collection/SparseArrayCompat;->get(I)Ljava/lang/Object;
  
74 ····move-result-object·v072 ····move-result-object·v0
  
75 ····check-cast·v0,·Landroidx/navigation/NavDestination;73 ····check-cast·v0,·Landroidx/navigation/NavDestination;
  
76 ····if-ne·v0,·p1,·:cond_074 ····if-ne·v0,·p1,·:cond_0
  
77 ····return-void75 ····return-void
  
78 ····.line·11276 ····.line·107
79 ····:cond_077 ····:cond_0
80 ····invoke-virtual·{p1},·Landroidx/navigation/NavDestination;->getParent()Landroidx/navigation/NavGraph;78 ····invoke-virtual·{p1},·Landroidx/navigation/NavDestination;->getParent()Landroidx/navigation/NavGraph;
  
81 ····move-result-object·v179 ····move-result-object·v1
  
82 ····if-nez·v1,·:cond_280 ····if-nez·v1,·:cond_2
  
83 ····if-eqz·v0,·:cond_181 ····if-eqz·v0,·:cond_1
  
84 ····const/4·v1,·0x082 ····const/4·v1,·0x0
  
85 ····.line·11783 ····.line·112
86 ····invoke-virtual·{v0,·v1},·Landroidx/navigation/NavDestination;->setParent(Landroidx/navigation/NavGraph;)V84 ····invoke-virtual·{v0,·v1},·Landroidx/navigation/NavDestination;->setParent(Landroidx/navigation/NavGraph;)V
  
87 ····.line·11985 ····.line·114
88 ····:cond_186 ····:cond_1
89 ····invoke-virtual·{p1,·p0},·Landroidx/navigation/NavDestination;->setParent(Landroidx/navigation/NavGraph;)V87 ····invoke-virtual·{p1,·p0},·Landroidx/navigation/NavDestination;->setParent(Landroidx/navigation/NavGraph;)V
  
90 ····.line·12088 ····.line·115
91 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mNodes:Landroidx/collection/SparseArrayCompat;89 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mNodes:Landroidx/collection/SparseArrayCompat;
  
92 ····invoke-virtual·{p1},·Landroidx/navigation/NavDestination;->getId()I90 ····invoke-virtual·{p1},·Landroidx/navigation/NavDestination;->getId()I
  
93 ····move-result·v191 ····move-result·v1
  
94 ····invoke-virtual·{v0,·v1,·p1},·Landroidx/collection/SparseArrayCompat;->put(ILjava/lang/Object;)V92 ····invoke-virtual·{v0,·v1,·p1},·Landroidx/collection/SparseArrayCompat;->put(ILjava/lang/Object;)V
  
95 ····return-void93 ····return-void
  
96 ····.line·11394 ····.line·108
97 ····:cond_295 ····:cond_2
98 ····new-instance·p1,·Ljava/lang/IllegalStateException;96 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
99 ····const-string·v0,·"Destination·already·has·a·parent·set.·Call·NavGraph.remove()·to·remove·the·previous·parent."97 ····const-string·v0,·"Destination·already·has·a·parent·set.·Call·NavGraph.remove()·to·remove·the·previous·parent."
  
100 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V98 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
101 ····throw·p199 ····throw·p1
  
102 ····.line·105100 ····.line·100
103 ····:cond_3101 ····:cond_3
104 ····new-instance·v0,·Ljava/lang/IllegalArgumentException; 
  
105 ····new-instance·v1,·Ljava/lang/StringBuilder; 
  
106 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
107 ····const-string·v2,·"Destination·" 
  
108 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
109 ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; 
  
110 ····const-string·p1,·"·cannot·have·the·same·id·as·graph·" 
  
111 ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
112 ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; 
  
113 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; 
  
114 ····move-result-object·p1 
  
115 ····invoke-direct·{v0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V 
  
116 ····throw·v0 
  
117 ····.line·101 
118 ····:cond_4 
119 ····new-instance·p1,·Ljava/lang/IllegalArgumentException;102 ····new-instance·p1,·Ljava/lang/IllegalArgumentException;
  
120 ····const-string·v0,·"Destinations·must·have·an·id.·Call·setId()·or·include·an·android:id·in·your·navigation·XML."103 ····const-string·v0,·"Destinations·must·have·an·id.·Call·setId()·or·include·an·android:id·in·your·navigation·XML."
  
121 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V104 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
122 ····throw·p1105 ····throw·p1
123 .end·method106 .end·method
  
124 .method·public·final·findNode(I)Landroidx/navigation/NavDestination;107 .method·public·final·findNode(I)Landroidx/navigation/NavDestination;
125 ····.locals·1108 ····.locals·1
  
126 ····const/4·v0,·0x1109 ····const/4·v0,·0x1
  
127 ····.line·171110 ····.line·166
128 ····invoke-virtual·{p0,·p1,·v0},·Landroidx/navigation/NavGraph;->findNode(IZ)Landroidx/navigation/NavDestination;111 ····invoke-virtual·{p0,·p1,·v0},·Landroidx/navigation/NavGraph;->findNode(IZ)Landroidx/navigation/NavDestination;
  
129 ····move-result-object·p1112 ····move-result-object·p1
  
130 ····return-object·p1113 ····return-object·p1
131 .end·method114 .end·method
  
132 .method·final·findNode(IZ)Landroidx/navigation/NavDestination;115 .method·final·findNode(IZ)Landroidx/navigation/NavDestination;
133 ····.locals·1116 ····.locals·1
  
134 ····.line·176117 ····.line·171
135 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mNodes:Landroidx/collection/SparseArrayCompat;118 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mNodes:Landroidx/collection/SparseArrayCompat;
  
136 ····invoke-virtual·{v0,·p1},·Landroidx/collection/SparseArrayCompat;->get(I)Ljava/lang/Object;119 ····invoke-virtual·{v0,·p1},·Landroidx/collection/SparseArrayCompat;->get(I)Ljava/lang/Object;
  
137 ····move-result-object·v0120 ····move-result-object·v0
  
138 ····check-cast·v0,·Landroidx/navigation/NavDestination;121 ····check-cast·v0,·Landroidx/navigation/NavDestination;
Offset 198, 15 lines modifiedOffset 167, 15 lines modified
198 ····if-eqz·v0,·:cond_0167 ····if-eqz·v0,·:cond_0
  
199 ····goto·:goto_0168 ····goto·:goto_0
  
200 ····:cond_0169 ····:cond_0
201 ····if-eqz·p2,·:cond_1170 ····if-eqz·p2,·:cond_1
  
202 ····.line·181171 ····.line·176
203 ····invoke-virtual·{p0},·Landroidx/navigation/NavDestination;->getParent()Landroidx/navigation/NavGraph;172 ····invoke-virtual·{p0},·Landroidx/navigation/NavDestination;->getParent()Landroidx/navigation/NavGraph;
  
204 ····move-result-object·p2173 ····move-result-object·p2
  
205 ····if-eqz·p2,·:cond_1174 ····if-eqz·p2,·:cond_1
  
206 ····invoke-virtual·{p0},·Landroidx/navigation/NavDestination;->getParent()Landroidx/navigation/NavGraph;175 ····invoke-virtual·{p0},·Landroidx/navigation/NavDestination;->getParent()Landroidx/navigation/NavGraph;
Offset 225, 15 lines modifiedOffset 194, 15 lines modified
225 ····:goto_0194 ····:goto_0
226 ····return-object·v0195 ····return-object·v0
227 .end·method196 .end·method
  
228 .method·public·getDisplayName()Ljava/lang/String;197 .method·public·getDisplayName()Ljava/lang/String;
229 ····.locals·1198 ····.locals·1
  
230 ····.line·266199 ····.line·261
231 ····invoke-virtual·{p0},·Landroidx/navigation/NavDestination;->getId()I200 ····invoke-virtual·{p0},·Landroidx/navigation/NavDestination;->getId()I
  
232 ····move-result·v0201 ····move-result·v0
  
233 ····if-eqz·v0,·:cond_0202 ····if-eqz·v0,·:cond_0
  
234 ····invoke-super·{p0},·Landroidx/navigation/NavDestination;->getDisplayName()Ljava/lang/String;203 ····invoke-super·{p0},·Landroidx/navigation/NavDestination;->getDisplayName()Ljava/lang/String;
Offset 248, 39 lines modifiedOffset 217, 39 lines modified
248 ····:goto_0217 ····:goto_0
249 ····return-object·v0218 ····return-object·v0
250 .end·method219 .end·method
  
251 .method·getStartDestDisplayName()Ljava/lang/String;220 .method·getStartDestDisplayName()Ljava/lang/String;
252 ····.locals·1221 ····.locals·1
  
253 ····.line·295222 ····.line·286
254 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;223 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;
  
255 ····if-nez·v0,·:cond_0224 ····if-nez·v0,·:cond_0
  
256 ····.line·296225 ····.line·287
257 ····iget·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestId:I226 ····iget·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestId:I
  
258 ····invoke-static·{v0},·Ljava/lang/Integer;->toString(I)Ljava/lang/String;227 ····invoke-static·{v0},·Ljava/lang/Integer;->toString(I)Ljava/lang/String;
  
259 ····move-result-object·v0228 ····move-result-object·v0
  
260 ····iput-object·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;229 ····iput-object·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;
  
261 ····.line·298230 ····.line·289
262 ····:cond_0231 ····:cond_0
263 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;232 ····iget-object·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;
  
264 ····return-object·v0233 ····return-object·v0
265 .end·method234 .end·method
  
266 .method·public·final·getStartDestination()I235 .method·public·final·getStartDestination()I
267 ····.locals·1236 ····.locals·1
  
268 ····.line·276237 ····.line·271
269 ····iget·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestId:I238 ····iget·v0,·p0,·Landroidx/navigation/NavGraph;->mStartDestId:I
  
270 ····return·v0239 ····return·v0
271 .end·method240 .end·method
  
272 .method·public·final·iterator()Ljava/util/Iterator;241 .method·public·final·iterator()Ljava/util/Iterator;
273 ····.locals·1242 ····.locals·1
Offset 289, 15 lines modifiedOffset 258, 15 lines modified
289 ············"()",258 ············"()",
290 ············"Ljava/util/Iterator<",259 ············"Ljava/util/Iterator<",
291 ············"Landroidx/navigation/NavDestination;",260 ············"Landroidx/navigation/NavDestination;",
292 ············">;"261 ············">;"
293 ········}262 ········}
294 ····.end·annotation263 ····.end·annotation
  
295 ····.line·187264 ····.line·182
296 ····new-instance·v0,·Landroidx/navigation/NavGraph$1;265 ····new-instance·v0,·Landroidx/navigation/NavGraph$1;
  
297 ····invoke-direct·{v0,·p0},·Landroidx/navigation/NavGraph$1;-><init>(Landroidx/navigation/NavGraph;)V266 ····invoke-direct·{v0,·p0},·Landroidx/navigation/NavGraph$1;-><init>(Landroidx/navigation/NavGraph;)V
  
298 ····return-object·v0267 ····return-object·v0
299 .end·method268 .end·method
  
Offset 395, 139 lines modifiedOffset 364, 104 lines modified
395 ····.line·69364 ····.line·69
396 ····invoke-virtual·{p2},·Landroid/content/res/TypedArray;->recycle()V365 ····invoke-virtual·{p2},·Landroid/content/res/TypedArray;->recycle()V
  
397 ····return-void366 ····return-void
398 .end·method367 .end·method
  
399 .method·public·final·setStartDestination(I)V368 .method·public·final·setStartDestination(I)V
400 ····.locals·3369 ····.locals·0
  
401 ····.line·285 
402 ····invoke-virtual·{p0},·Landroidx/navigation/NavDestination;->getId()I 
  
403 ····move-result·v0 
  
404 ····if-eq·p1,·v0,·:cond_0 
  
405 ····.line·289370 ····.line·280
406 ····iput·p1,·p0,·Landroidx/navigation/NavGraph;->mStartDestId:I371 ····iput·p1,·p0,·Landroidx/navigation/NavGraph;->mStartDestId:I
  
407 ····const/4·p1,·0x0372 ····const/4·p1,·0x0
  
408 ····.line·290373 ····.line·281
409 ····iput-object·p1,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;374 ····iput-object·p1,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;
  
410 ····return-void375 ····return-void
  
411 ····.line·286 
412 ····:cond_0 
413 ····new-instance·v0,·Ljava/lang/IllegalArgumentException; 
  
414 ····new-instance·v1,·Ljava/lang/StringBuilder; 
  
415 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
416 ····const-string·v2,·"Start·destination·" 
  
417 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
418 ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; 
  
419 ····const-string·p1,·"·cannot·use·the·same·id·as·the·graph·" 
  
420 ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
421 ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; 
  
422 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; 
  
423 ····move-result-object·p1 
  
424 ····invoke-direct·{v0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V 
  
425 ····throw·v0 
426 .end·method376 .end·method
  
427 .method·public·toString()Ljava/lang/String;377 .method·public·toString()Ljava/lang/String;
428 ····.locals·3378 ····.locals·3
  
429 ····.line·304379 ····.line·295
430 ····new-instance·v0,·Ljava/lang/StringBuilder;380 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
431 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V381 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
432 ····.line·305382 ····.line·296
433 ····invoke-super·{p0},·Landroidx/navigation/NavDestination;->toString()Ljava/lang/String;383 ····invoke-super·{p0},·Landroidx/navigation/NavDestination;->toString()Ljava/lang/String;
  
434 ····move-result-object·v1384 ····move-result-object·v1
  
435 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;385 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
436 ····const-string·v1,·"·startDestination="386 ····const-string·v1,·"·startDestination="
  
437 ····.line·306387 ····.line·297
438 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;388 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
439 ····.line·307389 ····.line·298
440 ····invoke-virtual·{p0},·Landroidx/navigation/NavGraph;->getStartDestination()I390 ····invoke-virtual·{p0},·Landroidx/navigation/NavGraph;->getStartDestination()I
  
441 ····move-result·v1391 ····move-result·v1
  
442 ····invoke-virtual·{p0,·v1},·Landroidx/navigation/NavGraph;->findNode(I)Landroidx/navigation/NavDestination;392 ····invoke-virtual·{p0,·v1},·Landroidx/navigation/NavGraph;->findNode(I)Landroidx/navigation/NavDestination;
  
443 ····move-result-object·v1393 ····move-result-object·v1
  
444 ····if-nez·v1,·:cond_1394 ····if-nez·v1,·:cond_1
  
445 ····.line·309395 ····.line·300
446 ····iget-object·v1,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;396 ····iget-object·v1,·p0,·Landroidx/navigation/NavGraph;->mStartDestIdName:Ljava/lang/String;
  
447 ····if-nez·v1,·:cond_0397 ····if-nez·v1,·:cond_0
  
448 ····const-string·v1,·"0x"398 ····const-string·v1,·"0x"
  
449 ····.line·310399 ····.line·301
450 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;400 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
451 ····.line·311401 ····.line·302
452 ····iget·v1,·p0,·Landroidx/navigation/NavGraph;->mStartDestId:I402 ····iget·v1,·p0,·Landroidx/navigation/NavGraph;->mStartDestId:I
  
453 ····invoke-static·{v1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;403 ····invoke-static·{v1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
  
454 ····move-result-object·v1404 ····move-result-object·v1
  
455 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;405 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
456 ····goto·:goto_0406 ····goto·:goto_0
  
457 ····.line·313407 ····.line·304
458 ····:cond_0408 ····:cond_0
459 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;409 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
460 ····goto·:goto_0410 ····goto·:goto_0
  
461 ····:cond_1411 ····:cond_1
462 ····const-string·v2,·"{"412 ····const-string·v2,·"{"
  
463 ····.line·316413 ····.line·307
464 ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;414 ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
465 ····.line·317415 ····.line·308
466 ····invoke-virtual·{v1},·Landroidx/navigation/NavDestination;->toString()Ljava/lang/String;416 ····invoke-virtual·{v1},·Landroidx/navigation/NavDestination;->toString()Ljava/lang/String;
  
467 ····move-result-object·v1417 ····move-result-object·v1
  
468 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;418 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
469 ····const-string·v1,·"}"419 ····const-string·v1,·"}"
  
470 ····.line·318420 ····.line·309
471 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;421 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
472 ····.line·320422 ····.line·311
473 ····:goto_0423 ····:goto_0
474 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;424 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
475 ····move-result-object·v0425 ····move-result-object·v0
  
476 ····return-object·v0426 ····return-object·v0
477 .end·method427 .end·method