1 package com.beust.jcommander; 2 3 import java.lang.annotation.Retention; 4 import java.lang.annotation.Target; 5 6 import static java.lang.annotation.ElementType.FIELD; 7 import static java.lang.annotation.ElementType.METHOD; 8 9 /** 10 * @author Cedric Beust <cedric@refresh.io> 11 * @since 02 12, 2017 12 */ 13 @Retention(java.lang.annotation.RetentionPolicy.RUNTIME) 14 @Target({ FIELD, METHOD }) 15 public @interface SubParameter { order()16 int order() default -1; 17 } 18