public class jdk.internal.joptsimple.BuiltinHelpFormatter implements jdk.internal.joptsimple.HelpFormatter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.joptsimple.BuiltinHelpFormatter
super_class: java.lang.Object
{
private final jdk.internal.joptsimple.internal.Rows nonOptionRows;
descriptor: Ljdk/internal/joptsimple/internal/Rows;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.internal.Rows optionRows;
descriptor: Ljdk/internal/joptsimple/internal/Rows;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 80
iconst_2
invokespecial jdk.internal.joptsimple.BuiltinHelpFormatter.<init>:(II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.internal.joptsimple.internal.Rows
dup
iload 1
iconst_2
imul
iconst_0
invokespecial jdk.internal.joptsimple.internal.Rows.<init>:(II)V
putfield jdk.internal.joptsimple.BuiltinHelpFormatter.nonOptionRows:Ljdk/internal/joptsimple/internal/Rows;
2: aload 0
new jdk.internal.joptsimple.internal.Rows
dup
iload 1
iload 2
invokespecial jdk.internal.joptsimple.internal.Rows.<init>:(II)V
putfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 4 1 desiredOverallWidth I
0 4 2 desiredColumnSeparatorWidth I
MethodParameters:
Name Flags
desiredOverallWidth
desiredColumnSeparatorWidth
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=3, locals=4, args_size=2
start local 0 start local 1 0: new jdk.internal.joptsimple.BuiltinHelpFormatter$1
dup
aload 0
invokespecial jdk.internal.joptsimple.BuiltinHelpFormatter$1.<init>:(Ljdk/internal/joptsimple/BuiltinHelpFormatter;)V
1: astore 2
start local 2 2: new java.util.TreeSet
dup
aload 2
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 3
start local 3 3: aload 3
aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
4: aload 0
aload 3
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.addRows:(Ljava/util/Collection;)V
5: aload 0
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.formattedHelpOutput:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 6 1 options Ljava/util/Map<Ljava/lang/String;+Ljdk/internal/joptsimple/OptionDescriptor;>;
2 6 2 comparator Ljava/util/Comparator<Ljdk/internal/joptsimple/OptionDescriptor;>;
3 6 3 sorted Ljava/util/Set<Ljdk/internal/joptsimple/OptionDescriptor;>;
Signature: (Ljava/util/Map<Ljava/lang/String;+Ljdk/internal/joptsimple/OptionDescriptor;>;)Ljava/lang/String;
MethodParameters:
Name Flags
options
private java.lang.String formattedHelpOutput();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.nonOptionRows:Ljdk/internal/joptsimple/internal/Rows;
invokevirtual jdk.internal.joptsimple.internal.Rows.render:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
invokestatic jdk.internal.joptsimple.internal.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 4
3: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic jdk.internal.joptsimple.internal.Strings.LINE_SEPARATOR:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder java.lang.String
StackMap stack:
aload 1
aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
invokevirtual jdk.internal.joptsimple.internal.Rows.render:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
1 6 1 formatted Ljava/lang/StringBuilder;
2 6 2 nonOptionDisplay Ljava/lang/String;
private void addRows(java.util.Collection<? extends jdk.internal.joptsimple.OptionDescriptor>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.addNonOptionsDescription:(Ljava/util/Collection;)V
1: aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 3
2: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
ldc "No options specified"
ldc ""
invokevirtual jdk.internal.joptsimple.internal.Rows.add:(Ljava/lang/String;Ljava/lang/String;)V
goto 5
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.addHeaders:(Ljava/util/Collection;)V
4: aload 0
aload 1
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.addOptions:(Ljava/util/Collection;)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.fitRowsToWidth:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 7 1 options Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;
Signature: (Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;)V
MethodParameters:
Name Flags
options
private void addNonOptionsDescription(java.util.Collection<? extends jdk.internal.joptsimple.OptionDescriptor>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.findAndRemoveNonOptionsSpec:(Ljava/util/Collection;)Ljdk/internal/joptsimple/OptionDescriptor;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.shouldShowNonOptionArgumentDisplay:(Ljdk/internal/joptsimple/OptionDescriptor;)Z
ifeq 4
2: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.nonOptionRows:Ljdk/internal/joptsimple/internal/Rows;
ldc "Non-option arguments:"
ldc ""
invokevirtual jdk.internal.joptsimple.internal.Rows.add:(Ljava/lang/String;Ljava/lang/String;)V
3: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.nonOptionRows:Ljdk/internal/joptsimple/internal/Rows;
aload 0
aload 2
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.createNonOptionArgumentsDisplay:(Ljdk/internal/joptsimple/OptionDescriptor;)Ljava/lang/String;
ldc ""
invokevirtual jdk.internal.joptsimple.internal.Rows.add:(Ljava/lang/String;Ljava/lang/String;)V
4: StackMap locals: jdk.internal.joptsimple.OptionDescriptor
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 5 1 options Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;
1 5 2 nonOptions Ljdk/internal/joptsimple/OptionDescriptor;
Signature: (Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;)V
MethodParameters:
Name Flags
options
private boolean shouldShowNonOptionArgumentDisplay(jdk.internal.joptsimple.OptionDescriptor);
descriptor: (Ljdk/internal/joptsimple/OptionDescriptor;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.description:()Ljava/lang/String;
invokestatic jdk.internal.joptsimple.internal.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 4
1: aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.argumentTypeIndicator:()Ljava/lang/String;
invokestatic jdk.internal.joptsimple.internal.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 4
2: aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.argumentDescription:()Ljava/lang/String;
invokestatic jdk.internal.joptsimple.internal.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 4
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 5 1 nonOptions Ljdk/internal/joptsimple/OptionDescriptor;
MethodParameters:
Name Flags
nonOptions
private java.lang.String createNonOptionArgumentsDisplay(jdk.internal.joptsimple.OptionDescriptor);
descriptor: (Ljdk/internal/joptsimple/OptionDescriptor;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.maybeAppendOptionInfo:(Ljava/lang/StringBuilder;Ljdk/internal/joptsimple/OptionDescriptor;)V
2: aload 0
aload 2
aload 1
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.maybeAppendNonOptionsDescription:(Ljava/lang/StringBuilder;Ljdk/internal/joptsimple/OptionDescriptor;)V
3: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 4 1 nonOptions Ljdk/internal/joptsimple/OptionDescriptor;
1 4 2 buffer Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
nonOptions
private void maybeAppendNonOptionsDescription(java.lang.StringBuilder, jdk.internal.joptsimple.OptionDescriptor);
descriptor: (Ljava/lang/StringBuilder;Ljdk/internal/joptsimple/OptionDescriptor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 1
aload 2
invokeinterface jdk.internal.joptsimple.OptionDescriptor.description:()Ljava/lang/String;
invokestatic jdk.internal.joptsimple.internal.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 1
ldc " -- "
goto 2
StackMap locals:
StackMap stack: java.lang.StringBuilder
1: ldc ""
StackMap locals: jdk.internal.joptsimple.BuiltinHelpFormatter java.lang.StringBuilder jdk.internal.joptsimple.OptionDescriptor
StackMap stack: java.lang.StringBuilder java.lang.String
2: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 2
invokeinterface jdk.internal.joptsimple.OptionDescriptor.description:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 5 1 buffer Ljava/lang/StringBuilder;
0 5 2 nonOptions Ljdk/internal/joptsimple/OptionDescriptor;
MethodParameters:
Name Flags
buffer
nonOptions
private jdk.internal.joptsimple.OptionDescriptor findAndRemoveNonOptionsSpec(java.util.Collection<? extends jdk.internal.joptsimple.OptionDescriptor>);
descriptor: (Ljava/util/Collection;)Ljdk/internal/joptsimple/OptionDescriptor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 6
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.joptsimple.OptionDescriptor
astore 3
start local 3 3: aload 3
invokeinterface jdk.internal.joptsimple.OptionDescriptor.representsNonOptions:()Z
ifeq 6
4: aload 2
invokeinterface java.util.Iterator.remove:()V
5: aload 3
areturn
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 7: new java.lang.AssertionError
dup
ldc "no non-options argument spec"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 8 1 options Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;
1 7 2 it Ljava/util/Iterator<+Ljdk/internal/joptsimple/OptionDescriptor;>;
3 6 3 next Ljdk/internal/joptsimple/OptionDescriptor;
Signature: (Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;)Ljdk/internal/joptsimple/OptionDescriptor;
MethodParameters:
Name Flags
options
private void addHeaders(java.util.Collection<? extends jdk.internal.joptsimple.OptionDescriptor>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.hasRequiredOption:(Ljava/util/Collection;)Z
ifeq 4
1: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
ldc "Option (* = required)"
ldc "Description"
invokevirtual jdk.internal.joptsimple.internal.Rows.add:(Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
ldc "---------------------"
ldc "-----------"
invokevirtual jdk.internal.joptsimple.internal.Rows.add:(Ljava/lang/String;Ljava/lang/String;)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
ldc "Option"
ldc "Description"
invokevirtual jdk.internal.joptsimple.internal.Rows.add:(Ljava/lang/String;Ljava/lang/String;)V
5: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
ldc "------"
ldc "-----------"
invokevirtual jdk.internal.joptsimple.internal.Rows.add:(Ljava/lang/String;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 7 1 options Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;
Signature: (Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;)V
MethodParameters:
Name Flags
options
private boolean hasRequiredOption(java.util.Collection<? extends jdk.internal.joptsimple.OptionDescriptor>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.internal.joptsimple.BuiltinHelpFormatter java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.joptsimple.OptionDescriptor
astore 2
start local 2 2: aload 2
invokeinterface jdk.internal.joptsimple.OptionDescriptor.isRequired:()Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 6 1 options Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;
2 4 2 each Ljdk/internal/joptsimple/OptionDescriptor;
Signature: (Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;)Z
MethodParameters:
Name Flags
options
private void addOptions(java.util.Collection<? extends jdk.internal.joptsimple.OptionDescriptor>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.internal.joptsimple.BuiltinHelpFormatter java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.joptsimple.OptionDescriptor
astore 2
start local 2 2: aload 2
invokeinterface jdk.internal.joptsimple.OptionDescriptor.representsNonOptions:()Z
ifne 4
3: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
aload 0
aload 2
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.createOptionDisplay:(Ljdk/internal/joptsimple/OptionDescriptor;)Ljava/lang/String;
aload 0
aload 2
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.createDescriptionDisplay:(Ljdk/internal/joptsimple/OptionDescriptor;)Ljava/lang/String;
invokevirtual jdk.internal.joptsimple.internal.Rows.add:(Ljava/lang/String;Ljava/lang/String;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 6 1 options Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;
2 4 2 each Ljdk/internal/joptsimple/OptionDescriptor;
Signature: (Ljava/util/Collection<+Ljdk/internal/joptsimple/OptionDescriptor;>;)V
MethodParameters:
Name Flags
options
private java.lang.String createOptionDisplay(jdk.internal.joptsimple.OptionDescriptor);
descriptor: (Ljdk/internal/joptsimple/OptionDescriptor;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.isRequired:()Z
ifeq 1
ldc "* "
goto 2
StackMap locals: jdk.internal.joptsimple.BuiltinHelpFormatter jdk.internal.joptsimple.OptionDescriptor
StackMap stack: new 0 new 0
1: ldc ""
StackMap locals: jdk.internal.joptsimple.BuiltinHelpFormatter jdk.internal.joptsimple.OptionDescriptor
StackMap stack: new 0 new 0 java.lang.String
2: invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.options:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 4: goto 12
5: StackMap locals: java.lang.StringBuilder java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 2
aload 4
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 7
ldc "--"
goto 8
StackMap locals: jdk.internal.joptsimple.BuiltinHelpFormatter jdk.internal.joptsimple.OptionDescriptor java.lang.StringBuilder java.util.Iterator java.lang.String
StackMap stack: java.lang.StringBuilder
7: getstatic jdk.internal.joptsimple.ParserRules.HYPHEN:Ljava/lang/String;
StackMap locals: jdk.internal.joptsimple.BuiltinHelpFormatter jdk.internal.joptsimple.OptionDescriptor java.lang.StringBuilder java.util.Iterator java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
8: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 2
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 12
11: aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 13: aload 0
aload 2
aload 1
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.maybeAppendOptionInfo:(Ljava/lang/StringBuilder;Ljdk/internal/joptsimple/OptionDescriptor;)V
14: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 15 1 descriptor Ljdk/internal/joptsimple/OptionDescriptor;
3 15 2 buffer Ljava/lang/StringBuilder;
4 13 3 i Ljava/util/Iterator<Ljava/lang/String;>;
6 12 4 option Ljava/lang/String;
MethodParameters:
Name Flags
descriptor
private void maybeAppendOptionInfo(java.lang.StringBuilder, jdk.internal.joptsimple.OptionDescriptor);
descriptor: (Ljava/lang/StringBuilder;Ljdk/internal/joptsimple/OptionDescriptor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.extractTypeIndicator:(Ljdk/internal/joptsimple/OptionDescriptor;)Ljava/lang/String;
astore 3
start local 3 1: aload 2
invokeinterface jdk.internal.joptsimple.OptionDescriptor.argumentDescription:()Ljava/lang/String;
astore 4
start local 4 2: aload 3
ifnonnull 3
aload 4
invokestatic jdk.internal.joptsimple.internal.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 4
3: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
aload 3
aload 4
aload 2
invokeinterface jdk.internal.joptsimple.OptionDescriptor.requiresArgument:()Z
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.appendOptionHelp:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Z)V
4: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 5 1 buffer Ljava/lang/StringBuilder;
0 5 2 descriptor Ljdk/internal/joptsimple/OptionDescriptor;
1 5 3 indicator Ljava/lang/String;
2 5 4 description Ljava/lang/String;
MethodParameters:
Name Flags
buffer
descriptor
private java.lang.String (jdk.internal.joptsimple.OptionDescriptor);
descriptor: (Ljdk/internal/joptsimple/OptionDescriptor;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.argumentTypeIndicator:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic jdk.internal.joptsimple.internal.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 3
ldc Ljava/lang/String;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 2
invokestatic jdk.internal.joptsimple.internal.Classes.shortNameOf:(Ljava/lang/String;)Ljava/lang/String;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 4 1 descriptor Ljdk/internal/joptsimple/OptionDescriptor;
1 4 2 indicator Ljava/lang/String;
MethodParameters:
Name Flags
descriptor
private void appendOptionHelp(java.lang.StringBuilder, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
ifeq 2
1: aload 0
aload 1
aload 2
aload 3
bipush 60
bipush 62
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.appendTypeIndicator:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;CC)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
bipush 91
bipush 93
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.appendTypeIndicator:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;CC)V
3: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 4 1 buffer Ljava/lang/StringBuilder;
0 4 2 typeIndicator Ljava/lang/String;
0 4 3 description Ljava/lang/String;
0 4 4 required Z
MethodParameters:
Name Flags
buffer
typeIndicator
description
required
private void appendTypeIndicator(java.lang.StringBuilder, java.lang.String, java.lang.String, char, char);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;CC)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
1: aload 2
ifnull 3
2: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals:
StackMap stack:
aload 3
invokestatic jdk.internal.joptsimple.internal.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 7
4: aload 2
ifnull 6
5: aload 1
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 9 1 buffer Ljava/lang/StringBuilder;
0 9 2 typeIndicator Ljava/lang/String;
0 9 3 description Ljava/lang/String;
0 9 4 start C
0 9 5 end C
MethodParameters:
Name Flags
buffer
typeIndicator
description
start
end
private java.lang.String createDescriptionDisplay(jdk.internal.joptsimple.OptionDescriptor);
descriptor: (Ljdk/internal/joptsimple/OptionDescriptor;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.defaultValues:()Ljava/util/List;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
2: aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.description:()Ljava/lang/String;
areturn
3: StackMap locals: java.util.List
StackMap stack:
aload 0
aload 2
invokevirtual jdk.internal.joptsimple.BuiltinHelpFormatter.createDefaultValuesDisplay:(Ljava/util/List;)Ljava/lang/String;
astore 3
start local 3 4: new java.lang.StringBuilder
dup
aload 1
invokeinterface jdk.internal.joptsimple.OptionDescriptor.description:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
new java.lang.StringBuilder
dup
ldc "default: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
bipush 40
bipush 41
invokestatic jdk.internal.joptsimple.internal.Strings.surround:(Ljava/lang/String;CC)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 5 1 descriptor Ljdk/internal/joptsimple/OptionDescriptor;
1 5 2 defaultValues Ljava/util/List<*>;
4 5 3 defaultValuesDisplay Ljava/lang/String;
MethodParameters:
Name Flags
descriptor
private java.lang.String createDefaultValuesDisplay(java.util.List<?>);
descriptor: (Ljava/util/List;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 1
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
0 3 1 defaultValues Ljava/util/List<*>;
Signature: (Ljava/util/List<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
defaultValues
private void fitRowsToWidth();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.nonOptionRows:Ljdk/internal/joptsimple/internal/Rows;
invokevirtual jdk.internal.joptsimple.internal.Rows.fitToWidth:()V
1: aload 0
getfield jdk.internal.joptsimple.BuiltinHelpFormatter.optionRows:Ljdk/internal/joptsimple/internal/Rows;
invokevirtual jdk.internal.joptsimple.internal.Rows.fitToWidth:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/joptsimple/BuiltinHelpFormatter;
}
SourceFile: "BuiltinHelpFormatter.java"
NestMembers:
jdk.internal.joptsimple.BuiltinHelpFormatter$1
InnerClasses:
jdk.internal.joptsimple.BuiltinHelpFormatter$1