fix(java): move attributes after constants

This commit is contained in:
ObserverOfTime 2023-12-04 20:37:26 +02:00 committed by Amaan Qureshi
parent 67536f4057
commit 3065a928fc

View file

@ -32,15 +32,6 @@
(lambda_expression (lambda_expression
parameters: (identifier) @parameter) ; x -> ... parameters: (identifier) @parameter) ; x -> ...
; Annotations
(annotation
"@" @attribute
name: (identifier) @attribute)
(marker_annotation
"@" @attribute
name: (identifier) @attribute)
; Operators ; Operators
[ [
@ -135,6 +126,15 @@
(this) @variable.builtin (this) @variable.builtin
; Annotations
(annotation
"@" @attribute
name: (identifier) @attribute)
(marker_annotation
"@" @attribute
name: (identifier) @attribute)
; Literals ; Literals
(string_literal) @string (string_literal) @string