/
ELJavadocAssertions.xml
5054 lines (5047 loc) · 275 KB
/
ELJavadocAssertions.xml
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
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE javadoc SYSTEM "https://raw.githubusercontent.com/eclipse-ee4j/jakartaee-tck/master/internal/docs/dtd/javadoc_assertions.dtd">
<!--
Copyright (c) 2018, 2022 Oracle and/or its affiliates and others.
All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<javadoc>
<next-available-id>414</next-available-id>
<previous-id>410</previous-id>
<technology>EL</technology>
<id>EL</id>
<name>Expression Language</name>
<version>5.0</version>
<assertions>
<!-- ********************************************************************************** -->
<!-- ********************************************************************************** -->
<!-- UNMODIFIED ASSERTIONS LISTED BELOW -->
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>1</id>
<description>Creates a new read/write ArrayELResolver.</description>
<package>jakarta.el</package>
<class-interface>ArrayELResolver</class-interface>
<method name="ArrayELResolver" return-type="ArrayELResolver" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>2</id>
<description>Creates a new ArrayELResolver whose read-only status is determined by the given parameter.</description>
<package>jakarta.el</package>
<class-interface>ArrayELResolver</class-interface>
<method name="ArrayELResolver" return-type="ArrayELResolver">
<parameters>
<parameter>boolean</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>3</id>
<description>If the base object is a Java language array, returns the most general type that this resolver accepts for the property argument. Otherwise, returns null. Assuming the base is an array, this method will always return Integer.class. This is because arrays accept integers for their index.</description>
<package>jakarta.el</package>
<class-interface>ArrayELResolver</class-interface>
<method name="getCommonPropertyType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>4</id>
<description>Always returns null, since there is no reason to iterate through set set of all integers. The #getCommonPropertyType method returns sufficient information about what properties this resolver accepts.</description>
<package>jakarta.el</package>
<class-interface>ArrayELResolver</class-interface>
<method name="getFeatureDescriptors" return-type="java.util.Iterator">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>5</id>
<description>If the base object is an array, returns the most general acceptable type for a value in this array. If the base is a array, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. Assuming the base is an array, this method will always return base.getClass().getComponentType(), which is the most general type of component that can be stored at any given index in the array.</description>
<package>jakarta.el</package>
<class-interface>ArrayELResolver</class-interface>
<method name="getType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>6</id>
<description>If the base object is a Java language array, returns the value at the given index. The index is specified by the property argument, and coerced into an integer. If the coercion could not be performed, an IllegalArgumentException is thrown. If the index is out of bounds, null is returned. If the base is a Java language array, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value.</description>
<package>jakarta.el</package>
<class-interface>ArrayELResolver</class-interface>
<method name="getValue" return-type="java.lang.Object">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>7</id>
<description>If the base object is a Java language array, returns whether a call to #setValue will always fail. If the base is a Java language array, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. If this resolver was constructed in read-only mode, this method will always return true. Otherwise, it returns false.</description>
<package>jakarta.el</package>
<class-interface>ArrayELResolver</class-interface>
<method name="isReadOnly" return-type="boolean">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>8</id>
<description>If the base object is a Java language array, attempts to set the value at the given index with the given value. The index is specified by the property argument, and coerced into an integer. If the coercion could not be performed, an IllegalArgumentException is thrown. If the index is out of bounds, a PropertyNotFoundException is thrown. If the base is a Java language array, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value was set. If this resolver was constructed in read-only mode, this method will always throw PropertyNotWritableException.</description>
<package>jakarta.el</package>
<class-interface>ArrayELResolver</class-interface>
<method name="setValue" return-type="void">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>9</id>
<description>Creates a new read/write BeanELResolver.</description>
<package>jakarta.el</package>
<class-interface>BeanELResolver</class-interface>
<method name="BeanELResolver" return-type="BeanELResolver" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>10</id>
<description>Creates a new BeanELResolver whose read-only status is determined by the given parameter.</description>
<package>jakarta.el</package>
<class-interface>BeanELResolver</class-interface>
<method name="BeanELResolver" return-type="BeanELResolver">
<parameters>
<parameter>boolean</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>11</id>
<description>If the base object is not null, returns the most general type that this resolver accepts for the property argument. Otherwise, returns null. Assuming the base is not null, this method will always return Object.class. This is because any object is accepted as a key and is coerced into a string.</description>
<package>jakarta.el</package>
<class-interface>BeanELResolver</class-interface>
<method name="getCommonPropertyType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>12</id>
<description>If the base object is not null, returns an Iterator containing the set of JavaBeans properties available on the given object. Otherwise, returns null. The Iterator returned must contain zero or more instances of java.beans.FeatureDescriptor. Each info object contains information about a property in the bean, as obtained by calling the BeanInfo.getPropertyDescriptors method. The FeatureDescriptor is initialized using the same fields as are present in the PropertyDescriptor, with the additional required named attributes "type" and "resolvableAtDesignTime" set as follows: ELResolver#TYPE - The runtime type of the property, from PropertyDescriptor.getPropertyType(). ELResolver#RESOLVABLE_AT_DESIGN_TIME - true.</description>
<package>jakarta.el</package>
<class-interface>BeanELResolver</class-interface>
<method name="getFeatureDescriptors" return-type="java.util.Iterator">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>13</id>
<description>If the base object is not null, returns the most general acceptable type that can be set on this bean property. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. The provided property will first be coerced to a String. If there is a BeanInfoProperty for this property and there were no errors retrieving it, the propertyType of the propertyDescriptor is returned. Otherwise, a PropertyNotFoundException is thrown.</description>
<package>jakarta.el</package>
<class-interface>BeanELResolver</class-interface>
<method name="getType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>14</id>
<description>If the base object is not null, returns the current value of the given property on this bean. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. The provided property name will first be coerced to a String. If the property is a readable property of the base object, as per the JavaBeans specification, then return the result of the getter call. If the getter throws an exception, it is propagated to the caller. If the property is not found or is not readable, a PropertyNotFoundException is thrown.</description>
<package>jakarta.el</package>
<class-interface>BeanELResolver</class-interface>
<method name="getValue" return-type="java.lang.Object">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>15</id>
<description>If the base object is not null, returns whether a call to #setValue will always fail. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value was set. If this resolver was constructed in read-only mode, this method will always return true. The provided property name will first be coerced to a String. If property is a writable property of base, false is returned. If the property is found but is not writable, true is returned. If the property is not found, a PropertyNotFoundException is thrown.</description>
<package>jakarta.el</package>
<class-interface>BeanELResolver</class-interface>
<method name="isReadOnly" return-type="boolean">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>16</id>
<description>If the base object is not null, attempts to set the value of the given property on this bean. If the base is not null, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value was set. If this resolver was constructed in read-only mode, this method will always throw PropertyNotWritableException. The provided property name will first be coerced to a String. If property is a writable property of base (as per the JavaBeans Specification), the setter method is called (passing value). If the property exists but does not have a setter, then a PropertyNotFoundException is thrown. If the property does not exist, a PropertyNotFoundException is thrown.</description>
<package>jakarta.el</package>
<class-interface>BeanELResolver</class-interface>
<method name="setValue" return-type="void">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>24</id>
<description>Adds the given resolver to the list of component resolvers. Resolvers are consulted in the order in which they are added.</description>
<package>jakarta.el</package>
<class-interface>CompositeELResolver</class-interface>
<method name="add" return-type="void">
<parameters>
<parameter>jakarta.el.ELResolver</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>25</id>
<description />
<package>jakarta.el</package>
<class-interface>CompositeELResolver</class-interface>
<method name="CompositeELResolver" return-type="CompositeELResolver" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>26</id>
<description>Returns the most general type that this resolver accepts for the property argument, given a base object. One use for this method is to assist tools in auto-completion. The result is obtained by querying all component resolvers. The Class returned is the most specific class that is a common superclass of all the classes returned by each component resolver's getCommonPropertyType method. If null is returned by a resolver, it is skipped.</description>
<package>jakarta.el</package>
<class-interface>CompositeELResolver</class-interface>
<method name="getCommonPropertyType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>27</id>
<description>Returns information about the set of variables or properties that can be resolved for the given base object. One use for this method is to assist tools in auto-completion. The results are collected from all component resolvers. The propertyResolved property of the ELContext is not relevant to this method. The results of all ELResolvers are concatenated. The Iterator returned is an iterator over the collection of FeatureDescriptor objects returned by the iterators returned by each component resolver's getFeatureDescriptors method. If null is returned by a resolver, it is skipped.</description>
<package>jakarta.el</package>
<class-interface>CompositeELResolver</class-interface>
<method name="getFeatureDescriptors" return-type="java.util.Iterator">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>28</id>
<description>For a given base and property, attempts to identify the most general type that is acceptable for an object to be passed as the value parameter in a future call to the #setValue method. The result is obtained by querying all component resolvers. If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. First, propertyResolved is set to false on the provided ELContext. Next, for each component resolver in this composite: The getType() method is called, passing in the provided context, base and property. If the ELContext's propertyResolved flag is false then iteration continues. Otherwise, iteration stops and no more component resolvers are considered. The value returned by getType() is returned by this method. If none of the component resolvers were able to perform this operation, the value null is returned and the propertyResolved flag remains set to false. Any exception thrown by component resolvers during the iteration is propagated to the caller of this method.</description>
<package>jakarta.el</package>
<class-interface>CompositeELResolver</class-interface>
<method name="getType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>29</id>
<description>Attempts to resolve the given property object on the given base object by querying all component resolvers. If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. First, propertyResolved is set to false on the provided ELContext. Next, for each component resolver in this composite: The getValue() method is called, passing in the provided context, base and property. If the ELContext's propertyResolved flag is false then iteration continues. Otherwise, iteration stops and no more component resolvers are considered. The value returned by getValue() is returned by this method. If none of the component resolvers were able to perform this operation, the value null is returned and the propertyResolved flag remains set to false. Any exception thrown by component resolvers during the iteration is propagated to the caller of this method.</description>
<package>jakarta.el</package>
<class-interface>CompositeELResolver</class-interface>
<method name="getValue" return-type="java.lang.Object">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>30</id>
<description>For a given base and property, attempts to determine whether a call to #setValue will always fail. The result is obtained by querying all component resolvers. If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. First, propertyResolved is set to false on the provided ELContext. Next, for each component resolver in this composite: The isReadOnly() method is called, passing in the provided context, base and property. If the ELContext's propertyResolved flag is false then iteration continues. Otherwise, iteration stops and no more component resolvers are considered. The value returned by isReadOnly() is returned by this method. If none of the component resolvers were able to perform this operation, the value false is returned and the propertyResolved flag remains set to false. Any exception thrown by component resolvers during the iteration is propagated to the caller of this method.</description>
<package>jakarta.el</package>
<class-interface>CompositeELResolver</class-interface>
<method name="isReadOnly" return-type="boolean">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>31</id>
<description>Attempts to set the value of the given property object on the given base object. All component resolvers are asked to attempt to set the value. If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value has been set. First, propertyResolved is set to false on the provided ELContext. Next, for each component resolver in this composite: The setValue() method is called, passing in the provided context, base, property and value. If the ELContext's propertyResolved flag is false then iteration continues. Otherwise, iteration stops and no more component resolvers are considered. If none of the component resolvers were able to perform this operation, the propertyResolved flag remains set to false. Any exception thrown by component resolvers during the iteration is propagated to the caller of this method.</description>
<package>jakarta.el</package>
<class-interface>CompositeELResolver</class-interface>
<method name="setValue" return-type="void">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>32</id>
<description />
<package>jakarta.el</package>
<class-interface>ELContext</class-interface>
<method name="ELContext" return-type="ELContext" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>33</id>
<description>Returns the context object associated with the given key. The ELContext maintains a collection of context objects relevant to the evaluation of an expression. These context objects are used by ELResolvers. This method is used to retrieve the context with the given key from the collection. By convention, the object returned will be of the type specified by the key. However, this is not required and the key is used strictly as a unique identifier.</description>
<package>jakarta.el</package>
<class-interface>ELContext</class-interface>
<method name="getContext" return-type="java.lang.Object">
<parameters>
<parameter>java.lang.Class</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>34</id>
<description>Retrieves the ELResolver associated with this context. The ELContext maintains a reference to the ELResolver that will be consulted to resolve variables and properties during an expression evaluation. This method retrieves the reference to the resolver. Once an ELContext is constructed, the reference to the ELResolver associated with the context cannot be changed.</description>
<package>jakarta.el</package>
<class-interface>ELContext</class-interface>
<method name="getELResolver" return-type="jakarta.el.ELResolver" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>35</id>
<description>Retrieves the FunctionMapper associated with this ELContext.</description>
<package>jakarta.el</package>
<class-interface>ELContext</class-interface>
<method name="getFunctionMapper" return-type="jakarta.el.FunctionMapper" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>36</id>
<description>Get the Locale stored by a previous invocation to #setLocale. If this method returns non null, this Locale must be used for all localization needs in the implementation. The Locale must not be cached to allow for applications that change Locale dynamically.</description>
<package>jakarta.el</package>
<class-interface>ELContext</class-interface>
<method name="getLocale" return-type="java.util.Locale" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>37</id>
<description>Retrieves the VariableMapper associated with this ELContext.</description>
<package>jakarta.el</package>
<class-interface>ELContext</class-interface>
<method name="getVariableMapper" return-type="jakarta.el.VariableMapper" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>38</id>
<description>Returns whether an ELResolver has successfully resolved a given (base, property) pair. The CompositeELResolver checks this property to determine whether it should consider or skip other component resolvers.</description>
<package>jakarta.el</package>
<class-interface>ELContext</class-interface>
<method name="isPropertyResolved" return-type="boolean" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>39</id>
<description>Associates a context object with this ELContext. The ELContext maintains a collection of context objects relevant to the evaluation of an expression. These context objects are used by ELResolvers. This method is used to add a context object to that collection. By convention, the contextObject will be of the type specified by the key. However, this is not required and the key is used strictly as a unique identifier.</description>
<package>jakarta.el</package>
<class-interface>ELContext</class-interface>
<method name="putContext" return-type="void">
<parameters>
<parameter>java.lang.Class</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>42</id>
<description>Constructs an ELContextEvent object to indicate that an ELContext has been created.</description>
<package>jakarta.el</package>
<class-interface>ELContextEvent</class-interface>
<method name="ELContextEvent" return-type="ELContextEvent">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>43</id>
<description>Returns the ELContext that was created. This is a type-safe equivalent of the #getSource method.</description>
<package>jakarta.el</package>
<class-interface>ELContextEvent</class-interface>
<method name="getELContext" return-type="jakarta.el.ELContext" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>44</id>
<description>Invoked when a new ELContext has been created.</description>
<package>jakarta.el</package>
<class-interface>ELContextListener</class-interface>
<method name="contextCreated" return-type="void">
<parameters>
<parameter>jakarta.el.ELContextEvent</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>45</id>
<description>Creates an ELException with no detail message.</description>
<package>jakarta.el</package>
<class-interface>ELException</class-interface>
<method name="ELException" return-type="ELException" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>46</id>
<description>Creates an ELException with the provided detail message.</description>
<package>jakarta.el</package>
<class-interface>ELException</class-interface>
<method name="ELException" return-type="ELException">
<parameters>
<parameter>java.lang.String</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>47</id>
<description>Creates an ELException with the given cause.</description>
<package>jakarta.el</package>
<class-interface>ELException</class-interface>
<method name="ELException" return-type="ELException">
<parameters>
<parameter>java.lang.Throwable</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>48</id>
<description>Creates an ELException with the given detail message and root cause.</description>
<package>jakarta.el</package>
<class-interface>ELException</class-interface>
<method name="ELException" return-type="ELException">
<parameters>
<parameter>java.lang.String</parameter>
<parameter>java.lang.Throwable</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>49</id>
<description />
<package>jakarta.el</package>
<class-interface>ELResolver</class-interface>
<method name="ELResolver" return-type="ELResolver" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>50</id>
<description>Returns the most general type that this resolver accepts for the property argument, given a base object. One use for this method is to assist tools in auto-completion. This assists tools in auto-completion and also provides a way to express that the resolver accepts a primitive value, such as an integer index into an array. For example, the ArrayELResolver will accept any int as a property, so the return value would be Integer.class.</description>
<package>jakarta.el</package>
<class-interface>ELResolver</class-interface>
<method name="getCommonPropertyType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>51</id>
<description>Returns information about the set of variables or properties that can be resolved for the given base object. One use for this method is to assist tools in auto-completion. If the base parameter is null, the resolver must enumerate the list of top-level variables it can resolve. The Iterator returned must contain zero or more instances of java.beans.FeatureDescriptor, in no guaranteed order. In the case of primitive types such as int, the value null must be returned. This is to prevent the useless iteration through all possible primitive values. A return value of null indicates that this resolver does not handle the given base object or that the results are too complex to represent with this method and the #getCommonPropertyType method should be used instead. Each FeatureDescriptor will contain information about a single variable or property. In addition to the standard properties, the FeatureDescriptor must have two named attributes (as set by the setValue method): #TYPE - The value of this named attribute must be an instance of java.lang.Class and specify the runtime type of the variable or property. #RESOLVABLE_AT_DESIGN_TIME - The value of this named attribute must be an instance of java.lang.Boolean and indicates whether it is safe to attempt to resolve this property at design-time. For instance, it may be unsafe to attempt a resolution at design time if the ELResolver needs access to a resource that is only available at runtime and no acceptable simulated value can be provided. The caller should be aware that the Iterator returned might iterate through a very large or even infinitely large set of properties. Care should be taken by the caller to not get stuck in an infinite loop. This is a "best-effort" list. Not all ELResolvers will return completely accurate results, but all must be callable at both design-time and runtime (i.e. whether or not Beans.isDesignTime() returns true), without causing errors. The propertyResolved property of the ELContext is not relevant to this method. The results of all ELResolvers are concatenated in the case of composite resolvers.</description>
<package>jakarta.el</package>
<class-interface>ELResolver</class-interface>
<method name="getFeatureDescriptors" return-type="java.util.Iterator">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>52</id>
<description>For a given base and property, attempts to identify the most general type that is acceptable for an object to be passed as the value parameter in a future call to the #setValue method. If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. This is not always the same as getValue().getClass(). For example, in the case of an ArrayELResolver, the getType method will return the element type of the array, which might be a superclass of the type of the actual element that is currently in the specified array element.</description>
<package>jakarta.el</package>
<class-interface>ELResolver</class-interface>
<method name="getType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>53</id>
<description>Attempts to resolve the given property object on the given base object. If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value.</description>
<package>jakarta.el</package>
<class-interface>ELResolver</class-interface>
<method name="getValue" return-type="java.lang.Object">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>54</id>
<description>For a given base and property, attempts to determine whether a call to #setValue will always fail. If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value.</description>
<package>jakarta.el</package>
<class-interface>ELResolver</class-interface>
<method name="isReadOnly" return-type="boolean">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>55</id>
<description>Attempts to set the value of the given property object on the given base object. If this resolver handles the given (base, property) pair, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value has been set.</description>
<package>jakarta.el</package>
<class-interface>ELResolver</class-interface>
<method name="setValue" return-type="void">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>56</id>
<description>Determines whether the specified object is equal to this Expression. The result is true if and only if the argument is not null, is an Expression object that is the of the same type (ValueExpression or MethodExpression), and has an identical parsed representation. Note that two expressions can be equal if their expression Strings are different. For example, ${fn1:foo()} and ${fn2:foo()} are equal if their corresponding FunctionMappers mapped fn1:foo and fn2:foo to the same method.</description>
<package>jakarta.el</package>
<class-interface>Expression</class-interface>
<method name="equals" return-type="boolean">
<parameters>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>57</id>
<description />
<package>jakarta.el</package>
<class-interface>Expression</class-interface>
<method name="Expression" return-type="Expression" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>58</id>
<description>Returns the original String used to create this Expression, unmodified. This is used for debugging purposes but also for the purposes of comparison (e.g. to ensure the expression in a configuration file has not changed). This method does not provide sufficient information to re-create an expression. Two different expressions can have exactly the same expression string but different function mappings. Serialization should be used to save and restore the state of an Expression.</description>
<package>jakarta.el</package>
<class-interface>Expression</class-interface>
<method name="getExpressionString" return-type="java.lang.String" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>59</id>
<description>Returns the hash code for this Expression. See the note in the #equals method on how two expressions can be equal if their expression Strings are different. Recall that if two objects are equal according to the equals(Object) method, then calling the hashCode method on each of the two objects must produce the same integer result. Implementations must take special note and implement hashCode correctly.</description>
<package>jakarta.el</package>
<class-interface>Expression</class-interface>
<method name="hashCode" return-type="int" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>60</id>
<description>Returns whether this expression was created from only literal text. This method must return true if and only if the expression string this expression was created from contained no unescaped EL delimeters (${...} or #{...}).</description>
<package>jakarta.el</package>
<class-interface>Expression</class-interface>
<method name="isLiteralText" return-type="boolean" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>62</id>
<description>Parses an expression into a MethodExpression for later evaluation. Use this method for expressions that refer to methods. If the expression is a String literal, a MethodExpression is created, which when invoked, returns the String literal, coerced to expectedReturnType. An ELException is thrown if expectedReturnType is void or if the coercion of the String literal to the expectedReturnType yields an error (see Section "1.16 Type Conversion"). This method should perform syntactic validation of the expression. If in doing so it detects errors, it should raise an ELException.</description>
<package>jakarta.el</package>
<class-interface>ExpressionFactory</class-interface>
<method name="createMethodExpression" return-type="jakarta.el.MethodExpression">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.String</parameter>
<parameter>java.lang.Class</parameter>
<parameter>java.lang.Class[]</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>63</id>
<description>Parses an expression into a ValueExpression for later evaluation. Use this method for expressions that refer to values. This method should perform syntactic validation of the expression. If in doing so it detects errors, it should raise an ELException.</description>
<package>jakarta.el</package>
<class-interface>ExpressionFactory</class-interface>
<method name="createValueExpression" return-type="jakarta.el.ValueExpression">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.String</parameter>
<parameter>java.lang.Class</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>64</id>
<description>Creates a ValueExpression that wraps an object instance. This method can be used to pass any object as a ValueExpression. The wrapper ValueExpression is read only, and returns the wrapped object via its getValue() method, optionally coerced.</description>
<package>jakarta.el</package>
<class-interface>ExpressionFactory</class-interface>
<method name="createValueExpression" return-type="jakarta.el.ValueExpression">
<parameters>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Class</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>65</id>
<description />
<package>jakarta.el</package>
<class-interface>ExpressionFactory</class-interface>
<method name="ExpressionFactory" return-type="ExpressionFactory" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>66</id>
<description />
<package>jakarta.el</package>
<class-interface>FunctionMapper</class-interface>
<method name="FunctionMapper" return-type="FunctionMapper" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>67</id>
<description>Resolves the specified prefix and local name into a java.lang.Method. Returns null if no function could be found that matches the given prefix and local name.</description>
<package>jakarta.el</package>
<class-interface>FunctionMapper</class-interface>
<method name="resolveFunction" return-type="java.lang.reflect.Method">
<parameters>
<parameter>java.lang.String</parameter>
<parameter>java.lang.String</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>68</id>
<description>If the base object is a list, returns the most general type that this resolver accepts for the property argument. Otherwise, returns null. Assuming the base is a List, this method will always return Integer.class. This is because Lists accept integers as their index.</description>
<package>jakarta.el</package>
<class-interface>ListELResolver</class-interface>
<method name="getCommonPropertyType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>69</id>
<description>Always returns null, since there is no reason to iterate through set set of all integers. The #getCommonPropertyType method returns sufficient information about what properties this resolver accepts.</description>
<package>jakarta.el</package>
<class-interface>ListELResolver</class-interface>
<method name="getFeatureDescriptors" return-type="java.util.Iterator">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>70</id>
<description>If the base object is a list, returns the most general acceptable type for a value in this list. If the base is a List, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. Assuming the base is a List, this method will always return Object.class. This is because Lists accept any object as an element.</description>
<package>jakarta.el</package>
<class-interface>ListELResolver</class-interface>
<method name="getType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>71</id>
<description>If the base object is a list, returns the value at the given index. The index is specified by the property argument, and coerced into an integer. If the coercion could not be performed, an IllegalArgumentException is thrown. If the index is out of bounds, null is returned. If the base is a List, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value.</description>
<package>jakarta.el</package>
<class-interface>ListELResolver</class-interface>
<method name="getValue" return-type="java.lang.Object">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>72</id>
<description>If the base object is a list, returns whether a call to #setValue will always fail. If the base is a List, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. If this resolver was constructed in read-only mode, this method will always return true. If a List was created using java.util.Collections#unmodifiableList, this method must return true. Unfortunately, there is no Collections API method to detect this. However, an implementation can create a prototype unmodifiable List and query its runtime type to see if it matches the runtime type of the base object as a workaround.</description>
<package>jakarta.el</package>
<class-interface>ListELResolver</class-interface>
<method name="isReadOnly" return-type="boolean">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>73</id>
<description>Creates a new read/write ListELResolver.</description>
<package>jakarta.el</package>
<class-interface>ListELResolver</class-interface>
<method name="ListELResolver" return-type="ListELResolver" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>74</id>
<description>Creates a new ListELResolver whose read-only status is determined by the given parameter.</description>
<package>jakarta.el</package>
<class-interface>ListELResolver</class-interface>
<method name="ListELResolver" return-type="ListELResolver">
<parameters>
<parameter>boolean</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>75</id>
<description>If the base object is a list, attempts to set the value at the given index with the given value. The index is specified by the property argument, and coerced into an integer. If the coercion could not be performed, an IllegalArgumentException is thrown. If the index is out of bounds, a PropertyNotFoundException is thrown. If the base is a List, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value was set. If this resolver was constructed in read-only mode, this method will always throw PropertyNotWritableException. If a List was created using java.util.Collections#unmodifiableList, this method must throw PropertyNotWritableException. Unfortunately, there is no Collections API method to detect this. However, an implementation can create a prototype unmodifiable List and query its runtime type to see if it matches the runtime type of the base object as a workaround.</description>
<package>jakarta.el</package>
<class-interface>ListELResolver</class-interface>
<method name="setValue" return-type="void">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>76</id>
<description>If the base object is a map, returns the most general type that this resolver accepts for the property argument. Otherwise, returns null. Assuming the base is a Map, this method will always return Object.class. This is because Maps accept any object as a key.</description>
<package>jakarta.el</package>
<class-interface>MapELResolver</class-interface>
<method name="getCommonPropertyType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>77</id>
<description>If the base object is a map, returns an Iterator containing the set of keys available in the Map. Otherwise, returns null. The Iterator returned must contain zero or more instances of java.beans.FeatureDescriptor. Each info object contains information about a key in the Map, and is initialized as follows: displayName - The return value of calling the toString method on this key, or "null" if the key is null. name - Same as displayName property. shortDescription - Empty string expert - false hidden - false preferred - true In addition, the following named attributes must be set in the returned FeatureDescriptors: ELResolver#TYPE - The return value of calling the getClass() method on this key, or null if the key is null. ELResolver#RESOLVABLE_AT_DESIGN_TIME - true</description>
<package>jakarta.el</package>
<class-interface>MapELResolver</class-interface>
<method name="getFeatureDescriptors" return-type="java.util.Iterator">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>78</id>
<description>If the base object is a map, returns the most general acceptable type for a value in this map. If the base is a Map, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. Assuming the base is a Map, this method will always return Object.class. This is because Maps accept any object as the value for a given key.</description>
<package>jakarta.el</package>
<class-interface>MapELResolver</class-interface>
<method name="getType" return-type="java.lang.Class">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>79</id>
<description>If the base object is a map, returns the value associated with the given key, as specified by the property argument. If the key was not found, null is returned. If the base is a Map, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. Just as in java.util.Map#get, just because null is returned doesn't mean there is no mapping for the key; it's also possible that the Map explicitly maps the key to null.</description>
<package>jakarta.el</package>
<class-interface>MapELResolver</class-interface>
<method name="getValue" return-type="java.lang.Object">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>80</id>
<description>If the base object is a map, returns whether a call to #setValue will always fail. If the base is a Map, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. If this resolver was constructed in read-only mode, this method will always return true. If a Map was created using java.util.Collections#unmodifiableMap, this method must return true. Unfortunately, there is no Collections API method to detect this. However, an implementation can create a prototype unmodifiable Map and query its runtime type to see if it matches the runtime type of the base object as a workaround.</description>
<package>jakarta.el</package>
<class-interface>MapELResolver</class-interface>
<method name="isReadOnly" return-type="boolean">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>81</id>
<description>Creates a new read/write MapELResolver.</description>
<package>jakarta.el</package>
<class-interface>MapELResolver</class-interface>
<method name="MapELResolver" return-type="MapELResolver" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>82</id>
<description>Creates a new MapELResolver whose read-only status is determined by the given parameter.</description>
<package>jakarta.el</package>
<class-interface>MapELResolver</class-interface>
<method name="MapELResolver" return-type="MapELResolver">
<parameters>
<parameter>boolean</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>83</id>
<description>If the base object is a map, attempts to set the value associated with the given key, as specified by the property argument. If the base is a Map, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value was set. If this resolver was constructed in read-only mode, this method will always throw PropertyNotWritableException. If a Map was created using java.util.Collections#unmodifiableMap, this method must throw PropertyNotWritableException. Unfortunately, there is no Collections API method to detect this. However, an implementation can create a prototype unmodifiable Map and query its runtime type to see if it matches the runtime type of the base object as a workaround.</description>
<package>jakarta.el</package>
<class-interface>MapELResolver</class-interface>
<method name="setValue" return-type="void">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
<parameter>java.lang.Object</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>84</id>
<description>Evaluates the expression relative to the provided context, and returns information about the actual referenced method.</description>
<package>jakarta.el</package>
<class-interface>MethodExpression</class-interface>
<method name="getMethodInfo" return-type="jakarta.el.MethodInfo">
<parameters>
<parameter>jakarta.el.ELContext</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>86</id>
<description />
<package>jakarta.el</package>
<class-interface>MethodExpression</class-interface>
<method name="MethodExpression" return-type="MethodExpression" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>87</id>
<description>Returns the name of the method</description>
<package>jakarta.el</package>
<class-interface>MethodInfo</class-interface>
<method name="getName" return-type="java.lang.String" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>88</id>
<description>Returns the parameter types of the method</description>
<package>jakarta.el</package>
<class-interface>MethodInfo</class-interface>
<method name="getParamTypes" return-type="java.lang.Class[]" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="true">
<id>89</id>
<description>Returns the return type of the method</description>
<package>jakarta.el</package>
<class-interface>MethodInfo</class-interface>
<method name="getReturnType" return-type="java.lang.Class" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>90</id>
<description>Creates a new instance of MethodInfo with the given information.</description>
<package>jakarta.el</package>
<class-interface>MethodInfo</class-interface>
<method name="MethodInfo" return-type="MethodInfo">
<parameters>
<parameter>java.lang.String</parameter>
<parameter>java.lang.Class</parameter>
<parameter>java.lang.Class[]</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>91</id>
<description>Creates a MethodNotFoundException with no detail message.</description>
<package>jakarta.el</package>
<class-interface>MethodNotFoundException</class-interface>
<method name="MethodNotFoundException" return-type="MethodNotFoundException" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>92</id>
<description>Creates a MethodNotFoundException with the provided detail message.</description>
<package>jakarta.el</package>
<class-interface>MethodNotFoundException</class-interface>
<method name="MethodNotFoundException" return-type="MethodNotFoundException">
<parameters>
<parameter>java.lang.String</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>93</id>
<description>Creates a MethodNotFoundException with the given root cause.</description>
<package>jakarta.el</package>
<class-interface>MethodNotFoundException</class-interface>
<method name="MethodNotFoundException" return-type="MethodNotFoundException">
<parameters>
<parameter>java.lang.Throwable</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>94</id>
<description>Creates a MethodNotFoundException with the given detail message and root cause.</description>
<package>jakarta.el</package>
<class-interface>MethodNotFoundException</class-interface>
<method name="MethodNotFoundException" return-type="MethodNotFoundException">
<parameters>
<parameter>java.lang.String</parameter>
<parameter>java.lang.Throwable</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>95</id>
<description>Creates a PropertyNotFoundException with no detail message.</description>
<package>jakarta.el</package>
<class-interface>PropertyNotFoundException</class-interface>
<method name="PropertyNotFoundException" return-type="PropertyNotFoundException" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>96</id>
<description>Creates a PropertyNotFoundException with the provided detail message.</description>
<package>jakarta.el</package>
<class-interface>PropertyNotFoundException</class-interface>
<method name="PropertyNotFoundException" return-type="PropertyNotFoundException">
<parameters>
<parameter>java.lang.String</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>97</id>
<description>Creates a PropertyNotFoundException with the given root cause.</description>
<package>jakarta.el</package>
<class-interface>PropertyNotFoundException</class-interface>
<method name="PropertyNotFoundException" return-type="PropertyNotFoundException">
<parameters>
<parameter>java.lang.Throwable</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>98</id>
<description>Creates a PropertyNotFoundException with the given detail message and root cause.</description>
<package>jakarta.el</package>
<class-interface>PropertyNotFoundException</class-interface>
<method name="PropertyNotFoundException" return-type="PropertyNotFoundException">
<parameters>
<parameter>java.lang.String</parameter>
<parameter>java.lang.Throwable</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>99</id>
<description>Creates a PropertyNotWritableException with no detail message.</description>
<package>jakarta.el</package>
<class-interface>PropertyNotWritableException</class-interface>
<method name="PropertyNotWritableException" return-type="PropertyNotWritableException" />
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>100</id>
<description>Creates a PropertyNotWritableException with the provided detail message.</description>
<package>jakarta.el</package>
<class-interface>PropertyNotWritableException</class-interface>
<method name="PropertyNotWritableException" return-type="PropertyNotWritableException">
<parameters>
<parameter>java.lang.String</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>101</id>
<description>Creates a PropertyNotWritableException with the given root cause.</description>
<package>jakarta.el</package>
<class-interface>PropertyNotWritableException</class-interface>
<method name="PropertyNotWritableException" return-type="PropertyNotWritableException">
<parameters>
<parameter>java.lang.Throwable</parameter>
</parameters>
</method>
</assertion>
<assertion required="true" impl-spec="false" status="active" testable="false">
<id>102</id>
<description>Creates a PropertyNotWritableException with the given detail message and root cause.</description>
<package>jakarta.el</package>
<class-interface>PropertyNotWritableException</class-interface>
<method name="PropertyNotWritableException" return-type="PropertyNotWritableException">
<parameters>