xerial.lens.cui.argument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xerial-lens Show documentation
Show all versions of xerial-lens Show documentation
Lens for mapping between objects and structured data (XML, JSON, Silk, etc.)
package xerial.lens.cui;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* CommandTrait-line argument with no option prefix such as "-" or "--"
*
* @author leo
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.METHOD })
public @interface argument {
/**
* Name of this argument. If nothing is given, field name is used;
*/
String name() default "";
/**
* Description of this argument
*/
String description() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy