mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
In addition to matching type parameter sections of generic classes and records and interfaces, match such sections of generic methods and constructors. As before, opt for it by defining "g:java_highlight_generics"; the diamond form still does not qualify for this kind of recognition. And make section patterns agree with one another in syntax items. References: https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.5 https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4.4 https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.8.4 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
21 lines
1.4 KiB
Plaintext
21 lines
1.4 KiB
Plaintext
| +0&#ffffff0@11|{| @61
|
|
@16|C|2|.|s|t|r|i|n|g|e|r|(|)|.|a|p@1|l|y|(|C|2|.|t+0#00e0003&|h|i|s|)+0#0000000&|;| @29
|
|
@12|}| @61
|
|
@8|}| @65
|
|
@75
|
|
| +0#00e0e07&@7>s+0#00e0003&|t|a|t|i|c| +0#00e0e07&|<+0#00e0003&|T+0#00e0e07&| |e+0#00e0003&|x|t|e|n|d|s| +0#00e0e07&|O|b|j|e|c|t|>+0#00e0003&| +0#00e0e07&|F|u|n|c|t|i|o|n|<|T|,| |S|t|r|i|n|g|>| |s|t|r|i|n|g|e|r|(|)| +0#0000000&@10
|
|
@8|{| @65
|
|
@12|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|T|:+0#00e0e07&@1|t+0#0000000&|o|S|t|r|i|n|g|;| |/+0#0000e05&|*| |"|e|"| |*|/| +0#0000000&@33
|
|
@8|}| @65
|
|
@4|}| @69
|
|
@75
|
|
@4|s+0#00e0003&|t|a|t|i|c| +0#0000000&|{| @62
|
|
@8|(@1|S+0#00e0e07&|u|p@1|l|i|e|r|<|C+0#00e0003&|l|a|s@1|<|?+0#0000000&|>+0#00e0003&|>+0#00e0e07&|)+0#0000000&|(@1|S+0#00e0e07&|u|p@1|l|i|e|r|<|C+0#0000000&|2|.|C|2|1|>+0#00e0e07&|)+0#0000000&|(+0#00e0e07&|)|-|>|n+0#af5f00255&|e|w| +0#0000000&@19
|
|
@12|<+0#00e0003&|O+0#0000000&|b|j|e|c|t|>+0#00e0003&|C+0#0000000&|2|(|)|.|n+0#af5f00255&|e|w| +0#0000000&|<+0#00e0003&|O+0#0000000&|b|j|e|c|t|>+0#00e0003&| +0#0000000&|C|2|1|(|n+0#af5f00255&|e|w|<+0#00e0003&|O+0#0000000&|b|j|e|c|t|>+0#00e0003&| +0#0000000&@21
|
|
@16|C+0#00e0e07&|1|<| +0#0000000&|O|b|j|e|c|t| |>+0#00e0e07&|(+0#0000000&@1|C+0#00e0e07&|1|<|?+0#0000000&|>+0#00e0e07&|)+0#0000000&|n+0#e000002&|u|l@1|)+0#0000000&@2|:+0#00e0e07&@1|g+0#0000000&|e|t|C|l|a|s@1|)|.|g|e|t|(|)|;| @13
|
|
@4|}| @69
|
|
|}| @73
|
|
|~+0#4040ff13&| @73
|
|
|~| @73
|
|
| +0#0000000&@56|1|8|1|,|3|-|9| @6|B|o|t|
|