GitHub user dukehoff added a comment to the discussion: No constructors warning 
for HQL using DTO class constructor

I agree that there isn't a good general solution inside NetBeans. Unfortunately 
I was forced to find a solution for this recently when creating an mcp server 
that provides NetBeans refactoring tools to agents. Here it's harder to tell 
the user to upgrade their Lombok ( or stop using it ;-) ), because 
communication happens through the agent. 

My solution in dukehoff-mcp is to put a Lombok version on processorpath that is 
compatible with nb-javac. I also published this as an NBM, so anyone who cannot 
move away from Lombok and/or has to use an older version of it has a solution:

Lombok for nb-javac, in Tools > Plugins > Available Plugins (Plugin Portal), 
source at https://github.com/dukehoff-gmbh/lombok-nb-javac.

I think It's the best solution since it doesn't require any changes to NetBeans 
itself and it's opt-in. 

GitHub link: 
https://github.com/apache/netbeans/discussions/9552#discussioncomment-19311677

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to