-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Apparently, query predicates are being completely ignored. On the query/code bellow, I'm getting 6 matches, instead of one.
Expected behavior
Only one match should be expected:

OS and Java version
- OS: Linux 64bit
- Java version: 24
Sample code:
[
(marker_annotation
name: (identifier) @name
(#eq? @name "Entity"))
(annotation
name: (identifier) @name
(#eq? @name "Entity"))
(marker_annotation
name: (scoped_identifier
name: (identifier) @name)
(#eq? @name "Entity"))
] @annotation
Source code:
package org.example;
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "test")
public class Test {}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working