2023-12-20 07:31:27 +08:00
|
|
|
[
|
|
|
|
(class_directive)
|
|
|
|
(expression)
|
|
|
|
(annotation_directive)
|
|
|
|
(array_data_directive)
|
|
|
|
(method_definition)
|
|
|
|
(packed_switch_directive)
|
|
|
|
(sparse_switch_directive)
|
|
|
|
(subannotation_directive)
|
|
|
|
] @local.scope
|
|
|
|
|
|
|
|
[
|
|
|
|
(identifier)
|
|
|
|
(class_identifier)
|
|
|
|
(label)
|
|
|
|
(jmp_label)
|
|
|
|
] @local.reference
|
|
|
|
|
|
|
|
(method_definition
|
2025-02-25 01:46:34 +08:00
|
|
|
(method_signature (method_identifier) @local.definition.function.method))
|
2023-12-20 07:31:27 +08:00
|
|
|
|
2025-02-25 01:46:34 +08:00
|
|
|
(param_identifier) @local.definition.variable.parameter
|