@@ -21,6 +21,8 @@
21 name: (identifier) @type)
21 name: (identifier) @type)
22(class_declaration
22(class_declaration
23 name: (identifier) @type)
23 name: (identifier) @type)
25+ name: (identifier) @type)
24(enum_declaration
26(enum_declaration
25 name: (identifier) @type)
27 name: (identifier) @type)
@@ -33,6 +35,8 @@
34(constructor_declaration
36(constructor_declaration
35 name: (identifier) @type)
37 name: (identifier) @type)
38+(compact_constructor_declaration
39+ name: (identifier) @type)
37(type_identifier) @type
41(type_identifier) @type
@@ -59,6 +63,7 @@
59 (hex_integer_literal)
63 (hex_integer_literal)
60 (decimal_integer_literal)
64 (decimal_integer_literal)
61 (octal_integer_literal)
65 (octal_integer_literal)
66+ (binary_integer_literal)
62] @constant.numeric.integer
67] @constant.numeric.integer
@@ -67,7 +72,11 @@
67] @constant.numeric.float
72] @constant.numeric.float
69(character_literal) @constant.character
74(character_literal) @constant.character
70−(string_literal) @string
77+ (string_literal)
@@ -75,7 +84,8 @@
75 (null_literal)
84 (null_literal)
76] @constant.builtin
85] @constant.builtin
78−(comment) @comment
87+(line_comment) @comment
88+(block_comment) @comment
@@ -104,15 +114,19 @@
109 "package"
120 "package"
110 "private"
122 "private"
111 "protected"
123 "protected"
112 "provides"
124 "provides"
114 "requires"
126 "requires"
117 "strictfp"
131 "strictfp"
@@ -127,4 +141,5 @@
127 "volatile"
141 "volatile"
130] @keyword
145] @keyword