Skip to content

Commit be131cb

Browse files
Create MyDelegate.java
Added testing supporting file.
1 parent c39b341 commit be131cb

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package com.beust.jcommander.parameterized.parser;
2+
3+
import java.lang.annotation.ElementType;
4+
import java.lang.annotation.Retention;
5+
import java.lang.annotation.RetentionPolicy;
6+
import java.lang.annotation.Target;
7+
8+
/**
9+
* This annotation is really just a marker with no value to set since the delegated value is true.
10+
*
11+
* @author Tim Gallagher
12+
*/
13+
@Target({ ElementType.FIELD,})
14+
@Retention(RetentionPolicy.RUNTIME)
15+
public @interface MyDelegate {
16+
public boolean delegated() default true;
17+
18+
}

0 commit comments

Comments
 (0)