java highlights: annotation type declaration and AT interface keyword

This commit is contained in:
homedirectory 2023-06-20 10:51:36 +03:00 committed by Christian Clason
parent e015524926
commit 39b9f45a64

View file

@ -84,6 +84,8 @@
(interface_declaration (interface_declaration
name: (identifier) @type) name: (identifier) @type)
(annotation_type_declaration
name: (identifier) @type)
(class_declaration (class_declaration
name: (identifier) @type) name: (identifier) @type)
(record_declaration (record_declaration
@ -169,6 +171,7 @@
"implements" "implements"
"instanceof" "instanceof"
"interface" "interface"
"@interface"
"permits" "permits"
"to" "to"
"with" "with"