ResourceAccessor.java
22.9 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.scene7.is.scalautil.io.StreamReadable
* com.scene7.is.scalautil.io.StreamReadable$class
* com.scene7.is.scalautil.io.StreamWritable
* com.scene7.is.util.LongRange
* scala.Function1
* scala.Option
* scala.Predef
* scala.Predef$
* scala.Product
* scala.Product$class
* scala.Serializable
* scala.StringContext
* scala.collection.Iterator
* scala.collection.Seq
* scala.collection.immutable.List
* scala.collection.mutable.WrappedArray
* scala.reflect.ScalaSignature
* scala.runtime.BoxesRunTime
* scala.runtime.ScalaRunTime
* scala.runtime.ScalaRunTime$
*/
package com.scene7.is.ps.provider;
import com.scene7.is.ps.provider.ResourceAccessor$Resource$class;
import com.scene7.is.scalautil.io.StreamReadable;
import com.scene7.is.scalautil.io.StreamWritable;
import com.scene7.is.util.LongRange;
import java.io.DataInputStream;
import java.io.InputStream;
import java.io.Reader;
import scala.Function1;
import scala.Option;
import scala.Predef;
import scala.Product;
import scala.Serializable;
import scala.StringContext;
import scala.collection.Iterator;
import scala.collection.Seq;
import scala.collection.immutable.List;
import scala.collection.mutable.WrappedArray;
import scala.reflect.ScalaSignature;
import scala.runtime.BoxesRunTime;
import scala.runtime.ScalaRunTime;
@ScalaSignature(bytes="\u0006\u0001\rUaaB\u0001\u0003!\u0003\r\n!\u0004\u0002\u0011%\u0016\u001cx.\u001e:dK\u0006\u001b7-Z:t_JT!a\u0001\u0003\u0002\u0011A\u0014xN^5eKJT!!\u0002\u0004\u0002\u0005A\u001c(BA\u0004\t\u0003\tI7O\u0003\u0002\n\u0015\u000511oY3oK^R\u0011aC\u0001\u0004G>l7\u0001A\n\u0003\u00019\u0001\"a\u0004\n\u000e\u0003AQ\u0011!E\u0001\u0006g\u000e\fG.Y\u0005\u0003'A\u0011a!\u00118z%\u00164\u0007\"B\u000b\u0001\r\u00031\u0012aC4fiJ+7o\\;sG\u0016$2aFB\n!\tA\"E\u0004\u0002\u001a55\t!aB\u0003\u001c\u0005!\u0005A$\u0001\tSKN|WO]2f\u0003\u000e\u001cWm]:peB\u0011\u0011$\b\u0004\u0006\u0003\tA\tAH\n\u0003;9AQ\u0001I\u000f\u0005\u0002\u0005\na\u0001P5oSRtD#\u0001\u000f\u0007\u000f\rj\u0002\u0013aI\u0001I\taAj\\8lkB\u0014Vm];miN\u0011!E\u0004\u0004\bMu\u0001\n1%\u0001(\u0005\u001d1\u0015-\u001b7ve\u0016\u001c2!\n\b)!\tI#%D\u0001\u001e\u0011\u001dYSE1A\u0007\u00021\nA\u0001]1uQV\tQ\u0006\u0005\u0002/c9\u0011qbL\u0005\u0003aA\ta\u0001\u0015:fI\u00164\u0017B\u0001\u001a4\u0005\u0019\u0019FO]5oO*\u0011\u0001\u0007\u0005\u0005\u0006k\u00152\tEN\u0001\ti>\u001cFO]5oOR\tQ\u0006C\u00039;\u0011E\u0011(A\u0004tk\u000e\u001cWm]:\u0015\u0007i\nY\n\u0005\u0002*w\u0019!A(\b!>\u0005\u001d\u0019VoY2fgN\u001cRa\u000f\b)}\u0005\u0003\"aD \n\u0005\u0001\u0003\"a\u0002)s_\u0012,8\r\u001e\t\u0003\u001f\tK!a\u0011\t\u0003\u0019M+'/[1mSj\f'\r\\3\t\u0011\u0015[$Q3A\u0005\u0002\u0019\u000b\u0001B]3t_V\u00148-Z\u000b\u0002\u000fB\u0011\u0011\u0006\u0013\u0004\b\u0013v\u0001\n1!\u0001K\u0005!\u0011Vm]8ve\u000e,7c\u0001%\u000f\u0017B\u0011A*U\u0007\u0002\u001b*\u0011ajT\u0001\u0003S>T!\u0001\u0015\u0004\u0002\u0013M\u001c\u0017\r\\1vi&d\u0017B\u0001*N\u00059\u0019FO]3b[J+\u0017\rZ1cY\u0016DQ\u0001\u0016%\u0005\u0002U\u000ba\u0001J5oSR$C#\u0001,\u0011\u0005=9\u0016B\u0001-\u0011\u0005\u0011)f.\u001b;\t\u000b-Be\u0011\u0001\u0017\t\u000fmC%\u0019!D\u00019\u0006!1/\u001b>f+\u0005i\u0006CA\b_\u0013\ty\u0006C\u0001\u0003M_:<\u0007\"B1I\r\u0003\u0011\u0017\u0001C7j[\u0016$\u0016\u0010]3\u0016\u0003\r\u00042a\u00043.\u0013\t)\u0007C\u0001\u0004PaRLwN\u001c\u0005\u0006O\"3\t\u0001X\u0001\rY\u0006\u001cH/T8eS\u001aLW\r\u001a\u0005\u0006S\"#\tA[\u0001\u0006g2L7-\u001a\u000b\u0003\u000f.DQ\u0001\u001c5A\u00025\fQA]1oO\u0016\u0004\"A\\9\u000e\u0003=T!\u0001\u001d\u0004\u0002\tU$\u0018\u000e\\\u0005\u0003e>\u0014\u0011\u0002T8oOJ\u000bgnZ3\t\u000b%DE\u0011\t;\u0015\u0007\u001d+x\u000fC\u0003wg\u0002\u0007Q,\u0001\u0003ge>l\u0007\"\u0002=t\u0001\u0004i\u0016!B;oi&d\u0007\"\u0002>I\t\u0003Z\u0018AB2paf$v\u000e\u0006\u0002Wy\")Q0\u001fa\u0001}\u0006\u0019Am\u001d;\u0011\u00051{\u0018bAA\u0001\u001b\nq1\u000b\u001e:fC6<&/\u001b;bE2,\u0007BDA\u0003\u0011B\u0005\u0019\u0011!A\u0005\n\u0005\u001d\u00111B\u0001\rgV\u0004XM\u001d\u0013d_BLHk\u001c\u000b\u0004-\u0006%\u0001BB?\u0002\u0004\u0001\u0007a0\u0003\u0002{#\"I\u0011qB\u001e\u0003\u0012\u0003\u0006IaR\u0001\ne\u0016\u001cx.\u001e:dK\u0002Ba\u0001I\u001e\u0005\u0002\u0005MAc\u0001\u001e\u0002\u0016!1Q)!\u0005A\u0002\u001dC\u0011\"!\u0007<\u0003\u0003%\t!a\u0007\u0002\t\r|\u0007/\u001f\u000b\u0004u\u0005u\u0001\u0002C#\u0002\u0018A\u0005\t\u0019A$\t\u0013\u0005\u00052(%A\u0005\u0002\u0005\r\u0012AD2paf$C-\u001a4bk2$H%M\u000b\u0003\u0003KQ3aRA\u0014W\t\tI\u0003\u0005\u0003\u0002,\u0005URBAA\u0017\u0015\u0011\ty#!\r\u0002\u0013Ut7\r[3dW\u0016$'bAA\u001a!\u0005Q\u0011M\u001c8pi\u0006$\u0018n\u001c8\n\t\u0005]\u0012Q\u0006\u0002\u0012k:\u001c\u0007.Z2lK\u00124\u0016M]5b]\u000e,\u0007\"CA\u001ew\u0005\u0005I\u0011IA\u001f\u00035\u0001(o\u001c3vGR\u0004&/\u001a4jqV\u0011\u0011q\b\t\u0005\u0003\u0003\nY%\u0004\u0002\u0002D)!\u0011QIA$\u0003\u0011a\u0017M\\4\u000b\u0005\u0005%\u0013\u0001\u00026bm\u0006L1AMA\"\u0011%\tyeOA\u0001\n\u0003\t\t&\u0001\u0007qe>$Wo\u0019;Be&$\u00180\u0006\u0002\u0002TA\u0019q\"!\u0016\n\u0007\u0005]\u0003CA\u0002J]RD\u0011\"a\u0017<\u0003\u0003%\t!!\u0018\u0002\u001dA\u0014x\u000eZ;di\u0016cW-\\3oiR!\u0011qLA3!\ry\u0011\u0011M\u0005\u0004\u0003G\u0002\"aA!os\"Q\u0011qMA-\u0003\u0003\u0005\r!a\u0015\u0002\u0007a$\u0013\u0007C\u0005\u0002lm\n\t\u0011\"\u0011\u0002n\u0005y\u0001O]8ek\u000e$\u0018\n^3sCR|'/\u0006\u0002\u0002pA1\u0011\u0011OA<\u0003?j!!a\u001d\u000b\u0007\u0005U\u0004#\u0001\u0006d_2dWm\u0019;j_:LA!!\u001f\u0002t\tA\u0011\n^3sCR|'\u000fC\u0005\u0002~m\n\t\u0011\"\u0001\u0002\u0000\u0005A1-\u00198FcV\fG\u000e\u0006\u0003\u0002\u0002\u0006\u001d\u0005cA\b\u0002\u0004&\u0019\u0011Q\u0011\t\u0003\u000f\t{w\u000e\\3b]\"Q\u0011qMA>\u0003\u0003\u0005\r!a\u0018\t\u0013\u0005-5(!A\u0005B\u00055\u0015\u0001\u00035bg\"\u001cu\u000eZ3\u0015\u0005\u0005M\u0003\u0002C\u001b<\u0003\u0003%\t%!%\u0015\u0005\u0005}\u0002\"CAKw\u0005\u0005I\u0011IAL\u0003\u0019)\u0017/^1mgR!\u0011\u0011QAM\u0011)\t9'a%\u0002\u0002\u0003\u0007\u0011q\f\u0005\u0006\u000b^\u0002\raR\u0004\n\u0003?k\u0012\u0011!E\u0001\u0003C\u000bqaU;dG\u0016\u001c8\u000fE\u0002*\u0003G3\u0001\u0002P\u000f\u0002\u0002#\u0005\u0011QU\n\u0006\u0003G\u000b9+\u0011\t\u0007\u0003S\u000byk\u0012\u001e\u000e\u0005\u0005-&bAAW!\u00059!/\u001e8uS6,\u0017\u0002BAY\u0003W\u0013\u0011#\u00112tiJ\f7\r\u001e$v]\u000e$\u0018n\u001c82\u0011\u001d\u0001\u00131\u0015C\u0001\u0003k#\"!!)\t\u0013U\n\u0019+!A\u0005F\u0005E\u0005BCA^\u0003G\u000b\t\u0011\"!\u0002>\u0006)\u0011\r\u001d9msR\u0019!(a0\t\r\u0015\u000bI\f1\u0001H\u0011)\t\u0019-a)\u0002\u0002\u0013\u0005\u0015QY\u0001\bk:\f\u0007\u000f\u001d7z)\u0011\t9-!3\u0011\u0007=!w\tC\u0005\u0002L\u0006\u0005\u0017\u0011!a\u0001u\u0005\u0019\u0001\u0010\n\u0019\t\u0015\u0005=\u00171UA\u0001\n\u0013\t\t.A\u0006sK\u0006$'+Z:pYZ,GCAAj!\u0011\t\t%!6\n\t\u0005]\u00171\t\u0002\u0007\u001f\nTWm\u0019;\t\u000f\u0005mW\u0004\"\u0005\u0002^\u0006Aan\u001c;G_VtG\r\u0006\u0004\u0002`\n=#\u0011\u000b\t\u0004S\u0005\u0005hABAr;\u0001\u000b)O\u0001\u0005O_R4u.\u001e8e'\u001d\t\tODAt}\u0005\u0003\"!K\u0013\t\u0013-\n\tO!f\u0001\n\u0003a\u0003BCAw\u0003C\u0014\t\u0012)A\u0005[\u0005)\u0001/\u0019;iA!Y\u0011\u0011_Aq\u0005+\u0007I\u0011AAz\u0003)\u0019\u0017M\u001c3jI\u0006$Xm]\u000b\u0003\u0003k\u0004R!a>\u0003\b5rA!!?\u0003\u00049!\u00111 B\u0001\u001b\t\tiPC\u0002\u0002\u00002\ta\u0001\u0010:p_Rt\u0014\"A\t\n\u0007\t\u0015\u0001#A\u0004qC\u000e\\\u0017mZ3\n\t\t%!1\u0002\u0002\u0005\u0019&\u001cHOC\u0002\u0003\u0006AA1Ba\u0004\u0002b\nE\t\u0015!\u0003\u0002v\u0006Y1-\u00198eS\u0012\fG/Z:!\u0011\u001d\u0001\u0013\u0011\u001dC\u0001\u0005'!b!a8\u0003\u0016\t]\u0001BB\u0016\u0003\u0012\u0001\u0007Q\u0006\u0003\u0005\u0002r\nE\u0001\u0019AA{\u0011!)\u0014\u0011\u001db\u0001\n\u0003b\u0003\u0002\u0003B\u000f\u0003C\u0004\u000b\u0011B\u0017\u0002\u0013Q|7\u000b\u001e:j]\u001e\u0004\u0003BCA\r\u0003C\f\t\u0011\"\u0001\u0003\"Q1\u0011q\u001cB\u0012\u0005KA\u0001b\u000bB\u0010!\u0003\u0005\r!\f\u0005\u000b\u0003c\u0014y\u0002%AA\u0002\u0005U\bBCA\u0011\u0003C\f\n\u0011\"\u0001\u0003*U\u0011!1\u0006\u0016\u0004[\u0005\u001d\u0002B\u0003B\u0018\u0003C\f\n\u0011\"\u0001\u00032\u0005q1m\u001c9zI\u0011,g-Y;mi\u0012\u0012TC\u0001B\u001aU\u0011\t)0a\n\t\u0015\u0005m\u0012\u0011]A\u0001\n\u0003\ni\u0004\u0003\u0006\u0002P\u0005\u0005\u0018\u0011!C\u0001\u0003#B!\"a\u0017\u0002b\u0006\u0005I\u0011\u0001B\u001e)\u0011\tyF!\u0010\t\u0015\u0005\u001d$\u0011HA\u0001\u0002\u0004\t\u0019\u0006\u0003\u0006\u0002l\u0005\u0005\u0018\u0011!C!\u0003[B!\"! \u0002b\u0006\u0005I\u0011\u0001B\")\u0011\t\tI!\u0012\t\u0015\u0005\u001d$\u0011IA\u0001\u0002\u0004\ty\u0006\u0003\u0006\u0002\f\u0006\u0005\u0018\u0011!C!\u0003\u001bC!\"!&\u0002b\u0006\u0005I\u0011\tB&)\u0011\t\tI!\u0014\t\u0015\u0005\u001d$\u0011JA\u0001\u0002\u0004\ty\u0006\u0003\u0004,\u00033\u0004\r!\f\u0005\t\u0003c\fI\u000e1\u0001\u0003TA!qB!\u0016.\u0013\r\u00119\u0006\u0005\u0002\u000byI,\u0007/Z1uK\u0012t\u0004\u0006BAm\u00057\u0002BA!\u0018\u0003`5\u0011\u0011\u0011G\u0005\u0005\u0005C\n\tDA\u0004wCJ\f'oZ:\b\u0013\t\u0015T$!A\t\u0002\t\u001d\u0014\u0001\u0003(pi\u001a{WO\u001c3\u0011\u0007%\u0012IGB\u0005\u0002dv\t\t\u0011#\u0001\u0003lM)!\u0011\u000eB7\u0003BI\u0011\u0011\u0016B8[\u0005U\u0018q\\\u0005\u0005\u0005c\nYKA\tBEN$(/Y2u\rVt7\r^5p]JBq\u0001\tB5\t\u0003\u0011)\b\u0006\u0002\u0003h!IQG!\u001b\u0002\u0002\u0013\u0015\u0013\u0011\u0013\u0005\u000b\u0003w\u0013I'!A\u0005\u0002\nmDCBAp\u0005{\u0012y\b\u0003\u0004,\u0005s\u0002\r!\f\u0005\t\u0003c\u0014I\b1\u0001\u0002v\"Q\u00111\u0019B5\u0003\u0003%\tIa!\u0015\t\t\u0015%Q\u0012\t\u0005\u001f\u0011\u00149\t\u0005\u0004\u0010\u0005\u0013k\u0013Q_\u0005\u0004\u0005\u0017\u0003\"A\u0002+va2,'\u0007\u0003\u0006\u0002L\n\u0005\u0015\u0011!a\u0001\u0003?D!\"a4\u0003j\u0005\u0005I\u0011BAi\u0011\u001d\u0011\u0019*\bC\t\u0005+\u000bA\"\u001b8bG\u000e,7o]5cY\u0016$bAa&\u0003^\n}\u0007cA\u0015\u0003\u001a\u001a1!1T\u000fA\u0005;\u0013A\"\u00138bG\u000e,7o]5cY\u0016\u001crA!'\u000f\u0003Ot\u0014\tC\u0005,\u00053\u0013)\u001a!C\u0001Y!Q\u0011Q\u001eBM\u0005#\u0005\u000b\u0011B\u0017\t\u0015\t\u0015&\u0011\u0014BK\u0002\u0013\u0005A&\u0001\u0004sK\u0006\u001cxN\u001c\u0005\u000b\u0005S\u0013IJ!E!\u0002\u0013i\u0013a\u0002:fCN|g\u000e\t\u0005\bA\teE\u0011\u0001BW)\u0019\u00119Ja,\u00032\"11Fa+A\u00025BqA!*\u0003,\u0002\u0007Q\u0006\u0003\u00056\u00053\u0013\r\u0011\"\u0011-\u0011!\u0011iB!'!\u0002\u0013i\u0003BCA\r\u00053\u000b\t\u0011\"\u0001\u0003:R1!q\u0013B^\u0005{C\u0001b\u000bB\\!\u0003\u0005\r!\f\u0005\n\u0005K\u00139\f%AA\u00025B!\"!\t\u0003\u001aF\u0005I\u0011\u0001B\u0015\u0011)\u0011yC!'\u0012\u0002\u0013\u0005!\u0011\u0006\u0005\u000b\u0003w\u0011I*!A\u0005B\u0005u\u0002BCA(\u00053\u000b\t\u0011\"\u0001\u0002R!Q\u00111\fBM\u0003\u0003%\tA!3\u0015\t\u0005}#1\u001a\u0005\u000b\u0003O\u00129-!AA\u0002\u0005M\u0003BCA6\u00053\u000b\t\u0011\"\u0011\u0002n!Q\u0011Q\u0010BM\u0003\u0003%\tA!5\u0015\t\u0005\u0005%1\u001b\u0005\u000b\u0003O\u0012y-!AA\u0002\u0005}\u0003BCAF\u00053\u000b\t\u0011\"\u0011\u0002\u000e\"Q\u0011Q\u0013BM\u0003\u0003%\tE!7\u0015\t\u0005\u0005%1\u001c\u0005\u000b\u0003O\u00129.!AA\u0002\u0005}\u0003BB\u0016\u0003\u0012\u0002\u0007Q\u0006C\u0004\u0003&\nE\u0005\u0019A\u0017\b\u0013\t\rX$!A\t\u0002\t\u0015\u0018\u0001D%oC\u000e\u001cWm]:jE2,\u0007cA\u0015\u0003h\u001aI!1T\u000f\u0002\u0002#\u0005!\u0011^\n\u0006\u0005O\u0014Y/\u0011\t\t\u0003S\u0013y'L\u0017\u0003\u0018\"9\u0001Ea:\u0005\u0002\t=HC\u0001Bs\u0011%)$q]A\u0001\n\u000b\n\t\n\u0003\u0006\u0002<\n\u001d\u0018\u0011!CA\u0005k$bAa&\u0003x\ne\bBB\u0016\u0003t\u0002\u0007Q\u0006C\u0004\u0003&\nM\b\u0019A\u0017\t\u0015\u0005\r'q]A\u0001\n\u0003\u0013i\u0010\u0006\u0003\u0003\u0000\u000e\r\u0001\u0003B\be\u0007\u0003\u0001Ra\u0004BE[5B!\"a3\u0003|\u0006\u0005\t\u0019\u0001BL\u0011)\tyMa:\u0002\u0002\u0013%\u0011\u0011\u001b\u0004\b\u0007\u0013i\u0012\u0011AB\u0006\u0005A\t%m\u001d;sC\u000e$(+Z:pkJ\u001cWm\u0005\u0003\u0004\b99\u0005b\u0002\u0011\u0004\b\u0011\u00051q\u0002\u000b\u0003\u0007#\u00012!KB\u0004\u0011\u0015YC\u00031\u0001.\u0001")
public interface ResourceAccessor {
public LookupResult getResource(String var1);
public static interface Failure
extends LookupResult {
public String path();
public String toString();
}
public static class Success
implements LookupResult,
Product,
Serializable {
private final Resource resource;
public Resource resource() {
return this.resource;
}
public Success copy(Resource resource) {
return new Success(resource);
}
public Resource copy$default$1() {
return this.resource();
}
public String productPrefix() {
return "Success";
}
public int productArity() {
return 1;
}
public Object productElement(int x$1) {
int n = x$1;
switch (n) {
default: {
throw new IndexOutOfBoundsException(BoxesRunTime.boxToInteger((int)x$1).toString());
}
case 0:
}
return this.resource();
}
public Iterator<Object> productIterator() {
return ScalaRunTime..MODULE$.typedProductIterator((Product)this);
}
public boolean canEqual(Object x$1) {
return x$1 instanceof Success;
}
public int hashCode() {
return ScalaRunTime..MODULE$._hashCode((Product)this);
}
public String toString() {
return ScalaRunTime..MODULE$._toString((Product)this);
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public boolean equals(Object x$1) {
if (this == x$1) return true;
Object object = x$1;
if (!(object instanceof Success)) return false;
boolean bl = true;
if (!bl) return false;
Success success = (Success)x$1;
Resource resource = this.resource();
Resource resource2 = success.resource();
if (resource == null) {
if (resource2 != null) {
return false;
}
} else if (!resource.equals(resource2)) return false;
if (!success.canEqual(this)) return false;
return true;
}
public Success(Resource resource) {
this.resource = resource;
Product.class.$init$((Product)this);
}
}
public static class NotFound
implements Failure,
Product,
Serializable {
private final String path;
private final List<String> candidates;
private final String toString;
@Override
public String path() {
return this.path;
}
public List<String> candidates() {
return this.candidates;
}
@Override
public String toString() {
return this.toString;
}
public NotFound copy(String path, List<String> candidates) {
return new NotFound(path, candidates);
}
public String copy$default$1() {
return this.path();
}
public List<String> copy$default$2() {
return this.candidates();
}
public String productPrefix() {
return "NotFound";
}
public int productArity() {
return 2;
}
public Object productElement(int x$1) {
Object object;
int n = x$1;
switch (n) {
default: {
throw new IndexOutOfBoundsException(BoxesRunTime.boxToInteger((int)x$1).toString());
}
case 1: {
object = this.candidates();
break;
}
case 0: {
object = this.path();
}
}
return object;
}
public Iterator<Object> productIterator() {
return ScalaRunTime..MODULE$.typedProductIterator((Product)this);
}
public boolean canEqual(Object x$1) {
return x$1 instanceof NotFound;
}
public int hashCode() {
return ScalaRunTime..MODULE$._hashCode((Product)this);
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public boolean equals(Object x$1) {
if (this == x$1) return true;
Object object = x$1;
if (!(object instanceof NotFound)) return false;
boolean bl = true;
if (!bl) return false;
NotFound notFound = (NotFound)x$1;
String string = this.path();
String string2 = notFound.path();
if (string == null) {
if (string2 != null) {
return false;
}
} else if (!string.equals(string2)) return false;
List<String> list = this.candidates();
List<String> list2 = notFound.candidates();
if (list == null) {
if (list2 != null) {
return false;
}
} else if (!list.equals(list2)) return false;
if (!notFound.canEqual(this)) return false;
return true;
}
public NotFound(String path, List<String> candidates) {
this.path = path;
this.candidates = candidates;
Product.class.$init$((Product)this);
this.toString = new StringContext((Seq)Predef..MODULE$.wrapRefArray((Object[])new String[]{"cannot find '", "' in ", ""})).s((Seq)Predef..MODULE$.genericWrapArray((Object)new Object[]{path, candidates.mkString(",")}));
}
}
public static interface Resource
extends StreamReadable {
public /* synthetic */ void com$scene7$is$ps$provider$ResourceAccessor$Resource$$super$copyTo(StreamWritable var1);
public String path();
public long size();
public Option<String> mimeType();
public long lastModified();
public Resource slice(LongRange var1);
public Resource slice(long var1, long var3);
public void copyTo(StreamWritable var1);
}
public static interface LookupResult {
}
public static class Inaccessible
implements Failure,
Product,
Serializable {
private final String path;
private final String reason;
private final String toString;
@Override
public String path() {
return this.path;
}
public String reason() {
return this.reason;
}
@Override
public String toString() {
return this.toString;
}
public Inaccessible copy(String path, String reason) {
return new Inaccessible(path, reason);
}
public String copy$default$1() {
return this.path();
}
public String copy$default$2() {
return this.reason();
}
public String productPrefix() {
return "Inaccessible";
}
public int productArity() {
return 2;
}
public Object productElement(int x$1) {
String string;
int n = x$1;
switch (n) {
default: {
throw new IndexOutOfBoundsException(BoxesRunTime.boxToInteger((int)x$1).toString());
}
case 1: {
string = this.reason();
break;
}
case 0: {
string = this.path();
}
}
return string;
}
public Iterator<Object> productIterator() {
return ScalaRunTime..MODULE$.typedProductIterator((Product)this);
}
public boolean canEqual(Object x$1) {
return x$1 instanceof Inaccessible;
}
public int hashCode() {
return ScalaRunTime..MODULE$._hashCode((Product)this);
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public boolean equals(Object x$1) {
if (this == x$1) return true;
Object object = x$1;
if (!(object instanceof Inaccessible)) return false;
boolean bl = true;
if (!bl) return false;
Inaccessible inaccessible = (Inaccessible)x$1;
String string = this.path();
String string2 = inaccessible.path();
if (string == null) {
if (string2 != null) {
return false;
}
} else if (!string.equals(string2)) return false;
String string3 = this.reason();
String string4 = inaccessible.reason();
if (string3 == null) {
if (string4 != null) {
return false;
}
} else if (!string3.equals(string4)) return false;
if (!inaccessible.canEqual(this)) return false;
return true;
}
public Inaccessible(String path, String reason) {
this.path = path;
this.reason = reason;
Product.class.$init$((Product)this);
this.toString = new StringContext((Seq)Predef..MODULE$.wrapRefArray((Object[])new String[]{"'", "' is inaccessible: ", ""})).s((Seq)Predef..MODULE$.genericWrapArray((Object)new Object[]{path, reason}));
}
}
public static abstract class AbstractResource
implements Resource {
@Override
public /* synthetic */ void com$scene7$is$ps$provider$ResourceAccessor$Resource$$super$copyTo(StreamWritable dst) {
StreamReadable.class.copyTo((StreamReadable)this, (StreamWritable)dst);
}
@Override
public Resource slice(LongRange range) {
return ResourceAccessor$Resource$class.slice(this, range);
}
@Override
public Resource slice(long from, long until) {
return ResourceAccessor$Resource$class.slice(this, from, until);
}
@Override
public void copyTo(StreamWritable dst) {
ResourceAccessor$Resource$class.copyTo(this, dst);
}
public <T> T read(Function1<InputStream, T> f) {
return (T)StreamReadable.class.read((StreamReadable)this, f);
}
public <T> T readData(Function1<DataInputStream, T> f) {
return (T)StreamReadable.class.readData((StreamReadable)this, f);
}
public <T> T readText(Function1<Reader, T> f) {
return (T)StreamReadable.class.readText((StreamReadable)this, f);
}
public String readString() {
return StreamReadable.class.readString((StreamReadable)this);
}
public byte[] readBytes() {
return StreamReadable.class.readBytes((StreamReadable)this);
}
public AbstractResource() {
StreamReadable.class.$init$((StreamReadable)this);
ResourceAccessor$Resource$class.$init$(this);
}
}
}