joptsimple.ArgumentAcceptingOptionSpec.class Maven / Gradle / Ivy
???? 3 ? &joptsimple/ArgumentAcceptingOptionSpec :Ljoptsimple/AbstractOptionSpec; joptsimple/AbstractOptionSpec ArgumentAcceptingOptionSpec.java NIL_VALUE_SEPARATOR C argumentRequired Z
defaultValues Ljava/util/List; Ljava/util/List; optionRequired converter Ljoptsimple/ValueConverter; Ljoptsimple/ValueConverter; argumentDescription Ljava/lang/String; valueSeparator (Ljava/lang/String;Z)V (Ljava/lang/String;)V
java/util/ArrayList ()V
" $ java/lang/String & valueOf (C)Ljava/lang/String; ( )
' * ,
. this -Ljoptsimple/ArgumentAcceptingOptionSpec; (Ljoptsimple/ArgumentAcceptingOptionSpec; option &(Ljava/util/List;ZLjava/lang/String;)V %(Ljava/util/List;Ljava/lang/String;)V 5
6 options $Ljava/util/List; description ofType ;(Ljava/lang/Class;)Ljoptsimple/ArgumentAcceptingOptionSpec; joptsimple/internal/Reflection =
findConverter .(Ljava/lang/Class;)Ljoptsimple/ValueConverter; ? @
> A withValuesConvertedBy E(Ljoptsimple/ValueConverter;)Ljoptsimple/ArgumentAcceptingOptionSpec; C D
E argumentType Ljava/lang/Class; Ljava/lang/Class; java/lang/NullPointerException J illegal null converter L
K O
aConverter Ljoptsimple/ValueConverter; describedAs <(Ljava/lang/String;)Ljoptsimple/ArgumentAcceptingOptionSpec; withValuesSeparatedBy +(C)Ljoptsimple/ArgumentAcceptingOptionSpec; "java/lang/IllegalArgumentException W cannot use U+0000 as separator Y
X separator indexOf (I)I ] ^
' _ cannot use U+0000 in separator a
defaultsTo O(Ljava/lang/Object;[Ljava/lang/Object;)Ljoptsimple/ArgumentAcceptingOptionSpec; Ljava/lang/SafeVarargs; addDefaultValue (Ljava/lang/Object;)V f g
h =([Ljava/lang/Object;)Ljoptsimple/ArgumentAcceptingOptionSpec; c j
k value TV; Ljava/lang/Object; values [TV; [Ljava/lang/Object; r each required *()Ljoptsimple/ArgumentAcceptingOptionSpec; w
isRequired ()Z java/util/Objects { requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; } ~
| java/util/List ? add (Ljava/lang/Object;)Z ? ? ? ? handleOption ](Ljoptsimple/OptionParser;Ljoptsimple/ArgumentList;Ljoptsimple/OptionSet;Ljava/lang/String;)V joptsimple/internal/Strings ?
isNullOrEmpty (Ljava/lang/String;)Z ? ?
? ? detectOptionArgument K(Ljoptsimple/OptionParser;Ljoptsimple/ArgumentList;Ljoptsimple/OptionSet;)V ? ?
? addArguments +(Ljoptsimple/OptionSet;Ljava/lang/String;)V ? ?
? parser Ljoptsimple/OptionParser; arguments Ljoptsimple/ArgumentList; detectedOptions Ljoptsimple/OptionSet; detectedArgument java/util/StringTokenizer ? '(Ljava/lang/String;Ljava/lang/String;)V ?
? ?
hasMoreTokens ? z
? ? joptsimple/OptionSet ? addWithArgument 4(Ljoptsimple/AbstractOptionSpec;Ljava/lang/String;)V ? ?
? ? nextToken ()Ljava/lang/String; ? ?
? ? lexer Ljava/util/StringTokenizer; convert &(Ljava/lang/String;)Ljava/lang/Object; convertWith A(Ljoptsimple/ValueConverter;Ljava/lang/String;)Ljava/lang/Object; ? ?
? argument canConvertArgument joptsimple/OptionException ? ? ?
? ignored Ljoptsimple/OptionException; isArgumentOfNumberType java/lang/Number ? joptsimple/ValueConverter ? valueType ()Ljava/lang/Class; ? ? ? ? java/lang/Class ? isAssignableFrom (Ljava/lang/Class;)Z ? ?
? ? acceptsArguments requiresArgument argumentTypeIndicator argumentTypeIndicatorFrom /(Ljoptsimple/ValueConverter;)Ljava/lang/String; ? ?
? ()Ljava/util/List; java/util/Collections ? unmodifiableList "(Ljava/util/List;)Ljava/util/List; ? ?
? ? equals ? ?
? ? z
? that other +Ljoptsimple/ArgumentAcceptingOptionSpec<*>; hashCode ()I ? ?
?
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable :(Ljava/util/List;ZLjava/lang/String;)V [(Ljava/lang/Class;)Ljoptsimple/ArgumentAcceptingOptionSpec;
StackMapTable e(Ljoptsimple/ValueConverter;)Ljoptsimple/ArgumentAcceptingOptionSpec; A(Ljava/lang/String;)Ljoptsimple/ArgumentAcceptingOptionSpec; 0(C)Ljoptsimple/ArgumentAcceptingOptionSpec; 6(TV;[TV;)Ljoptsimple/ArgumentAcceptingOptionSpec; RuntimeVisibleAnnotations 3([TV;)Ljoptsimple/ArgumentAcceptingOptionSpec; /()Ljoptsimple/ArgumentAcceptingOptionSpec; (TV;)V (Ljava/lang/String;)TV; ()Ljava/util/List;
SourceFile! ?
? ? ? ? $*+? *? Y? ? !*#? %*? +? -*? /? ? $ 0 2 $ 3 $
? $ 0 1 ? E = A B G # H 4 ? ? %*+-? 7*? Y? ? !*#? %*? +? -*? /? ? * % 0 2 % 8
%
% : ? % 0 1 % 8 9 ? K = A B M $ N ? ? ; <