Hello,
Is it possible to add a local transformer to the Trait like this?
```groovy
@Retention(RetentionPolicy.RUNTIME)
@GroovyASTTransformationClass(["swagger.grails4.compiler.ApiDocTransformer"])
@interface ApiDoc {
String value() default ""
}
@CompileStatic
@GroovyASTTransformation(phase = C
2020年7月23日(星期四) 11:57
收件人:杨波 ; users-groovy
主 题:回复: How to extract comments (especially the fields comments) from groovy or
java (compiled in groovy) code?
I have written similar software for the company I work for. Java provides an
extensible javadoc API. I have not used it on groovy, but
will be great, so we
can use a lot of Groovy3 new features.
Cheers!
--
发件人:Paul King
发送时间:2020年7月23日(星期四) 12:25
收件人:users ; 杨波
主 题:Re: How to extract comments (especially the fields comments) from groovy or
java (compiled in
Jiaxin,
Thanks, I will check it out.
And I also found this related post,
https://stackoverflow.com/questions/14354165/how-to-parse-groovy-code.
--
发件人:余佳昕
发送时间:2020年7月23日(星期四) 11:57
收件人:杨波 ; users-groovy
主 题:回复: How to extract
Hello,
I am writing a grails swagger plugin that needs to extract comments of
class fields, such as below code:
class UserCommand {
/**
* The name of user in comments
*/
String username
String password
String avatarUrl
}
Then I need to extract the comment con
this JAR
dependency.
Thanks Mauro!
--
发件人:Mauro Molinari
发送时间:2020年2月27日(星期四) 17:19
收件人:users
主 题:Re: Is there no any more Date.parse(pattern, date_string) methods like
Groovy User Guide Document says?
Il 27/02/2020 08:30, 杨波 ha scritto:
But w
Hello,
The doucment of
"http://groovy-lang.org/groovy-dev-kit.html#_working_with_legacy_date_calendar_types";
says:
"""
You can parse strings into dates and output dates into formatted strings:
def orig = '2000-01-01'
def newYear = Date.parse('-MM-dd', orig)
"""
But when I use Groovy 2.5.9,
20 at 6:26 PM Jochen Theodorou wrote:
On 21.02.20 07:39, 杨波 wrote:
> The groovy documentation page
> (http://docs.groovy-lang.org/latest/html/documentation/) is too large to
> quickly open and browse.
> There are huge content in one single page, if the network is slow then
>
page for one chapter.
How can I build such a seperated documents using the doc source in github?
Any ideas? Thanks.
Best Regards,
Bob Yang / 杨波
Beijing Telecwin Co.,LTD
塔尔旺定稿版.png
Description: Binary data