akshattandon / projectlombok

Automatically exported from code.google.com/p/projectlombok
0 stars 0 forks source link

What about a mechanism to allow convience custom annotations? #739

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, just want to float an Idea:

I have many classes in my project with the annotation 
@RequiredArgsConstructor(onConstructor=@__(@Autowired)) which is kinda ugly.

Since lombok has an configuration system, could it be possible to create an own 
annotation like @AutowiredConstructor and tell lombok thats a shortcut for 
@RequiredArgsConstructor(onConstructor=@__(@Autowired))?

Original issue reported on code.google.com by mich...@stummi.org on 25 Sep 2014 at 8:44

GoogleCodeExporter commented 9 years ago
Hi,

I like this idea but I think it's similar to this issue:
https://code.google.com/p/projectlombok/issues/detail?id=567

Original comment by tomd...@gmail.com on 16 Oct 2014 at 11:04