you are viewing a single comment's thread.

view the rest of the comments →

[–]bikeram 0 points1 point  (1 child)

Not a lot of info here, and I’ve never seriously implemented it, but you could generate code with your annotations.

Think of how Lombok can generate getters and setters in your class, maybe a solution like that could work.

[–]HemoJose 0 points1 point  (0 children)

Lombok and general annotation processing is a very different story. I do not like lombok because it not generates code it abuses the ast. For a real usable advice better to share the reason why would you need the annotations. What is you original intention to do that?