You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Christoph Henrici (Jira)" <ji...@apache.org> on 2024/05/29 13:21:00 UTC

[jira] [Updated] (GROOVY-11388) Does Groovy support Java Anntotation Processors?

     [ https://issues.apache.org/jira/browse/GROOVY-11388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Henrici updated GROOVY-11388:
---------------------------------------
    Description: 
My question is simple : Does Groovy support Annotation Processors, like Mapstruct , Lombok or even custom Processors : [https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html] ?

Please, no opionated answers, just facts and fact based explanations. There are many confusioning, strongly subjective and optinated posts in the web (Stacktrace and such, and even here), which trend towards no, you don‘t need it, i don't recommend, Lombok is a hack etc etc, but nothing really conclusive, substantial and objective. 

My Testcase does seems to indicate that at least the Lombok Annotation Processor is not supported , see : [https://github.com/chhex/groovylombok/tree/main]

But it also may well be, that i am missing something in the Gradle Build. 

If this is a redundant post, sorry! I really like Groovy and am using it frequently, it would be just great to have good understanding of it‘s limitations, if that is the case.

Best thanks for any help. 

  was:
My question is simple : Does Groovy support Annotation Processors, like Mapstruct , Lombok or even custom Processors : [https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html] ?

Please, no opionated answers, just facts and fact based explanations. There are many confusioning, strongly subjective and optinated posts in the web (Stacktrace and such, and even here), which trend towards no, you don‘t need it, i don't recommend, Lombok is a hack etc etc, but nothing really conclusive, substantial and objective. 

My Testcase does seems to indicate that at least the Lombok Annotation Processor is not supported , see : [https://github.com/chhex/groovylombok/tree/main]


If this is a redundant post, sorry! I really like Groovy and am using it frequently, it would be just great to have good understanding of it‘s limitations, if that is the case. 

Best thanks for any help. 


> Does Groovy support Java Anntotation Processors? 
> -------------------------------------------------
>
>                 Key: GROOVY-11388
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11388
>             Project: Groovy
>          Issue Type: Question
>            Reporter: Christoph Henrici
>            Priority: Major
>
> My question is simple : Does Groovy support Annotation Processors, like Mapstruct , Lombok or even custom Processors : [https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html] ?
> Please, no opionated answers, just facts and fact based explanations. There are many confusioning, strongly subjective and optinated posts in the web (Stacktrace and such, and even here), which trend towards no, you don‘t need it, i don't recommend, Lombok is a hack etc etc, but nothing really conclusive, substantial and objective. 
> My Testcase does seems to indicate that at least the Lombok Annotation Processor is not supported , see : [https://github.com/chhex/groovylombok/tree/main]
> But it also may well be, that i am missing something in the Gradle Build. 
> If this is a redundant post, sorry! I really like Groovy and am using it frequently, it would be just great to have good understanding of it‘s limitations, if that is the case.
> Best thanks for any help. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)