summaryrefslogtreecommitdiff
path: root/src/main/java/com/beust/jcommander/SubParameter.java
blob: 22adfc437797c785b5ed082f886ea2063a75fef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.beust.jcommander;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;

/**
 * @author Cedric Beust <cedric@refresh.io>
 * @since 02 12, 2017
 */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Target({ FIELD, METHOD })
public @interface SubParameter {
    int order() default -1;
}