@@ -42,7 +42,17 @@ public interface Message {
42
42
*/
43
43
@ Deprecated
44
44
public static class PatternMessage implements Message {
45
+ /**
46
+ * @internal ICU 72 technology preview
47
+ * @deprecated This API is for technology preview only.
48
+ */
49
+ @ Deprecated
45
50
public final List <Declaration > declarations ;
51
+ /**
52
+ * @internal ICU 72 technology preview
53
+ * @deprecated This API is for technology preview only.
54
+ */
55
+ @ Deprecated
46
56
public final Pattern pattern ;
47
57
48
58
/**
@@ -62,8 +72,23 @@ public PatternMessage(List<Declaration> declarations, Pattern pattern) {
62
72
*/
63
73
@ Deprecated
64
74
public static class SelectMessage implements Message {
75
+ /**
76
+ * @internal ICU 72 technology preview
77
+ * @deprecated This API is for technology preview only.
78
+ */
79
+ @ Deprecated
65
80
public final List <Declaration > declarations ;
81
+ /**
82
+ * @internal ICU 72 technology preview
83
+ * @deprecated This API is for technology preview only.
84
+ */
85
+ @ Deprecated
66
86
public final List <Expression > selectors ;
87
+ /**
88
+ * @internal ICU 72 technology preview
89
+ * @deprecated This API is for technology preview only.
90
+ */
91
+ @ Deprecated
67
92
public final List <Variant > variants ;
68
93
69
94
/**
@@ -96,7 +121,17 @@ public interface Declaration {
96
121
*/
97
122
@ Deprecated
98
123
public static class InputDeclaration implements Declaration {
124
+ /**
125
+ * @internal ICU 72 technology preview
126
+ * @deprecated This API is for technology preview only.
127
+ */
128
+ @ Deprecated
99
129
public final String name ;
130
+ /**
131
+ * @internal ICU 72 technology preview
132
+ * @deprecated This API is for technology preview only.
133
+ */
134
+ @ Deprecated
100
135
public final VariableExpression value ;
101
136
102
137
/**
@@ -116,7 +151,17 @@ public InputDeclaration(String name, VariableExpression value) {
116
151
*/
117
152
@ Deprecated
118
153
public static class LocalDeclaration implements Declaration {
154
+ /**
155
+ * @internal ICU 72 technology preview
156
+ * @deprecated This API is for technology preview only.
157
+ */
158
+ @ Deprecated
119
159
public final String name ;
160
+ /**
161
+ * @internal ICU 72 technology preview
162
+ * @deprecated This API is for technology preview only.
163
+ */
164
+ @ Deprecated
120
165
public final Expression value ;
121
166
122
167
/**
@@ -145,7 +190,17 @@ public interface LiteralOrCatchallKey {
145
190
*/
146
191
@ Deprecated
147
192
public static class Variant implements LiteralOrCatchallKey {
193
+ /**
194
+ * @internal ICU 72 technology preview
195
+ * @deprecated This API is for technology preview only.
196
+ */
197
+ @ Deprecated
148
198
public final List <LiteralOrCatchallKey > keys ;
199
+ /**
200
+ * @internal ICU 72 technology preview
201
+ * @deprecated This API is for technology preview only.
202
+ */
203
+ @ Deprecated
149
204
public final Pattern value ;
150
205
151
206
/**
@@ -168,9 +223,20 @@ public static class CatchallKey implements LiteralOrCatchallKey {
168
223
final static String AS_KEY_STRING = "<<::CatchallKey::>>" ;
169
224
// String value; // Always '*' in MF2
170
225
226
+ /**
227
+ * @internal ICU 72 technology preview
228
+ * @deprecated This API is for technology preview only.
229
+ */
230
+ @ Deprecated
171
231
public static boolean isCatchAll (String key ) {
172
232
return AS_KEY_STRING .equals (key );
173
233
}
234
+ /**
235
+ * @internal ICU 72 technology preview
236
+ * @deprecated This API is for technology preview only.
237
+ */
238
+ @ Deprecated
239
+ public CatchallKey () {}
174
240
}
175
241
176
242
// Patterns
@@ -182,6 +248,11 @@ public static boolean isCatchAll(String key) {
182
248
*/
183
249
@ Deprecated
184
250
public static class Pattern {
251
+ /**
252
+ * @internal ICU 72 technology preview
253
+ * @deprecated This API is for technology preview only.
254
+ */
255
+ @ Deprecated
185
256
public final List <PatternPart > parts ;
186
257
187
258
Pattern () {
@@ -204,6 +275,11 @@ public interface PatternPart {
204
275
*/
205
276
@ Deprecated
206
277
public static class StringPart implements PatternPart {
278
+ /**
279
+ * @internal ICU 72 technology preview
280
+ * @deprecated This API is for technology preview only.
281
+ */
282
+ @ Deprecated
207
283
public final String value ;
208
284
209
285
StringPart (String value ) {
@@ -227,8 +303,23 @@ public interface Expression extends PatternPart {
227
303
*/
228
304
@ Deprecated
229
305
public static class LiteralExpression implements Expression {
306
+ /**
307
+ * @internal ICU 72 technology preview
308
+ * @deprecated This API is for technology preview only.
309
+ */
310
+ @ Deprecated
230
311
public final Literal arg ;
312
+ /**
313
+ * @internal ICU 72 technology preview
314
+ * @deprecated This API is for technology preview only.
315
+ */
316
+ @ Deprecated
231
317
public final FunctionRef function ;
318
+ /**
319
+ * @internal ICU 72 technology preview
320
+ * @deprecated This API is for technology preview only.
321
+ */
322
+ @ Deprecated
232
323
public final List <Attribute > attributes ;
233
324
234
325
/**
@@ -249,8 +340,23 @@ public LiteralExpression(Literal arg, FunctionRef function, List<Attribute> attr
249
340
*/
250
341
@ Deprecated
251
342
public static class VariableExpression implements Expression {
343
+ /**
344
+ * @internal ICU 72 technology preview
345
+ * @deprecated This API is for technology preview only.
346
+ */
347
+ @ Deprecated
252
348
public final VariableRef arg ;
349
+ /**
350
+ * @internal ICU 72 technology preview
351
+ * @deprecated This API is for technology preview only.
352
+ */
353
+ @ Deprecated
253
354
public final FunctionRef function ;
355
+ /**
356
+ * @internal ICU 72 technology preview
357
+ * @deprecated This API is for technology preview only.
358
+ */
359
+ @ Deprecated
254
360
public final List <Attribute > attributes ;
255
361
256
362
/**
@@ -272,7 +378,17 @@ public VariableExpression(
272
378
*/
273
379
@ Deprecated
274
380
public static class FunctionRef {
381
+ /**
382
+ * @internal ICU 72 technology preview
383
+ * @deprecated This API is for technology preview only.
384
+ */
385
+ @ Deprecated
275
386
public final String name ;
387
+ /**
388
+ * @internal ICU 72 technology preview
389
+ * @deprecated This API is for technology preview only.
390
+ */
391
+ @ Deprecated
276
392
public final Map <String , Option > options ;
277
393
278
394
/**
@@ -292,7 +408,17 @@ public FunctionRef(String name, Map<String, Option> options) {
292
408
*/
293
409
@ Deprecated
294
410
public static class FunctionExpression implements Expression {
411
+ /**
412
+ * @internal ICU 72 technology preview
413
+ * @deprecated This API is for technology preview only.
414
+ */
415
+ @ Deprecated
295
416
public final FunctionRef function ;
417
+ /**
418
+ * @internal ICU 72 technology preview
419
+ * @deprecated This API is for technology preview only.
420
+ */
421
+ @ Deprecated
296
422
public final List <Attribute > attributes ;
297
423
298
424
/**
@@ -312,7 +438,17 @@ public FunctionExpression(FunctionRef function, List<Attribute> attributes) {
312
438
*/
313
439
@ Deprecated
314
440
public static class Attribute {
441
+ /**
442
+ * @internal ICU 72 technology preview
443
+ * @deprecated This API is for technology preview only.
444
+ */
445
+ @ Deprecated
315
446
public final String name ;
447
+ /**
448
+ * @internal ICU 72 technology preview
449
+ * @deprecated This API is for technology preview only.
450
+ */
451
+ @ Deprecated
316
452
public final LiteralOrVariableRef value ;
317
453
318
454
/**
@@ -345,6 +481,11 @@ public interface LiteralOrVariableRef {
345
481
*/
346
482
@ Deprecated
347
483
public static class Literal implements LiteralOrVariableRef , LiteralOrCatchallKey {
484
+ /**
485
+ * @internal ICU 72 technology preview
486
+ * @deprecated This API is for technology preview only.
487
+ */
488
+ @ Deprecated
348
489
public final String value ;
349
490
350
491
/**
@@ -363,6 +504,11 @@ public Literal(String value) {
363
504
*/
364
505
@ Deprecated
365
506
public static class VariableRef implements LiteralOrVariableRef {
507
+ /**
508
+ * @internal ICU 72 technology preview
509
+ * @deprecated This API is for technology preview only.
510
+ */
511
+ @ Deprecated
366
512
public final String name ;
367
513
368
514
/**
@@ -381,7 +527,17 @@ public VariableRef(String name) {
381
527
*/
382
528
@ Deprecated
383
529
public static class Option {
530
+ /**
531
+ * @internal ICU 72 technology preview
532
+ * @deprecated This API is for technology preview only.
533
+ */
534
+ @ Deprecated
384
535
public final String name ;
536
+ /**
537
+ * @internal ICU 72 technology preview
538
+ * @deprecated This API is for technology preview only.
539
+ */
540
+ @ Deprecated
385
541
public final LiteralOrVariableRef value ;
386
542
387
543
/**
@@ -409,9 +565,29 @@ enum Kind {
409
565
STANDALONE
410
566
}
411
567
568
+ /**
569
+ * @internal ICU 72 technology preview
570
+ * @deprecated This API is for technology preview only.
571
+ */
572
+ @ Deprecated
412
573
public final Kind kind ;
574
+ /**
575
+ * @internal ICU 72 technology preview
576
+ * @deprecated This API is for technology preview only.
577
+ */
578
+ @ Deprecated
413
579
public final String name ;
580
+ /**
581
+ * @internal ICU 72 technology preview
582
+ * @deprecated This API is for technology preview only.
583
+ */
584
+ @ Deprecated
414
585
public final Map <String , Option > options ;
586
+ /**
587
+ * @internal ICU 72 technology preview
588
+ * @deprecated This API is for technology preview only.
589
+ */
590
+ @ Deprecated
415
591
public final List <Attribute > attributes ;
416
592
417
593
/**
0 commit comments