final class jdk.tools.jmod.JmodTask$JmodHelpFormatter extends jdk.internal.joptsimple.BuiltinHelpFormatter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jmod.JmodTask$JmodHelpFormatter
super_class: jdk.internal.joptsimple.BuiltinHelpFormatter
{
private final jdk.tools.jmod.JmodTask$Options opts;
descriptor: Ljdk/tools/jmod/JmodTask$Options;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(jdk.tools.jmod.JmodTask$Options);
descriptor: (Ljdk/tools/jmod/JmodTask$Options;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 // jdk.tools.jmod.JmodTask$JmodHelpFormatter this
start local 1 // jdk.tools.jmod.JmodTask$Options opts
0: .line 1205
aload 0 /* this */
bipush 80
iconst_2
invokespecial jdk.internal.joptsimple.BuiltinHelpFormatter.<init>:(II)V
1: .line 1206
aload 0 /* this */
aload 1 /* opts */
putfield jdk.tools.jmod.JmodTask$JmodHelpFormatter.opts:Ljdk/tools/jmod/JmodTask$Options;
2: .line 1207
return
end local 1 // jdk.tools.jmod.JmodTask$Options opts
end local 0 // jdk.tools.jmod.JmodTask$JmodHelpFormatter this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jmod/JmodTask$JmodHelpFormatter;
0 3 1 opts Ljdk/tools/jmod/JmodTask$Options;
MethodParameters:
Name Flags
opts
public java.lang.String format(java.util.Map<java.lang.String, ? extends jdk.internal.joptsimple.OptionDescriptor>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 // jdk.tools.jmod.JmodTask$JmodHelpFormatter this
start local 1 // java.util.Map options
0: .line 1211
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 2 /* all */
start local 2 // java.util.Map all
1: .line 1212
aload 2 /* all */
aload 1 /* options */
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
2: .line 1215
aload 0 /* this */
getfield jdk.tools.jmod.JmodTask$JmodHelpFormatter.opts:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.helpExtra:Z
ifne 5
3: .line 1216
aload 2 /* all */
ldc "do-not-resolve-by-default"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: .line 1217
aload 2 /* all */
ldc "warn-if-resolved"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: .line 1220
StackMap locals: java.util.Map
StackMap stack:
aload 2 /* all */
ldc "@<filename>"
new jdk.tools.jmod.JmodTask$JmodHelpFormatter$1
dup
aload 0 /* this */
invokespecial jdk.tools.jmod.JmodTask$JmodHelpFormatter$1.<init>:(Ljdk/tools/jmod/JmodTask$JmodHelpFormatter;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: .line 1244
aload 0 /* this */
aload 2 /* all */
invokespecial jdk.internal.joptsimple.BuiltinHelpFormatter.format:(Ljava/util/Map;)Ljava/lang/String;
astore 3 /* content */
start local 3 // java.lang.String content
7: .line 1245
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4 /* builder */
start local 4 // java.lang.StringBuilder builder
8: .line 1247
aload 4 /* builder */
ldc "main.opt.mode"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jmod.JmodTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: .line 1248
aload 4 /* builder */
ldc "main.opt.mode.create"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jmod.JmodTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: .line 1249
aload 4 /* builder */
ldc "main.opt.mode.extract"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jmod.JmodTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: .line 1250
aload 4 /* builder */
ldc "main.opt.mode.list"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jmod.JmodTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: .line 1251
aload 4 /* builder */
ldc "main.opt.mode.describe"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jmod.JmodTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: .line 1252
aload 4 /* builder */
ldc "main.opt.mode.hash"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jmod.JmodTask.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: .line 1254
aconst_null
astore 5 /* cmdfile */
start local 5 // java.lang.String cmdfile
15: .line 1255
aload 3 /* content */
ldc "\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 6 /* lines */
start local 6 // java.lang.String[] lines
16: .line 1256
aload 6 /* lines */
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 27
StackMap locals: jdk.tools.jmod.JmodTask$JmodHelpFormatter java.util.Map java.util.Map java.lang.String java.lang.StringBuilder java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
17: aload 10
iload 8
aaload
astore 7 /* line */
start local 7 // java.lang.String line
18: .line 1257
aload 7 /* line */
ldc "--@"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
19: .line 1258
aload 7 /* line */
ldc "--@<filename>"
ldc "@<filename> "
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 5 /* cmdfile */
20: .line 1259
goto 26
StackMap locals: jdk.tools.jmod.JmodTask$JmodHelpFormatter java.util.Map java.util.Map java.lang.String java.lang.StringBuilder java.lang.String java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
21: aload 7 /* line */
ldc "Option"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 22
aload 7 /* line */
ldc "------"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
22: .line 1260
StackMap locals:
StackMap stack:
aload 4 /* builder */
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7 /* line */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: .line 1261
goto 26
StackMap locals:
StackMap stack:
24: aload 7 /* line */
ldc "Non-option arguments"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifne 26
25: .line 1262
aload 4 /* builder */
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7 /* line */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 // java.lang.String line
26: .line 1256
StackMap locals: jdk.tools.jmod.JmodTask$JmodHelpFormatter java.util.Map java.util.Map java.lang.String java.lang.StringBuilder java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
27: iload 8
iload 9
if_icmplt 17
28: .line 1265
aload 5 /* cmdfile */
ifnull 30
29: .line 1266
aload 4 /* builder */
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5 /* cmdfile */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
30: .line 1268
StackMap locals: jdk.tools.jmod.JmodTask$JmodHelpFormatter java.util.Map java.util.Map java.lang.String java.lang.StringBuilder java.lang.String java.lang.String[]
StackMap stack:
aload 4 /* builder */
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 // java.lang.String[] lines
end local 5 // java.lang.String cmdfile
end local 4 // java.lang.StringBuilder builder
end local 3 // java.lang.String content
end local 2 // java.util.Map all
end local 1 // java.util.Map options
end local 0 // jdk.tools.jmod.JmodTask$JmodHelpFormatter this
LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljdk/tools/jmod/JmodTask$JmodHelpFormatter;
0 31 1 options Ljava/util/Map<Ljava/lang/String;+Ljdk/internal/joptsimple/OptionDescriptor;>;
1 31 2 all Ljava/util/Map<Ljava/lang/String;Ljdk/internal/joptsimple/OptionDescriptor;>;
7 31 3 content Ljava/lang/String;
8 31 4 builder Ljava/lang/StringBuilder;
15 31 5 cmdfile Ljava/lang/String;
16 31 6 lines [Ljava/lang/String;
18 26 7 line Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;+Ljdk/internal/joptsimple/OptionDescriptor;>;)Ljava/lang/String;
MethodParameters:
Name Flags
options
}
SourceFile: "JmodTask.java"
NestHost: jdk.tools.jmod.JmodTask
InnerClasses:
private final JmodHelpFormatter = jdk.tools.jmod.JmodTask$JmodHelpFormatter of jdk.tools.jmod.JmodTask
jdk.tools.jmod.JmodTask$JmodHelpFormatter$1
Options = jdk.tools.jmod.JmodTask$Options of jdk.tools.jmod.JmodTask