source: josm/trunk/tools/japicc/modules/RulesSrc.xml@ 16333

Last change on this file since 16333 was 13595, checked in by Don-vip, 7 years ago

tools update: Groovy 2.4.15, PMD 6.2.0, JAPICC 2.4

File size: 30.6 KB
RevLine 
[11682]1<?xml version="1.0" encoding="utf-8"?>
2<rules version="1.0">
3
4<rule>
5 <id>
6 Method_Became_Static
7 </id>
8 <severity>
9 Low
10 </severity>
11 <kind>
12 Methods
13 </kind>
14 <change>
15 Method became **static**.
16 </change>
17 <effect>
18 A client program may be interrupted by **NoSuchMethodError** exception.
19 </effect>
20</rule>
21
22<rule>
23 <id>
24 Method_Became_NonStatic
25 </id>
26 <severity>
27 High
28 </severity>
29 <kind>
30 Methods
31 </kind>
32 <change>
33 Method became non-static.
34 </change>
35 <effect>
36 Recompilation of a client program may be terminated with the message: non-static method @method_short cannot be referenced from a static context.
37 </effect>
38</rule>
39
40<rule>
41 <id>
[12872]42 Changed_Method_Return
43 </id>
44 <severity>
45 Medium
46 </severity>
47 <kind>
48 Methods
49 </kind>
50 <change>
51 Return value type has been changed from @old_value to @new_value.
52 </change>
53 <effect>
54 Recompilation of a client program may be terminated with the message: incompatible types: @new_value cannot be converted to @old_value.
55 </effect>
56</rule>
57
58<rule>
59 <id>
[11682]60 Static_Method_Became_Final
61 </id>
62 <severity>
63 Medium
64 </severity>
65 <kind>
66 Methods
67 </kind>
68 <change>
69 Method became final.
70 </change>
71 <effect>
72 Recompilation of a client program may be terminated with the message: @method_short in client class C cannot override @method_short in @class; overridden method is final.
73 </effect>
74</rule>
75
76<rule>
77 <id>
78 NonStatic_Method_Became_Final
79 </id>
80 <severity>
81 Medium
82 </severity>
83 <kind>
84 Methods
85 </kind>
86 <change>
87 Method became final.
88 </change>
89 <effect>
90 Recompilation of a client program may be terminated with the message: @method_short in client class C cannot override @method_short in @class; overridden method is final.
91 </effect>
92</rule>
93
94<rule>
95 <id>
96 Method_Became_Abstract
97 </id>
98 <severity>
99 High
100 </severity>
101 <kind>
102 Methods
103 </kind>
104 <change>
105 Method became abstract.
106 </change>
107 <effect>
108 Recompilation of a client program may be terminated with the message: A client class C is not abstract and does not override abstract method @method_short in @class.
109 </effect>
110</rule>
111
112<rule>
113 <id>
114 Method_Became_NonAbstract
115 </id>
116 <severity>
117 Safe
118 </severity>
119 <kind>
120 Methods
121 </kind>
122 <change>
123 Method became non-abstract.
124 </change>
125 <effect>
126 No effect.
127 </effect>
128</rule>
129
130<rule>
131 <id>
132 Method_Became_Default
133 </id>
134 <severity>
135 Safe
136 </severity>
137 <kind>
138 Methods
139 </kind>
140 <change>
141 Method became default.
142 </change>
143 <effect>
144 No effect.
145 </effect>
146</rule>
147
148<rule>
149 <id>
150 Method_Became_NonDefault
151 </id>
152 <severity>
153 High
154 </severity>
155 <kind>
156 Methods
157 </kind>
158 <change>
159 Method became non-default.
160 </change>
161 <effect>
162 Recompilation of a client program may be terminated with the message: A client class C is not abstract and does not override abstract method @method_short in @class.
163 </effect>
164</rule>
165
166<rule>
167 <id>
168 Changed_Method_Access
169 </id>
170 <severity>
171 High
172 </severity>
173 <kind>
174 Methods
175 </kind>
176 <change>
177 Access level has been changed from @old_value to @new_value.
178 </change>
179 <effect>
180 Recompilation of a client program may be terminated with the message: @method_short has @new_value access in @class.
181 </effect>
182</rule>
183
184<rule>
185 <id>
186 Abstract_Method_Added_Checked_Exception
187 </id>
188 <severity>
189 Medium
190 </severity>
191 <kind>
192 Methods
193 </kind>
194 <change>
195 Added @target exception thrown.
196 </change>
197 <effect>
198 Recompilation of a client program may be terminated with the message: unreported exception @target must be caught or declared to be thrown.
199 </effect>
200</rule>
201
202<rule>
203 <id>
204 NonAbstract_Method_Added_Checked_Exception
205 </id>
206 <severity>
207 Medium
208 </severity>
209 <kind>
210 Methods
211 </kind>
212 <change>
213 Added @target exception thrown.
214 </change>
215 <effect>
216 Recompilation of a client program may be terminated with the message: unreported exception @target must be caught or declared to be thrown.
217 </effect>
218</rule>
219
220<rule>
221 <id>
222 Abstract_Method_Removed_Checked_Exception
223 </id>
224 <severity>
225 Medium
226 </severity>
227 <kind>
228 Methods
229 </kind>
230 <change>
231 Removed @target exception thrown.
232 </change>
233 <effect>
234 Recompilation of a client program may be terminated with the message: cannot override @method_short in @class; overridden method does not throw @target.
235 </effect>
236</rule>
237
238<rule>
239 <id>
240 NonAbstract_Method_Removed_Checked_Exception
241 </id>
242 <severity>
243 Medium
244 </severity>
245 <kind>
246 Methods
247 </kind>
248 <change>
249 Removed @target exception thrown.
250 </change>
251 <effect>
252 Recompilation of a client program may be terminated with the message: cannot override @method_short in @class; overridden method does not throw @target.
253 </effect>
254</rule>
255
256<rule>
257 <id>
258 Added_Method
259 </id>
260 <severity>
261 Safe
262 </severity>
263 <kind>
264 Methods
265 </kind>
266</rule>
267
268<rule>
269 <id>
270 Removed_Method
271 </id>
272 <severity>
273 High
274 </severity>
275 <kind>
276 Methods
277 </kind>
278</rule>
279
280<rule>
281 <id>
[12872]282 Variable_Arity_To_Array
283 </id>
284 <severity>
285 Medium
286 </severity>
287 <kind>
288 Methods
289 </kind>
290 <change>
291 Type of parameter @param_name has been changed from @old_value to @new_value.
292 </change>
293 <effect>
294 Recompilation of a client program may be terminated with the message: method @method_short in class @type_name cannot be applied to given types.
295 </effect>
296</rule>
297
298<rule>
299 <id>
300 Array_To_Variable_Arity
301 </id>
302 <severity>
303 Safe
304 </severity>
305 <kind>
306 Methods
307 </kind>
308 <change>
309 Type of parameter @param_name has been changed from @old_value to @new_value.
310 </change>
311 <effect>
312 No effect.
313 </effect>
314</rule>
315
316<rule>
317 <id>
[11682]318 NonAbstract_Class_Added_Abstract_Method
319 </id>
320 <severity>
321 High
322 </severity>
323 <kind>
324 Types
325 </kind>
326 <change>
327 Abstract method @target has been added to this @type_type.
328 </change>
329 <effect>
330 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method @method_short in @class.
331 </effect>
332</rule>
333
334<rule>
335 <id>
336 Abstract_Class_Added_Abstract_Method
337 </id>
338 <severity>
339 High
340 </severity>
341 <kind>
342 Types
343 </kind>
344 <change>
345 Abstract method @target has been added to this @type_type.
346 </change>
347 <effect>
348 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method @method_short in @class.
349 </effect>
350</rule>
351
352<rule>
353 <id>
354 Abstract_Class_Added_Abstract_Method_Invoked_By_Others
355 </id>
356 <severity>
357 High
358 </severity>
359 <kind>
360 Types
361 </kind>
362 <change>
363 Abstract method @target has been added to this @type_type.
364 </change>
365 <effect>
366 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method @method_short in @class.
367 </effect>
368</rule>
369
370<rule>
371 <id>
372 Class_Removed_Abstract_Method
373 </id>
374 <severity>
375 High
376 </severity>
377 <kind>
378 Types
379 </kind>
380 <change>
381 Abstract method @target has been removed from this @type_type.
382 </change>
383 <effect>
384 Recompilation of a client program may be terminated with the message: cannot find method @method_short in @type_type @class.
385 </effect>
386</rule>
387
388<rule>
389 <id>
390 Interface_Removed_Abstract_Method
391 </id>
392 <severity>
393 High
394 </severity>
395 <kind>
396 Types
397 </kind>
398 <change>
399 Abstract method @target has been removed from this @type_type.
400 </change>
401 <effect>
402 Recompilation of a client program may be terminated with the message: cannot find method @method_short in @type_type @class.
403 </effect>
404</rule>
405
406<rule>
407 <id>
408 Interface_Added_Abstract_Method
409 </id>
410 <severity>
411 High
412 </severity>
413 <kind>
414 Types
415 </kind>
416 <change>
417 Abstract method @target has been added to this @type_type.
418 </change>
419 <effect>
420 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method @method_short in @class.
421 </effect>
422</rule>
423
424<rule>
425 <id>
426 Interface_Added_Abstract_Method_Invoked_By_Others
427 </id>
428 <severity>
429 High
430 </severity>
431 <kind>
432 Types
433 </kind>
434 <change>
435 Abstract method @target has been added to this @type_type.
436 </change>
437 <effect>
438 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method @method_short in @class.
439 </effect>
440</rule>
441
442<rule>
443 <id>
[13595]444 NonImpl_Interface_Added_Abstract_Method
445 </id>
446 <severity>
447 Safe
448 </severity>
449 <kind>
450 Types
451 </kind>
452 <change>
453 Abstract method @target has been added to this interface.
454 </change>
455 <effect>
456 No effect. This interface is not meant to be implemented by users.
457 </effect>
458</rule>
459
460<rule>
461 <id>
[11682]462 Class_Method_Became_Abstract
463 </id>
464 <severity>
465 High
466 </severity>
467 <kind>
468 Types
469 </kind>
470 <change>
471 Method @target became abstract.
472 </change>
473 <effect>
474 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method @method_short in @class.
475 </effect>
476</rule>
477
478<rule>
479 <id>
480 Class_Method_Became_NonAbstract
481 </id>
482 <severity>
483 Safe
484 </severity>
485 <kind>
486 Types
487 </kind>
488 <change>
489 Abstract method @target became non-abstract.
490 </change>
491 <effect>
492 No effect.
493 </effect>
494</rule>
495
496<rule>
497 <id>
498 Interface_Method_Became_NonDefault
499 </id>
500 <severity>
501 High
502 </severity>
503 <kind>
504 Types
505 </kind>
506 <change>
507 Method @target became non-default.
508 </change>
509 <effect>
510 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method @method_short in @class.
511 </effect>
512</rule>
513
514<rule>
515 <id>
516 Interface_Method_Became_Default
517 </id>
518 <severity>
519 Safe
520 </severity>
521 <kind>
522 Types
523 </kind>
524 <change>
525 Method @target became default.
526 </change>
527 <effect>
528 No effect.
529 </effect>
530</rule>
531
532<rule>
533 <id>
534 Abstract_Class_Added_Super_Interface
535 </id>
536 <severity>
537 High
538 </severity>
539 <kind>
540 Types
541 </kind>
542 <change>
543 Added super-interface @target.
544 </change>
545 <effect>
546 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method in @target.
547 </effect>
548</rule>
549
550<rule>
551 <id>
552 Abstract_Class_Added_Super_Interface_Invoked_By_Others
553 </id>
554 <severity>
555 High
556 </severity>
557 <kind>
558 Types
559 </kind>
560 <change>
561 Added super-interface @target.
562 </change>
563 <effect>
564 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method in @target.
565 </effect>
566</rule>
567
568<rule>
569 <id>
570 Abstract_Class_Added_Super_Interface_With_Implemented_Methods
571 </id>
572 <severity>
573 Safe
574 </severity>
575 <kind>
576 Types
577 </kind>
578 <change>
579 Added super-interface @target.
580 </change>
581 <effect>
582 No effect.
583 </effect>
584</rule>
585
586<rule>
587 <id>
588 Interface_Added_Super_Interface
589 </id>
590 <severity>
591 High
592 </severity>
593 <kind>
594 Types
595 </kind>
596 <change>
597 Added super-interface @target.
598 </change>
599 <effect>
600 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method in @target.
601 </effect>
602</rule>
603
604<rule>
605 <id>
606 Interface_Added_Super_Interface_Used_By_Others
607 </id>
608 <severity>
609 High
610 </severity>
611 <kind>
612 Types
613 </kind>
614 <change>
615 Added super-interface @target.
616 </change>
617 <effect>
618 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method in @target.
619 </effect>
620</rule>
621
622<rule>
623 <id>
624 Interface_Added_Super_Interface_With_Implemented_Methods
625 </id>
626 <severity>
627 Safe
628 </severity>
629 <kind>
630 Types
631 </kind>
632 <change>
633 Added super-interface @target.
634 </change>
635 <effect>
636 No effect.
637 </effect>
638</rule>
639
640<rule>
641 <id>
642 Interface_Added_Super_Constant_Interface
643 </id>
644 <severity>
645 Low
646 </severity>
647 <kind>
648 Types
649 </kind>
650 <change>
651 Added super-interface @target containing constants only.
652 </change>
653 <effect>
654 A static field from a super-interface of a client class may hide a field (with the same name) inherited from a super-class. Recompilation of a client class may be terminated with the message: reference to variable is ambiguous.
655 </effect>
656</rule>
657
658<rule>
659 <id>
660 Interface_Removed_Super_Interface
661 </id>
662 <severity>
663 High
664 </severity>
665 <kind>
666 Types
667 </kind>
668 <change>
669 Removed super-interface @target.
670 </change>
671 <effect>
672 Recompilation of a client program may be terminated with the message: cannot find method in @type_type @type_name.
673 </effect>
674</rule>
675
676<rule>
677 <id>
678 Class_Removed_Super_Interface
679 </id>
680 <severity>
681 High
682 </severity>
683 <kind>
684 Types
685 </kind>
686 <change>
687 Removed super-interface @target.
688 </change>
689 <effect>
690 Recompilation of a client program may be terminated with the message: cannot find method in @type_type @type_name.
691 </effect>
692</rule>
693
694<rule>
695 <id>
696 Interface_Removed_Super_Constant_Interface
697 </id>
698 <severity>
699 High
700 </severity>
701 <kind>
702 Types
703 </kind>
704 <change>
705 Removed super-interface @target containing constants only.
706 </change>
707 <effect>
708 Recompilation of a client program may be terminated with the message: cannot find variable in interface @type_name.
709 </effect>
710</rule>
711
712<rule>
713 <id>
714 Added_Super_Class
715 </id>
716 <severity>
717 Low
718 </severity>
719 <kind>
720 Types
721 </kind>
722 <change>
723 Added super-class @target.
724 </change>
725 <effect>
726 A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class. Recompilation of a client class may be terminated with the message: reference to variable is ambiguous.
727 </effect>
728</rule>
729
730<rule>
731 <id>
732 Abstract_Class_Added_Super_Abstract_Class
733 </id>
734 <severity>
735 High
736 </severity>
737 <kind>
738 Types
739 </kind>
740 <change>
741 Added abstract super-class @target.
742 </change>
743 <effect>
744 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method in @target.
745 </effect>
746</rule>
747
748<rule>
749 <id>
750 Abstract_Class_Added_Super_Abstract_Class_Invoked_By_Others
751 </id>
752 <severity>
753 High
754 </severity>
755 <kind>
756 Types
757 </kind>
758 <change>
759 Added abstract super-class @target.
760 </change>
761 <effect>
762 Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method in @target.
763 </effect>
764</rule>
765
766<rule>
767 <id>
768 Removed_Super_Class
769 </id>
770 <severity>
771 Medium
772 </severity>
773 <kind>
774 Types
775 </kind>
776 <change>
777 Removed super-class @target.
778 </change>
779 <effect>
780 Recompilation of a client program may be terminated with the message: cannot find variable (or method) in @type_name.
781 </effect>
782</rule>
783
784<rule>
785 <id>
786 Changed_Super_Class
787 </id>
788 <severity>
[12872]789 Low
[11682]790 </severity>
791 <kind>
792 Types
793 </kind>
794 <change>
795 Superclass has been changed from @old_value to @new_value.
796 </change>
797 <effect>
798 1) Recompilation of a client program may be terminated with the message: cannot find variable (or method) in @type_name.
799 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class. Recompilation of a client class may be terminated with the message: reference to variable is ambiguous.
800 </effect>
801</rule>
802
803<rule>
804 <id>
805 Class_Added_Field
806 </id>
807 <severity>
808 Safe
809 </severity>
810 <kind>
811 Fields
812 </kind>
813 <change>
814 Field @target has been added to this class.
815 </change>
816 <effect>
817 No effect.
818 </effect>
819</rule>
820
821<rule>
822 <id>
823 Class_Added_Field_Non_Safe
824 </id>
825 <severity>
826 Low
827 </severity>
828 <kind>
829 Fields
830 </kind>
831 <change>
832 Field @target has been added to this class.
833 </change>
834 <effect>
835 NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class. Recompilation of a client class may be terminated with the message: reference to @target is ambiguous.
836 </effect>
837</rule>
838
839<rule>
840 <id>
841 Interface_Added_Field
842 </id>
843 <severity>
844 Safe
845 </severity>
846 <kind>
847 Fields
848 </kind>
849 <change>
850 Field @target has been added to this interface.
851 </change>
852 <effect>
853 No effect.
854 </effect>
855</rule>
856
857<rule>
858 <id>
859 Interface_Added_Field_Non_Safe
860 </id>
861 <severity>
862 Low
863 </severity>
864 <kind>
865 Fields
866 </kind>
867 <change>
868 Field @target has been added to this interface.
869 </change>
870 <effect>
871 NOTE: An added static field from a super-interface of a client class may hide a field (with the same name) inherited from the super-class of a client class. Recompilation of a client class may be terminated with the message: reference to @target is ambiguous.
872 </effect>
873</rule>
874
875<rule>
876 <id>
877 Renamed_Field
878 </id>
879 <severity>
880 High
881 </severity>
882 <kind>
883 Fields
884 </kind>
885 <change>
886 Field @target has been renamed to @new_value.
887 </change>
888 <effect>
889 Recompilation of a client program may be terminated with the message: cannot find variable @target in @type_name.
890 </effect>
891</rule>
892
893<rule>
894 <id>
895 Renamed_Constant_Field
896 </id>
897 <severity>
898 High
899 </severity>
900 <kind>
901 Fields
902 </kind>
903 <change>
904 Field @target has been renamed to @new_value.
905 </change>
906 <effect>
907 Recompilation of a client program may be terminated with the message: cannot find variable @target in @type_name.
908 </effect>
909</rule>
910
911<rule>
912 <id>
913 Removed_NonConstant_Field
914 </id>
915 <severity>
916 High
917 </severity>
918 <kind>
919 Fields
920 </kind>
921 <change>
922 Field @target of type @field_type has been removed from this @type_type.
923 </change>
924 <effect>
925 Recompilation of a client program may be terminated with the message: cannot find variable @target in @type_name.
926 </effect>
927</rule>
928
929<rule>
930 <id>
931 Removed_Constant_Field
932 </id>
933 <severity>
934 High
935 </severity>
936 <kind>
937 Fields
938 </kind>
939 <change>
940 Field @target of type @field_type with the compile-time constant value @field_value has been removed from this @type_type.
941 </change>
942 <effect>
943 Recompilation of a client program may be terminated with the message: cannot find variable @target in @type_name.
944 </effect>
945</rule>
946
947<rule>
948 <id>
949 Changed_Field_Type
950 </id>
951 <severity>
952 High
953 </severity>
954 <kind>
955 Fields
956 </kind>
957 <change>
958 Type of field @target has been changed from @old_value to @new_value.
959 </change>
960 <effect>
961 Recompilation of a client program may be terminated with the message: incompatible types, found: @old_value, required: @new_value.
962 </effect>
963</rule>
964
965<rule>
966 <id>
967 Changed_Field_Access
968 </id>
969 <severity>
970 High
971 </severity>
972 <kind>
973 Fields
974 </kind>
975 <change>
976 Access level of field @target has been changed from @old_value to @new_value.
977 </change>
978 <effect>
979 Recompilation of a client program may be terminated with the message: @target has @new_value access in @type_name.
980 </effect>
981</rule>
982
983<rule>
984 <id>
985 Changed_Field_Access_To_Package_Private
986 </id>
987 <severity>
988 High
989 </severity>
990 <kind>
991 Fields
992 </kind>
993 <change>
994 Access level of field @target has been changed from @old_value to @new_value.
995 </change>
996 <effect>
997 Recompilation of a client program may be terminated with the message: @target is not public in @type_name; cannot be accessed from outside package.
998 </effect>
999</rule>
1000
1001<rule>
1002 <id>
1003 Field_Became_Final
1004 </id>
1005 <severity>
1006 Medium
1007 </severity>
1008 <kind>
1009 Fields
1010 </kind>
1011 <change>
1012 Field @target became final.
1013 </change>
1014 <effect>
1015 Recompilation of a client program may be terminated with the message: cannot assign a value to final variable @target.
1016 </effect>
1017</rule>
1018
1019<rule>
1020 <id>
[12872]1021 Field_Became_NonFinal
1022 </id>
1023 <severity>
1024 Safe
1025 </severity>
1026 <kind>
1027 Fields
1028 </kind>
1029 <change>
1030 Field @target became non-final.
1031 </change>
1032 <effect>
1033 No effect.
1034 </effect>
1035</rule>
1036
1037<rule>
1038 <id>
1039 NonConstant_Field_Became_Static
1040 </id>
1041 <severity>
1042 Safe
1043 </severity>
1044 <kind>
1045 Fields
1046 </kind>
1047 <change>
1048 Field @target became static.
1049 </change>
1050 <effect>
1051 No effect.
1052 </effect>
1053</rule>
1054
1055<rule>
1056 <id>
[11682]1057 NonConstant_Field_Became_NonStatic
1058 </id>
1059 <severity>
1060 High
1061 </severity>
1062 <kind>
1063 Fields
1064 </kind>
1065 <change>
1066 Field @target became non-static.
1067 </change>
1068 <effect>
1069 Recompilation of a client program may be terminated with the message: non-static variable @target cannot be referenced from a static context.
1070 </effect>
1071</rule>
1072
1073<rule>
1074 <id>
1075 Constant_Field_Became_NonStatic
1076 </id>
1077 <severity>
1078 High
1079 </severity>
1080 <kind>
1081 Fields
1082 </kind>
1083 <change>
1084 Field @target became non-static.
1085 </change>
1086 <effect>
1087 Recompilation of a client program may be terminated with the message: non-static variable @target cannot be referenced from a static context.
1088 </effect>
1089</rule>
1090
1091<rule>
1092 <id>
1093 Class_Became_Interface
1094 </id>
1095 <severity>
1096 High
1097 </severity>
1098 <kind>
1099 Types
1100 </kind>
1101 <change>
1102 This **class** became **interface**.
1103 </change>
1104 <effect>
1105 Recompilation of a client program may be terminated with the message: @type_name is abstract; cannot be instantiated.
1106 </effect>
1107</rule>
1108
1109<rule>
1110 <id>
1111 Interface_Became_Class
1112 </id>
1113 <severity>
1114 High
1115 </severity>
1116 <kind>
1117 Types
1118 </kind>
1119 <change>
1120 This **interface** became **class**.
1121 </change>
1122 <effect>
1123 Recompilation of a client program may be terminated with the message: interface expected.
1124 </effect>
1125</rule>
1126
1127<rule>
1128 <id>
[12872]1129 Interface_Became_Generic
1130 </id>
1131 <severity>
1132 Safe
1133 </severity>
1134 <kind>
1135 Types
1136 </kind>
1137 <change>
1138 This interface became **generic** (@new_value).
1139 </change>
1140 <effect>
1141 No effect.
1142 </effect>
1143</rule>
1144
1145<rule>
1146 <id>
1147 Interface_Became_Raw
1148 </id>
1149 <severity>
1150 Medium
1151 </severity>
1152 <kind>
1153 Types
1154 </kind>
1155 <change>
1156 This interface became **raw**.
1157 </change>
1158 <effect>
1159 Recompilation of a client program may be terminated with the message: type @new_value does not take parameters.
1160 </effect>
1161</rule>
1162
1163<rule>
1164 <id>
1165 Class_Became_Generic
1166 </id>
1167 <severity>
1168 Safe
1169 </severity>
1170 <kind>
1171 Types
1172 </kind>
1173 <change>
1174 This class became **generic** (@new_value).
1175 </change>
1176 <effect>
1177 No effect.
1178 </effect>
1179</rule>
1180
1181<rule>
1182 <id>
1183 Class_Became_Raw
1184 </id>
1185 <severity>
1186 Medium
1187 </severity>
1188 <kind>
1189 Types
1190 </kind>
1191 <change>
1192 This class became **raw**.
1193 </change>
1194 <effect>
1195 Recompilation of a client program may be terminated with the message: type @new_value does not take parameters.
1196 </effect>
1197</rule>
1198
1199<rule>
1200 <id>
[11682]1201 Class_Became_Final
1202 </id>
1203 <severity>
1204 High
1205 </severity>
1206 <kind>
1207 Types
1208 </kind>
1209 <change>
1210 This class became final.
1211 </change>
1212 <effect>
1213 Recompilation of a client program may be terminated with the message: cannot inherit from final @type_name.
1214 </effect>
1215</rule>
1216
1217<rule>
1218 <id>
1219 Class_Became_Abstract
1220 </id>
1221 <severity>
1222 High
1223 </severity>
1224 <kind>
1225 Types
1226 </kind>
1227 <change>
1228 This class became abstract.
1229 </change>
1230 <effect>
1231 Recompilation of a client program may be terminated with the message: @type_name is abstract; cannot be instantiated.
1232 </effect>
1233</rule>
1234
1235<rule>
1236 <id>
1237 Removed_Class
1238 </id>
1239 <severity>
1240 High
1241 </severity>
1242 <kind>
1243 Types
1244 </kind>
1245 <change>
1246 This class has been removed.
1247 </change>
1248 <effect>
1249 Recompilation of a client program may be terminated with the message: cannot find class @type_name.
1250 </effect>
1251</rule>
1252
1253<rule>
1254 <id>
1255 Removed_Interface
1256 </id>
1257 <severity>
1258 High
1259 </severity>
1260 <kind>
1261 Types
1262 </kind>
1263 <change>
1264 This interface has been removed.
1265 </change>
1266 <effect>
1267 Recompilation of a client program may be terminated with the message: cannot find class @type_name.
1268 </effect>
1269</rule>
1270
1271<rule>
1272 <id>
1273 Removed_Annotation
1274 </id>
1275 <severity>
1276 High
1277 </severity>
1278 <kind>
1279 Types
1280 </kind>
1281 <change>
1282 This annotation type has been removed.
1283 </change>
1284 <effect>
1285 Recompilation of a client program may be terminated with the error message: cannot find symbol **@**@type_name.
1286 </effect>
1287</rule>
1288
[13595]1289<rule>
1290 <id>
1291 Added_Annotation_Default_Element
1292 </id>
1293 <severity>
1294 Safe
1295 </severity>
1296 <kind>
1297 Types
1298 </kind>
1299 <change>
1300 Element @target of type @elem_type with default value @new_value has been added to this annotation type.
1301 </change>
1302 <effect>
1303 No effect.
1304 </effect>
1305</rule>
1306
1307<rule>
1308 <id>
1309 Added_Annotation_NonDefault_Element
1310 </id>
1311 <severity>
1312 High
1313 </severity>
1314 <kind>
1315 Types
1316 </kind>
1317 <change>
1318 Element @target of type @elem_type without a default value has been added to this annotation type.
1319 </change>
1320 <effect>
1321 Recompilation of a client program may be terminated with the error message: annotation **@**@type_name is missing a default value for the element '@target'
1322 </effect>
1323</rule>
1324
1325<rule>
1326 <id>
1327 Removed_Annotation_Default_Element
1328 </id>
1329 <severity>
1330 Medium
1331 </severity>
1332 <kind>
1333 Types
1334 </kind>
1335 <change>
1336 Element @target of type @elem_type with default value @old_value has been removed from this annotation type.
1337 </change>
1338 <effect>
1339 Recompilation of a client program may be terminated with the error message: cannot find symbol **@**@type_name(@target=VAL)
1340 </effect>
1341</rule>
1342
1343<rule>
1344 <id>
1345 Removed_Annotation_NonDefault_Element
1346 </id>
1347 <severity>
1348 High
1349 </severity>
1350 <kind>
1351 Types
1352 </kind>
1353 <change>
1354 Element @target of type @elem_type without a default value has been removed from this annotation type.
1355 </change>
1356 <effect>
1357 Recompilation of a client program may be terminated with the error message: cannot find symbol **@**@type_name(@target=VAL)
1358 </effect>
1359</rule>
1360
1361<rule>
1362 <id>
1363 Annotation_Element_Changed_Default_Value
1364 </id>
1365 <severity>
1366 Safe
1367 </severity>
1368 <kind>
1369 Types
1370 </kind>
1371 <change>
1372 Changed default value of the element @target from @old_value to @new_value in this annotation type.
1373 </change>
1374 <effect>
1375 No effect.
1376 </effect>
1377</rule>
1378
1379<rule>
1380 <id>
1381 Annotation_Element_Removed_Default_Value
1382 </id>
1383 <severity>
1384 Medium
1385 </severity>
1386 <kind>
1387 Types
1388 </kind>
1389 <change>
1390 Removed default value @old_value from the element @target of this annotation type.
1391 </change>
1392 <effect>
1393 Recompilation of a client program may be terminated with the error message: annotation **@**@type_name is missing a default value for the element '@target'
1394 </effect>
1395</rule>
1396
1397<rule>
1398 <id>
1399 Annotation_Element_Added_Default_Value
1400 </id>
1401 <severity>
1402 Safe
1403 </severity>
1404 <kind>
1405 Types
1406 </kind>
1407 <change>
1408 Added default value @new_value for the element @target of this annotation type.
1409 </change>
1410 <effect>
1411 No effect.
1412 </effect>
1413</rule>
1414
1415<rule>
1416 <id>
1417 Annotation_Element_Changed_Type
1418 </id>
1419 <severity>
1420 Medium
1421 </severity>
1422 <kind>
1423 Types
1424 </kind>
1425 <change>
1426 Changed type of the element @target from @old_value to @new_value in this annotation type.
1427 </change>
1428 <effect>
1429 Recompilation of a client program may be terminated with the error message: incompatible types: @old_value cannot be converted to @new_value or annotation value not of an allowable type
1430 </effect>
1431</rule>
1432
1433<rule>
1434 <id>
1435 Annotation_Element_Changed_Type_Safe
1436 </id>
1437 <severity>
1438 Safe
1439 </severity>
1440 <kind>
1441 Types
1442 </kind>
1443 <change>
1444 Changed type of the element @target from @old_value to @new_value in this annotation type.
1445 </change>
1446 <effect>
1447 No effect.
1448 </effect>
1449</rule>
1450
[11682]1451</rules>
Note: See TracBrowser for help on using the repository browser.