Description
Without the @QueryAnnotation on the org.springframework.data.elasticsearch.annotations.Query IntelliJ believes it needs to parse the method name to see if the parameters exist.
i.e.
I initially raised this as a problem for JetBeans here https://youtrack.jetbrains.com/issue/IDEA-278060 but as you can see from the comment https://youtrack.jetbrains.com/issue/IDEA-278060#focus=Comments-27-5190643.0-0
works ok for all @query annotations that are annotated with @QueryAnnotation (org.springframework.data.jpa.repository.Query, org.springframework.data.mongodb.repository.Query, org.springframework.data.neo4j.repository.query.Query, org.springframework.data.cassandra.repository.Query, ...)
Doesn't work for annotations that are not @QueryAnnotation-s: org.springframework.data.elasticsearch.annotations.Query, org.springframework.data.solr.repository.Query, org.apache.deltaspike.data.api.Query,...)
I attempted to create a PR myself, but could not get all the integration tests to pass before I made the change.