de.tsl2.nano.core.Argumentator.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.h5 Show documentation
Show all versions of tsl2.nano.h5 Show documentation
TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)
???? =! de/tsl2/nano/core/Arg
de/tsl2/nano/core/Argumentator decorateMan (Ljava/util/Map;)Ljava/util/Map;
8(Ljava/lang/String;Ljava/util/Map;I[Ljava/lang/String;)V
java/lang/Object ()V consumed I -+/=? syntax Ljava/lang/String; name ! " man Ljava/util/Map; $ % errorCodeOnExit
' ( )
defineArgs :(Ljava/util/Map;[Ljava/lang/String;)Ljava/util/Properties; + , - argMap Ljava/util/Properties; / java/util/LinkedHashMap 1 2 3 4 5
java/util/Map size ()I
. 7 8 (I)V 1 : ; < keySet ()Ljava/util/Set; > ? @ A B
java/util/Set iterator ()Ljava/util/Iterator; D E F G H java/util/Iterator hasNext ()Z D J K L next ()Ljava/lang/Object; N java/lang/String 1 P Q R get &(Ljava/lang/Object;)Ljava/lang/Object;
T U '(Ljava/lang/String;Ljava/lang/String;)V 1 W X Y put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; [ java/util/Properties
Z ^ -
M ` a b
startsWith (Ljava/lang/String;)Z
M d e f substring (I)Ljava/lang/String; h =
M j k l split '(Ljava/lang/String;)[Ljava/lang/String; n o p q r java/lang/Boolean TRUE Ljava/lang/Boolean;
M t u f valueOf
w x y
storeWithName ;(ILjava/lang/Object;Ljava/util/Map;Ljava/util/Properties;)V
{ | } check 6(Ljava/lang/String;Ljava/lang/Object;Ljava/util/Map;)V
Z W
? Q ? '(Ljava/lang/String;I)Ljava/lang/String; ? java/lang/Class
? ? ? getClass ()Ljava/lang/Class;
Z ? ? ? getProperty &(Ljava/lang/String;)Ljava/lang/String;
? ? ? isDuty $(Ljava/util/Map;Ljava/lang/String;)Z
? ? b isSet ? 5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
? ? ? ? ? java/io/PrintStream println (Ljava/lang/String;)V ? ? ? makeConcatWithConstants ? 5~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
? ? ? printManual (Ljava/io/PrintStream;)V
? ? ? ? H de/tsl2/nano/core/ENV
isTestMode
? ? ? ? 8 java/lang/System exit
? ? ? consume &(Ljava/lang/String;)Ljava/lang/Object;
n ? ? H booleanValue
? Q ?
Z P
Z :
? ? ? ? ? de/tsl2/nano/core/cls/BeanClass getBeanClass 4(Ljava/lang/Class;)Lde/tsl2/nano/core/cls/BeanClass;
? ? ? ?
getFieldNames '(Ljava/lang/Class;Z)[Ljava/lang/String; ? java/lang/Integer???
? ? ? ? ? !de/tsl2/nano/core/util/StringUtil toString '(Ljava/lang/Object;I)Ljava/lang/String; ? java/lang/StringBuilder
? 7
? ? ? ? getStatic 7(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; ? ? ? &(Ljava/lang/Object;)Ljava/lang/String;
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? ? ()Ljava/lang/String; ? ? ? 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; ? ? ? ? out Ljava/io/PrintStream;
? ? ? :(Ljava/lang/String;Ljava/util/Map;Ljava/io/PrintStream;I)V ? ? ? mandatory Z
? ? (!)
M ? ? ? contains (Ljava/lang/CharSequence;)Z > 2 ?
? ? ? ? fixString )(Ljava/lang/String;ICZ)Ljava/lang/String; ? ?
? ? ? getSyntax 6(Ljava/lang/String;Ljava/util/Map;I)Ljava/lang/String; example
EXAMPLES:
?
? k :(Ljava/lang/Object;Ljava/lang/String;[I)Ljava/lang/String; ? ? ?
0de/tsl2/nano/core/classloader/RuntimeClassloader readManifest ()Ljava/util/jar/Attributes; Add-Exports accept ()Ljava/util/function/Consumer;
addVMModuleFromManifest 2(Ljava/lang/String;Ljava/util/function/Consumer;)V
!"# ? java/util/jar/Attributes getValue%
M'( ? trim* /,-./ java/util/function/Consumer (Ljava/lang/Object;)V
1 |2 (Ljava/io/PrintStream;)Z4 tsl-logo.txt
6789: de/tsl2/nano/core/util/FileUtil getFileBytes -(Ljava/lang/String;Ljava/lang/ClassLoader;)[B
M< = ([B)V ?@ABC de/tsl2/nano/core/util/CLI$Color YELLOW "Lde/tsl2/nano/core/util/CLI$Color;
EFGHI de/tsl2/nano/core/util/CLI tag H(Ljava/lang/Object;Lde/tsl2/nano/core/util/CLI$Color;)Ljava/lang/String;
?KL ? print
? ?OPC GREEN
?RST toFormattedString ((Ljava/lang/Object;IZ)Ljava/lang/String; ?VWC
LIGHT_BLUEY .
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[\] getArgMap ()Ljava/util/Properties;_`ab R java/util/function/Function apply ?e .>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
g P===============================================================================
?ij ?
getSimpleName
?lS ? n ?o n(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
qrstu java/lang/ModuleLayer boot ()Ljava/lang/ModuleLayer;
qwxy
findModule ((Ljava/lang/String;)Ljava/util/Optional;
{|}~ L java/util/Optional orElseThrow? java/lang/Module
????? jdk/internal/module/Modules
addExports '(Ljava/lang/Module;Ljava/lang/String;)V KEY_DUTY
ConstantValue EXP_CONSTRAINT? \[[\w.\d]: KEY_PREFIX_EXAMPLE Signature =Ljava/util/Map;>; 7(Ljava/lang/String;Ljava/util/Map;[Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this Lde/tsl2/nano/core/Argumentator; args [Ljava/lang/String; LocalVariableTypeTable 5Ljava/util/Map; ](Ljava/lang/String;Ljava/util/Map;[Ljava/lang/String;)V f(Ljava/lang/String;Ljava/util/Map;>;I[Ljava/lang/String;)V k argDef
StackMapTable t(Ljava/util/Map;)Ljava/util/Map;>; n v Ljava/lang/Object; arg p isOption i? h(Ljava/util/Map;>;[Ljava/lang/String;)Ljava/util/Properties; it Ljava/util/Iterator; (Ljava/util/Iterator; i(ILjava/lang/Object;Ljava/util/Map;>;Ljava/util/Properties;)V key getArgumentClasses 8(Ljava/lang/Class;[Ljava/lang/Object;)[Ljava/lang/Class; defaultType Ljava/lang/Class; [Ljava/lang/Object; clss [Ljava/lang/Class;?? alternativeArgIndex keys Ljava/util/Set; #Ljava/util/Set; value d(Ljava/lang/String;Ljava/lang/Object;Ljava/util/Map;>;)V hasOption option 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; defaultValue TT; 0(Ljava/lang/String;TT;)TT; staticNames 6(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/String; cls fieldType Ljava/lang/Class<*>; <(Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljava/lang/String; staticValues bc !Lde/tsl2/nano/core/cls/BeanClass; names buf Ljava/lang/StringBuilder; $Lde/tsl2/nano/core/cls/BeanClass<*>; staticKeyValues $Ljava/util/Map; 9(Ljava/util/Map;Ljava/lang/String;)Z width kw fkw w1
newlinetab examplesStarted O(Ljava/lang/String;Ljava/util/Map;Ljava/io/PrintStream;I)V K(Ljava/lang/String;Ljava/util/Map;I)Ljava/lang/String; addExportsFromManifest s moduleAndPackage manifestKey vmModuleAction Ljava/util/function/Consumer; exports 2Ljava/util/function/Consumer<[Ljava/lang/String;>; G(Ljava/lang/String;Ljava/util/function/Consumer<[Ljava/lang/String;>;)V start 5(Ljava/io/PrintStream;Ljava/util/function/Function;)V printStream runner Ljava/util/function/Function; GLjava/util/function/Function; _(Ljava/io/PrintStream;Ljava/util/function/Function;)V ln lambda$addExportsFromManifest$0 ([Ljava/lang/String;)V
SourceFile Argumentator.java BootstrapMethods?
??? ?? $java/lang/invoke/StringConcatFactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;? ERROR: argument '' was not set!? ? =
?
?
: syntax: <> []
"java/lang/invoke/LambdaMetafactory metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;/
???
>>>>> starting <<<<<
>>>>> :
called with:
InnerClasses Color %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup ! , - ? ? ? ? ? ? ? ? ? ! " ? ? % ? ? ? j *+,? -? ? ?
b c? * ?? ! " ?? ? !? ? ? ? ? ? )*?
*? *? *+? *,? *? #*,? &? *? ? " e N Q f g h i ( j? 4 )?? ) ) ! " ) % )?? ? ) !? ? ?
? ? L? .Y*? 0 ? 6L*? 9 ? = M,? C ? *,? I ? MN+-? Y-*-? O ? M? S? V W???+? ? m n - o G p J q? - ? L ! " >? " ? L !? >?? ? ? 1 D? /? ? ( ) ? X ?? ZY? \M6+?? ?+2? ?+2]? _6? +2? c? +2:g? i:? 2N??
2? ? m:? 1?? `? sN2:`*,? v? 2N2:-*? z,-? ~W???h,? ? N { ? ? ? $ ? : ? C ? H ? M ? c ? j ? r ? x ? ? ? ? ? ? ? ? ? ? ? ? ?? ?
M ? ` ?? r ? x ?? : f? ? ? ? ?? C ]?? $ |? ? ?? ? ! " ??? ? , - ? ? !? ? ?
? 1? Z ? ( 1? Z C M? " 1? Z M ? M B ? 1? Z ? M "?
1? Z M ? M ? 1? Z ? 1? Z ? ?
x y ? ? E,? 0 ? =,? 9 ? = ::6? ? I ? M:????+,? z-+? ~W? ? &