
net.morimekta.terminal.args.annotations.ArgValueParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of terminal Show documentation
Show all versions of terminal Show documentation
Utilities handling specialized terminal input and output.
The newest version!
package net.morimekta.terminal.args.annotations;
import net.morimekta.terminal.args.ValueParser;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Specify the value parser for an argument, or for a list item type or
* property (map) value type.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
public @interface ArgValueParser {
/**
* @return The value parser class.
*/
Class extends ValueParser>> value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy