Annotation Type Repeatable

public @interface Repeatable

Marker annotation which indicates that an option may be repeated more than once on the same command line. The default behaviour disallows this.

For example, the following configuration enables the option --debug to be repeated several times (with the effect that the debug level will be increased for every occurence).

 public class ContextClass {
     private int debugLevel = 0;
     public void setDebug () {
         debugLevel ++;