public @interface MyAnnotation {
int value1() default 0;
String value2() default "default value";
}
public @interface MyAnnotation {
Class<?> clazz() default Object.class;
}
@Repeatable(MyAnnotations.class)
public @interface MyAnnotation {
}
public @interface MyAnnotations {
MyAnnotation[] value();
}
public void method(@NonNull String str) {
}