How to make an annotaion that calls other annotations

Viewed 78

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{}
1 Answers
Related