javaspringintellij-idealombokjava-annotations

How to make an annotation that calls other annotations


I usually use specific lombok and spring annotations in every class that I open in work.

Is there a way that I can create my custom annotation that will call the annotations that I need?

This is my class for exmple:

@Getter
@Setter
@Embeddable
@AllArgsConstructor
@Builder
public class SomeName{}

And I want it to be:

@SomeAnnotationName
public class SomeName{}

Solution

  • lombok doesn't support this, but it have feature request for it.