com.google.caliper.util
Annotation Type CommandLineParser.Option


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public static @interface CommandLineParser.Option

Annotates a field or method in an options class to signify that parsed values should be injected.


Required Element Summary
 String[] value
          The names for this option, such as { "-h", "--help" }.
 

Element Detail

value

public abstract String[] value
The names for this option, such as { "-h", "--help" }. Names must start with one or two '-'s. An option must have at least one name.



Copyright © 2009-2011 Google, Inc.. All Rights Reserved.