Commit 9b5b259
committed
Remove
The LSP4J project does not use standard Deprecated annotation when
implementing LSP/DAP specification as it leads to unresolvable
deprecation warnings. The standard Deprecated annotation should
be used in LSP4J for LSP4J's own API that is not directly
implementing the protocol specification.
This commit introduces `@ProtocolDeprecated` as an annotation
to make it easier for API consumers to identify areas that the
underlying LSP/DAP have deprecated.
Fixes #895@Deprecated from members that are deprecated in protocol1 parent 8b4a248 commit 9b5b259
File tree
5 files changed
+85
-46
lines changed- org.eclipse.lsp4j.debug/src/main/java/org/eclipse/lsp4j/debug
- org.eclipse.lsp4j.jsonrpc/src/main/java/org/eclipse/lsp4j/jsonrpc
- org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j
- services
5 files changed
+85
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
1154 | 1155 | | |
1155 | 1156 | | |
1156 | 1157 | | |
1157 | | - | |
1158 | | - | |
| 1158 | + | |
| 1159 | + | |
1159 | 1160 | | |
1160 | | - | |
| 1161 | + | |
1161 | 1162 | | |
1162 | 1163 | | |
1163 | 1164 | | |
| |||
3746 | 3747 | | |
3747 | 3748 | | |
3748 | 3749 | | |
3749 | | - | |
3750 | | - | |
| 3750 | + | |
| 3751 | + | |
3751 | 3752 | | |
3752 | | - | |
| 3753 | + | |
3753 | 3754 | | |
3754 | 3755 | | |
3755 | 3756 | | |
| |||
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
Lines changed: 36 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
2956 | 2957 | | |
2957 | 2958 | | |
2958 | 2959 | | |
2959 | | - | |
2960 | | - | |
| 2960 | + | |
| 2961 | + | |
2961 | 2962 | | |
2962 | | - | |
| 2963 | + | |
2963 | 2964 | | |
2964 | 2965 | | |
2965 | 2966 | | |
| |||
4505 | 4506 | | |
4506 | 4507 | | |
4507 | 4508 | | |
4508 | | - | |
4509 | | - | |
| 4509 | + | |
| 4510 | + | |
4510 | 4511 | | |
4511 | 4512 | | |
4512 | | - | |
| 4513 | + | |
4513 | 4514 | | |
4514 | 4515 | | |
4515 | 4516 | | |
| |||
4854 | 4855 | | |
4855 | 4856 | | |
4856 | 4857 | | |
4857 | | - | |
4858 | | - | |
| 4858 | + | |
| 4859 | + | |
4859 | 4860 | | |
4860 | 4861 | | |
4861 | | - | |
| 4862 | + | |
4862 | 4863 | | |
4863 | 4864 | | |
4864 | 4865 | | |
| |||
4880 | 4881 | | |
4881 | 4882 | | |
4882 | 4883 | | |
4883 | | - | |
4884 | | - | |
| 4884 | + | |
| 4885 | + | |
4885 | 4886 | | |
4886 | | - | |
| 4887 | + | |
4887 | 4888 | | |
4888 | 4889 | | |
4889 | 4890 | | |
4890 | 4891 | | |
4891 | 4892 | | |
4892 | | - | |
4893 | | - | |
| 4893 | + | |
| 4894 | + | |
4894 | 4895 | | |
4895 | | - | |
| 4896 | + | |
4896 | 4897 | | |
4897 | 4898 | | |
4898 | 4899 | | |
| |||
6601 | 6602 | | |
6602 | 6603 | | |
6603 | 6604 | | |
6604 | | - | |
6605 | | - | |
| 6605 | + | |
| 6606 | + | |
6606 | 6607 | | |
6607 | | - | |
| 6608 | + | |
6608 | 6609 | | |
6609 | 6610 | | |
6610 | 6611 | | |
| |||
6638 | 6639 | | |
6639 | 6640 | | |
6640 | 6641 | | |
6641 | | - | |
6642 | | - | |
6643 | | - | |
6644 | | - | |
6645 | | - | |
6646 | | - | |
| 6642 | + | |
| 6643 | + | |
6647 | 6644 | | |
6648 | 6645 | | |
6649 | 6646 | | |
| 6647 | + | |
6650 | 6648 | | |
6651 | 6649 | | |
6652 | 6650 | | |
6653 | 6651 | | |
6654 | 6652 | | |
6655 | | - | |
| 6653 | + | |
6656 | 6654 | | |
6657 | 6655 | | |
6658 | 6656 | | |
6659 | 6657 | | |
6660 | 6658 | | |
6661 | 6659 | | |
6662 | | - | |
| 6660 | + | |
6663 | 6661 | | |
6664 | 6662 | | |
6665 | 6663 | | |
6666 | 6664 | | |
6667 | 6665 | | |
6668 | 6666 | | |
6669 | 6667 | | |
6670 | | - | |
| 6668 | + | |
6671 | 6669 | | |
6672 | 6670 | | |
6673 | 6671 | | |
6674 | 6672 | | |
6675 | 6673 | | |
6676 | 6674 | | |
6677 | | - | |
6678 | | - | |
| 6675 | + | |
| 6676 | + | |
6679 | 6677 | | |
6680 | | - | |
| 6678 | + | |
6681 | 6679 | | |
6682 | 6680 | | |
6683 | 6681 | | |
| |||
6692 | 6690 | | |
6693 | 6691 | | |
6694 | 6692 | | |
6695 | | - | |
| 6693 | + | |
6696 | 6694 | | |
6697 | 6695 | | |
6698 | 6696 | | |
| |||
6701 | 6699 | | |
6702 | 6700 | | |
6703 | 6701 | | |
6704 | | - | |
| 6702 | + | |
6705 | 6703 | | |
6706 | 6704 | | |
6707 | | - | |
| 6705 | + | |
6708 | 6706 | | |
6709 | 6707 | | |
6710 | 6708 | | |
6711 | | - | |
| 6709 | + | |
6712 | 6710 | | |
6713 | 6711 | | |
6714 | 6712 | | |
6715 | 6713 | | |
6716 | 6714 | | |
6717 | 6715 | | |
6718 | | - | |
| 6716 | + | |
6719 | 6717 | | |
6720 | 6718 | | |
6721 | 6719 | | |
| |||
6821 | 6819 | | |
6822 | 6820 | | |
6823 | 6821 | | |
6824 | | - | |
6825 | | - | |
| 6822 | + | |
| 6823 | + | |
6826 | 6824 | | |
6827 | | - | |
| 6825 | + | |
6828 | 6826 | | |
6829 | 6827 | | |
6830 | 6828 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments