joptsimple.OptionException.class Maven / Gradle / Ivy
???? 3 ? joptsimple/OptionException java/lang/RuntimeException OptionException.java serialVersionUID J???????? options Ljava/util/List; $Ljava/util/List; (Ljava/util/List;)V ()V
java/util/ArrayList
java/util/List addAll (Ljava/util/Collection;)Z this Ljoptsimple/OptionException; (Ljava/util/Collection;)V specsToStrings ((Ljava/util/Collection;)Ljava/util/List; !
" 3Ljava/util/Collection<+Ljoptsimple/OptionSpec<*>;>; Ljava/util/Collection; .(Ljava/util/Collection;Ljava/lang/Throwable;)V (Ljava/lang/Throwable;)V
'
( cause Ljava/lang/Throwable; java/util/Collection , iterator ()Ljava/util/Iterator; . / - 0 java/util/Iterator 2 hasNext ()Z 4 5 3 6 next ()Ljava/lang/Object; 8 9 3 : joptsimple/OptionSpec < specToString +(Ljoptsimple/OptionSpec;)Ljava/lang/String; > ?
@ add (Ljava/lang/Object;)Z B C D each Ljoptsimple/OptionSpec<*>; Ljoptsimple/OptionSpec; strings ()Ljava/util/List;
J = K
M / O joptsimple/internal/Strings Q join :(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String; S T
R U option java/util/Collections X unmodifiableList "(Ljava/util/List;)Ljava/util/List; Z [
Y \ singleOptionString ()Ljava/lang/String; get (I)Ljava/lang/Object; ` a b java/lang/String d &(Ljava/lang/String;)Ljava/lang/String; ^ f
g Ljava/lang/String; multipleOptionString java/lang/StringBuilder k [ m (Ljava/lang/String;)V
o
l p java/util/LinkedHashSet r
s M
java/util/Set u v 0 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; x y
l z , | (C)Ljava/lang/StringBuilder; x ~
l toString ? _
l ? iter (Ljava/util/Iterator; Ljava/util/Iterator; buffer Ljava/lang/StringBuilder; asSet #Ljava/util/Set; Ljava/util/Set; unrecognizedOption 0(Ljava/lang/String;)Ljoptsimple/OptionException; &joptsimple/UnrecognizedOptionException ?
? p
getMessage java/util/Locale ?
getDefault ()Ljava/util/Locale; ? ?
? ? localizedMessage &(Ljava/util/Locale;)Ljava/lang/String; ? ?
? formattedMessage ? ?
? locale Ljava/util/Locale; joptsimple.ExceptionMessages ? java/lang/Object ? getClass ()Ljava/lang/Class; ? ?
? ? message ? messageArguments ()[Ljava/lang/Object; ? ?
? joptsimple/internal/Messages ? n(Ljava/util/Locale;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
? ?
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable '(Ljava/util/List;)V 6(Ljava/util/Collection<+Ljoptsimple/OptionSpec<*>;>;)V K(Ljava/util/Collection<+Ljoptsimple/OptionSpec<*>;>;Ljava/lang/Throwable;)V
StackMapTable Y(Ljava/util/Collection<+Ljoptsimple/OptionSpec<*>;>;)Ljava/util/List; .(Ljoptsimple/OptionSpec<*>;)Ljava/lang/String; &()Ljava/util/List;
SourceFile! ?
?
? m *? *? Y? ? *? +? W? ?
?
? 3 1 4 5 ? ?
? q *? *? Y? ? *? *+? #? W? ?
% ?
$ ? 7 1 8 9 ? ?
&