Files
vim/runtime/syntax/testdir/dumps/java_method_references_09.dump
Aliaksei Budavei 159d392427 runtime(java): Complement the recognition of type parameter sections
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>
2025-06-23 20:02:14 +02:00

21 lines
1.0 KiB
Plaintext

| +0&#ffffff0@3|}| @69
@75
@4|s+0#00e0003&|t|a|t|i|c| +0#0000000&|c+0#00e0003&|l|a|s@1| +0#0000000&|C|2| @55
@4|{| @69
@8|C|2|(|)| |{| |<+0#00e0003&|S+0#0000000&|t|r|i|n|g|>+0#00e0003&| +0#0000000&|t+0#00e0003&|h|i|s|(+0#0000000&|"+0#e000002&@1|)+0#0000000&|;| |}| @39
> @74
@8|<+0#00e0003&|A+0#0000000&|>+0#00e0003&| +0#0000000&|C|2|(|A| |d|u|m@1|y|)| @51
@8|{| @65
@12|C|2|.|s|t|r|i|n|g|e|r|(|)|.|a|p@1|l|y|(@2|F+0#00e0e07&|u|n|c|t|i|o|n|<|C+0#0000000&|2|,| |C|2|.|C|2|1|>+0#00e0e07&|)+0#0000000&| @19
@24|C|2|.|C|2|1|:+0#00e0e07&@1|n+0#af5f00255&|e|w|)+0#0000000&| @3|/+0#0000e05&|*| |"|d|"| |*|/| +0#0000000&@25
@20|.|a|p@1|l|y|(|C|2|.|t+0#00e0003&|h|i|s|)+0#0000000&@1|;| @37
@8|}| @65
@75
@4| +0#00e0003&@3|c|l|a|s@1| +0#0000000&|C|2|1| @57
@8|{| @65
@12|C|2|1|(|)| |{| |<+0#00e0003&|S+0#0000000&|t|r|i|n|g|>+0#00e0003&| +0#0000000&|t+0#00e0003&|h|i|s|(+0#0000000&|"+0#e000002&@1|)+0#0000000&|;| |}| @34
@75
@12|<+0#00e0003&|B+0#0000000&|>+0#00e0003&| +0#0000000&|C|2|1|(|B| |d|u|m@1|y|)| @46
@12|{| @61
@57|1|6|3|,|0|-|1| @6|9|0|%|