<dependency>
<groupId>io.sundr</groupId>
<artifactId>sundrio-annotations</artifactId>
<version>0.3.9</version>
</dependency>
public @interface MyAnnotation {
String value() default "";
int count() default 0;
}
MyAnnotation annotation = new MyAnnotationBuilder()
.withValue("Hello")
.withCount(5)
.build();
String value = annotation.value();
int count = annotation.count();