Use spring-data-aot project
Invoke code action to add query annotation in CoffeeRepository class over this method:
List<Coffee> findBySizeAndPriceGreaterThan(Size size, BigDecimal price);
No query annotation added on the client and NPE on WorkspaceEdit on the server is the result.
The problem is that recipe doesn't produce changes. The issue is that Size type is unresolved although it is available via the project source. The Rewrite Java parser needs types stubs for sources in the code base to be able to resolve types in the source being parsed which is just the repository class.
Use
spring-data-aotprojectInvoke code action to add query annotation in
CoffeeRepositoryclass over this method:No query annotation added on the client and NPE on
WorkspaceEditon the server is the result.The problem is that recipe doesn't produce changes. The issue is that
Sizetype is unresolved although it is available via the project source. The Rewrite Java parser needs types stubs for sources in the code base to be able to resolve types in the source being parsed which is just the repository class.