public class io.vertx.core.cli.UsageMessageFormatter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.cli.UsageMessageFormatter
super_class: java.lang.Object
{
public static final int DEFAULT_WIDTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 80
public static final int DEFAULT_LEFT_PAD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int DEFAULT_DESC_PAD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final java.lang.String DEFAULT_USAGE_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Usage: "
public static final java.lang.String DEFAULT_OPT_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "-"
public static final java.lang.String DEFAULT_LONG_OPT_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "--"
public static final java.lang.String DEFAULT_LONG_OPT_SEPARATOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: " "
public static final java.lang.String DEFAULT_ARG_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "arg"
private int width;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int leftPad;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int descPad;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String usagePrefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String newLine;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String defaultOptionPrefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String defaultLongOptPrefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String defaultArgName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String longOptSeparator;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected java.util.Comparator<io.vertx.core.cli.Option> optionComparator;
descriptor: Ljava/util/Comparator;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Comparator<Lio/vertx/core/cli/Option;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 80
putfield io.vertx.core.cli.UsageMessageFormatter.width:I
2: aload 0
iconst_1
putfield io.vertx.core.cli.UsageMessageFormatter.leftPad:I
3: aload 0
iconst_3
putfield io.vertx.core.cli.UsageMessageFormatter.descPad:I
4: aload 0
ldc "Usage: "
putfield io.vertx.core.cli.UsageMessageFormatter.usagePrefix:Ljava/lang/String;
5: aload 0
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
putfield io.vertx.core.cli.UsageMessageFormatter.newLine:Ljava/lang/String;
6: aload 0
ldc "-"
putfield io.vertx.core.cli.UsageMessageFormatter.defaultOptionPrefix:Ljava/lang/String;
7: aload 0
ldc "--"
putfield io.vertx.core.cli.UsageMessageFormatter.defaultLongOptPrefix:Ljava/lang/String;
8: aload 0
ldc "arg"
putfield io.vertx.core.cli.UsageMessageFormatter.defaultArgName:Ljava/lang/String;
9: aload 0
ldc " "
putfield io.vertx.core.cli.UsageMessageFormatter.longOptSeparator:Ljava/lang/String;
10: aload 0
11: invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic 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;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
io/vertx/core/cli/UsageMessageFormatter.lambda$0(Lio/vertx/core/cli/Option;Lio/vertx/core/cli/Option;)I (6)
(Lio/vertx/core/cli/Option;Lio/vertx/core/cli/Option;)I
putfield io.vertx.core.cli.UsageMessageFormatter.optionComparator:Ljava/util/Comparator;
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setWidth(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.vertx.core.cli.UsageMessageFormatter.width:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 width I
MethodParameters:
Name Flags
width
public int getWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.width:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setLeftPadding(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.vertx.core.cli.UsageMessageFormatter.leftPad:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 padding I
MethodParameters:
Name Flags
padding
public int getLeftPadding();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.leftPad:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setDescPadding(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.vertx.core.cli.UsageMessageFormatter.descPad:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 padding I
MethodParameters:
Name Flags
padding
public int getDescPadding();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.descPad:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setUsagePrefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.cli.UsageMessageFormatter.usagePrefix:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public java.lang.String getUsagePrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.usagePrefix:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setNewLine(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.cli.UsageMessageFormatter.newLine:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 newline Ljava/lang/String;
MethodParameters:
Name Flags
newline
public java.lang.String getNewLine();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.newLine:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setOptionPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.cli.UsageMessageFormatter.defaultOptionPrefix:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public java.lang.String getOptionPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.defaultOptionPrefix:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setLongOptionPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.cli.UsageMessageFormatter.defaultLongOptPrefix:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public java.lang.String getLongOptionPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.defaultLongOptPrefix:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setLongOptionSeparator(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.cli.UsageMessageFormatter.longOptSeparator:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 longOptSeparator Ljava/lang/String;
MethodParameters:
Name Flags
longOptSeparator
public java.lang.String getLongOptionSeparator();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.longOptSeparator:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public void setArgName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.cli.UsageMessageFormatter.defaultArgName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getArgName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.defaultArgName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
public java.util.Comparator<io.vertx.core.cli.Option> getOptionComparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.optionComparator:Ljava/util/Comparator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/UsageMessageFormatter;
Signature: ()Ljava/util/Comparator<Lio/vertx/core/cli/Option;>;
public void setOptionComparator(java.util.Comparator<io.vertx.core.cli.Option>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.cli.UsageMessageFormatter.optionComparator:Ljava/util/Comparator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 comparator Ljava/util/Comparator<Lio/vertx/core/cli/Option;>;
Signature: (Ljava/util/Comparator<Lio/vertx/core/cli/Option;>;)V
MethodParameters:
Name Flags
comparator
protected void appendOption(java.lang.StringBuilder, io.vertx.core.cli.Option);
descriptor: (Ljava/lang/StringBuilder;Lio/vertx/core/cli/Option;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual io.vertx.core.cli.Option.isHidden:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.cli.Option.isRequired:()Z
ifne 4
3: aload 1
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 7
5: aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 8
7: StackMap locals:
StackMap stack:
aload 1
ldc "--"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.cli.Option.getChoices:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 14
9: aload 1
aload 2
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 10
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getLongOptionSeparator:()Ljava/lang/String;
goto 11
StackMap locals:
StackMap stack: java.lang.StringBuilder
10: ldc " "
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder io.vertx.core.cli.Option
StackMap stack: java.lang.StringBuilder java.lang.String
11: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
aload 2
invokevirtual io.vertx.core.cli.Option.getChoices:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
ldc ", "
ldc "{"
ldc "}"
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: goto 21
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.cli.Option.acceptValue:()Z
ifeq 21
aload 2
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
ifnull 15
aload 2
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifeq 21
15: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 16
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getLongOptionSeparator:()Ljava/lang/String;
goto 17
StackMap locals:
StackMap stack: java.lang.StringBuilder
16: ldc " "
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder io.vertx.core.cli.Option
StackMap stack: java.lang.StringBuilder java.lang.String
17: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 1
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
ifnull 19
aload 2
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
goto 20
StackMap locals:
StackMap stack: java.lang.StringBuilder
19: aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getArgName:()Ljava/lang/String;
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder io.vertx.core.cli.Option
StackMap stack: java.lang.StringBuilder java.lang.String
20: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.cli.Option.isRequired:()Z
ifne 23
22: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 24 1 buff Ljava/lang/StringBuilder;
0 24 2 option Lio/vertx/core/cli/Option;
MethodParameters:
Name Flags
buff
option
protected void appendArgument(java.lang.StringBuilder, io.vertx.core.cli.Argument, boolean);
descriptor: (Ljava/lang/StringBuilder;Lio/vertx/core/cli/Argument;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual io.vertx.core.cli.Argument.isHidden:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
iload 3
ifne 4
3: aload 1
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual io.vertx.core.cli.Argument.getArgName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 2
invokevirtual io.vertx.core.cli.Argument.isMultiValued:()Z
ifeq 7
6: aload 1
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
iload 3
ifne 9
8: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 10 1 buff Ljava/lang/StringBuilder;
0 10 2 argument Lio/vertx/core/cli/Argument;
0 10 3 required Z
MethodParameters:
Name Flags
buff
argument
required
public void usage(java.lang.StringBuilder, io.vertx.core.cli.CLI);
descriptor: (Ljava/lang/StringBuilder;Lio/vertx/core/cli/CLI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokevirtual io.vertx.core.cli.UsageMessageFormatter.usage:(Ljava/lang/StringBuilder;Ljava/lang/String;Lio/vertx/core/cli/CLI;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 builder Ljava/lang/StringBuilder;
0 2 2 cli Lio/vertx/core/cli/CLI;
MethodParameters:
Name Flags
builder
cli
public void usage(java.lang.StringBuilder, java.lang.String, io.vertx.core.cli.CLI);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Lio/vertx/core/cli/CLI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.core.cli.UsageMessageFormatter.computeUsageLine:(Ljava/lang/StringBuilder;Ljava/lang/String;Lio/vertx/core/cli/CLI;)V
1: aload 3
invokeinterface io.vertx.core.cli.CLI.getSummary:()Ljava/lang/String;
ifnull 3
aload 3
invokeinterface io.vertx.core.cli.CLI.getSummary:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 3
2: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface io.vertx.core.cli.CLI.getSummary:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.cli.UsageMessageFormatter.buildWrapped:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 3
invokeinterface io.vertx.core.cli.CLI.getDescription:()Ljava/lang/String;
ifnull 5
aload 3
invokeinterface io.vertx.core.cli.CLI.getDescription:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 5
4: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface io.vertx.core.cli.CLI.getDescription:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.cli.UsageMessageFormatter.buildWrapped:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 1
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 3
invokeinterface io.vertx.core.cli.CLI.getOptions:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 8
aload 3
invokeinterface io.vertx.core.cli.CLI.getArguments:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 8
7: return
8: StackMap locals:
StackMap stack:
aload 1
ldc "Options and Arguments:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 0
aload 1
aload 3
invokeinterface io.vertx.core.cli.CLI.getOptions:()Ljava/util/List;
aload 3
invokeinterface io.vertx.core.cli.CLI.getArguments:()Ljava/util/List;
invokevirtual io.vertx.core.cli.UsageMessageFormatter.computeOptionsAndArguments:(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/util/List;)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 11 1 builder Ljava/lang/StringBuilder;
0 11 2 prefix Ljava/lang/String;
0 11 3 cli Lio/vertx/core/cli/CLI;
MethodParameters:
Name Flags
builder
prefix
cli
public void computeUsage(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
bipush 32
invokevirtual java.lang.String.indexOf:(I)I
iconst_1
iadd
istore 3
start local 3 1: aload 0
aload 1
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getUsagePrefix:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iload 3
iadd
new java.lang.StringBuilder
dup
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getUsagePrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.cli.UsageMessageFormatter.buildWrapped:(Ljava/lang/StringBuilder;ILjava/lang/String;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 3 1 buffer Ljava/lang/StringBuilder;
0 3 2 cmdLineSyntax Ljava/lang/String;
1 3 3 argPos I
MethodParameters:
Name Flags
buffer
cmdLineSyntax
public void computeUsageLine(java.lang.StringBuilder, java.lang.String, io.vertx.core.cli.CLI);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Lio/vertx/core/cli/CLI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnonnull 3
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getUsagePrefix:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 2: goto 6
end local 4 3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getUsagePrefix:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
astore 4
start local 4 4: aload 2
ldc " "
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 6
5: aload 4
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 4
aload 3
invokeinterface io.vertx.core.cli.CLI.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getOptionComparator:()Ljava/util/Comparator;
ifnull 9
8: aload 3
invokeinterface io.vertx.core.cli.CLI.getOptions:()Ljava/util/List;
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getOptionComparator:()Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
9: StackMap locals:
StackMap stack:
aload 3
invokeinterface io.vertx.core.cli.CLI.getOptions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.lang.String io.vertx.core.cli.CLI java.lang.StringBuilder top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Option
astore 5
start local 5 11: aload 0
aload 4
aload 5
invokevirtual io.vertx.core.cli.UsageMessageFormatter.appendOption:(Ljava/lang/StringBuilder;Lio/vertx/core/cli/Option;)V
12: aload 4
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
14: aload 3
invokeinterface io.vertx.core.cli.CLI.getArguments:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 18
StackMap locals:
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Argument
astore 5
start local 5 16: aload 0
aload 4
aload 5
aload 5
invokevirtual io.vertx.core.cli.Argument.isRequired:()Z
invokevirtual io.vertx.core.cli.UsageMessageFormatter.appendArgument:(Ljava/lang/StringBuilder;Lio/vertx/core/cli/Argument;Z)V
17: aload 4
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 18: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
19: aload 0
aload 1
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
bipush 32
invokevirtual java.lang.String.indexOf:(I)I
iconst_1
iadd
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.cli.UsageMessageFormatter.buildWrapped:(Ljava/lang/StringBuilder;ILjava/lang/String;)V
20: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 21 1 buffer Ljava/lang/StringBuilder;
0 21 2 prefix Ljava/lang/String;
0 21 3 cli Lio/vertx/core/cli/CLI;
2 3 4 buff Ljava/lang/StringBuilder;
4 21 4 buff Ljava/lang/StringBuilder;
11 13 5 option Lio/vertx/core/cli/Option;
16 18 5 arg Lio/vertx/core/cli/Argument;
MethodParameters:
Name Flags
buffer
prefix
cli
public void computeOptionsAndArguments(java.lang.StringBuilder, java.util.List<io.vertx.core.cli.Option>, java.util.List<io.vertx.core.cli.Argument>);
descriptor: (Ljava/lang/StringBuilder;Ljava/util/List;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.core.cli.UsageMessageFormatter.renderOptionsAndArguments:(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/util/List;)Ljava/lang/StringBuilder;
pop
1: aload 1
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.newLine:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 3 1 buffer Ljava/lang/StringBuilder;
0 3 2 options Ljava/util/List<Lio/vertx/core/cli/Option;>;
0 3 3 arguments Ljava/util/List<Lio/vertx/core/cli/Argument;>;
Signature: (Ljava/lang/StringBuilder;Ljava/util/List<Lio/vertx/core/cli/Option;>;Ljava/util/List<Lio/vertx/core/cli/Argument;>;)V
MethodParameters:
Name Flags
buffer
options
arguments
public void buildWrapped(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 2
invokevirtual io.vertx.core.cli.UsageMessageFormatter.buildWrapped:(Ljava/lang/StringBuilder;ILjava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 2 1 buffer Ljava/lang/StringBuilder;
0 2 2 text Ljava/lang/String;
MethodParameters:
Name Flags
buffer
text
public void buildWrapped(java.lang.StringBuilder, int, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.width:I
iload 2
aload 3
invokevirtual io.vertx.core.cli.UsageMessageFormatter.renderWrappedTextBlock:(Ljava/lang/StringBuilder;IILjava/lang/String;)Ljava/lang/Appendable;
pop
1: aload 1
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.newLine:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 3 1 buffer Ljava/lang/StringBuilder;
0 3 2 nextLineTabStop I
0 3 3 text Ljava/lang/String;
MethodParameters:
Name Flags
buffer
nextLineTabStop
text
protected java.lang.StringBuilder renderCommands(java.lang.StringBuilder, java.util.Collection<io.vertx.core.cli.CLI>);
descriptor: (Ljava/lang/StringBuilder;Ljava/util/Collection;)Ljava/lang/StringBuilder;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.leftPad:I
invokestatic io.vertx.core.cli.UsageMessageFormatter.createPadding:(I)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.descPad:I
invokestatic io.vertx.core.cli.UsageMessageFormatter.createPadding:(I)Ljava/lang/String;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 4: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 13
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.Collection java.lang.String java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.CLI
astore 7
start local 7 6: aload 7
invokeinterface io.vertx.core.cli.CLI.isHidden:()Z
ifne 13
7: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 9
start local 9 8: aload 9
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokeinterface io.vertx.core.cli.CLI.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 6
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 9
invokevirtual java.lang.StringBuilder.length:()I
iload 5
if_icmple 11
aload 9
invokevirtual java.lang.StringBuilder.length:()I
goto 12
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.Collection java.lang.String java.lang.String int java.util.List io.vertx.core.cli.CLI java.util.Iterator java.lang.StringBuilder
StackMap stack:
11: iload 5
StackMap locals:
StackMap stack: int
12: istore 5
end local 9 end local 7 13: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.Collection java.lang.String java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
14: iconst_0
istore 7
start local 7 15: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
start local 8 16: goto 29
17: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.Collection java.lang.String java.lang.String int java.util.List int java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.CLI
astore 9
start local 9 18: aload 9
invokeinterface io.vertx.core.cli.CLI.isHidden:()Z
ifeq 20
19: goto 29
20: StackMap locals: io.vertx.core.cli.CLI
StackMap stack:
new java.lang.StringBuilder
dup
aload 6
iload 7
iinc 7 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.StringBuilder
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 10
start local 10 21: aload 10
invokevirtual java.lang.StringBuilder.length:()I
iload 5
if_icmpge 23
22: aload 10
iload 5
aload 10
invokevirtual java.lang.StringBuilder.length:()I
isub
invokestatic io.vertx.core.cli.UsageMessageFormatter.createPadding:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 10
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: iload 5
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.descPad:I
iadd
istore 11
start local 11 25: aload 10
aload 9
invokeinterface io.vertx.core.cli.CLI.getSummary:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 0
aload 1
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.width:I
iload 11
aload 10
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.cli.UsageMessageFormatter.renderWrappedText:(Ljava/lang/StringBuilder;IILjava/lang/String;)Ljava/lang/StringBuilder;
pop
27: aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 29
28: aload 1
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getNewLine:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 end local 10 end local 9 29: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 8 30: aload 1
areturn
end local 7 end local 6 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 31 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 31 1 sb Ljava/lang/StringBuilder;
0 31 2 commands Ljava/util/Collection<Lio/vertx/core/cli/CLI;>;
1 31 3 lpad Ljava/lang/String;
2 31 4 dpad Ljava/lang/String;
3 31 5 max I
4 31 6 prefixList Ljava/util/List<Ljava/lang/StringBuilder;>;
6 13 7 command Lio/vertx/core/cli/CLI;
8 13 9 buf Ljava/lang/StringBuilder;
15 31 7 x I
16 30 8 it Ljava/util/Iterator<Lio/vertx/core/cli/CLI;>;
18 29 9 command Lio/vertx/core/cli/CLI;
21 29 10 buf Ljava/lang/StringBuilder;
25 29 11 nextLineTabStop I
Signature: (Ljava/lang/StringBuilder;Ljava/util/Collection<Lio/vertx/core/cli/CLI;>;)Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
sb
commands
public static boolean isNullOrEmpty(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
protected java.lang.StringBuilder renderOptionsAndArguments(java.lang.StringBuilder, java.util.List<io.vertx.core.cli.Option>, java.util.List<io.vertx.core.cli.Argument>);
descriptor: (Ljava/lang/StringBuilder;Ljava/util/List;Ljava/util/List;)Ljava/lang/StringBuilder;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.leftPad:I
invokestatic io.vertx.core.cli.UsageMessageFormatter.createPadding:(I)Ljava/lang/String;
astore 4
start local 4 1: aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.descPad:I
invokestatic io.vertx.core.cli.UsageMessageFormatter.createPadding:(I)Ljava/lang/String;
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 4: aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getOptionComparator:()Ljava/util/Comparator;
ifnull 6
5: aload 2
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getOptionComparator:()Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
6: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 38
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
7: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Option
astore 8
start local 8 8: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 10
start local 10 9: aload 8
invokevirtual io.vertx.core.cli.Option.isHidden:()Z
ifeq 11
10: goto 38
11: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List io.vertx.core.cli.Option java.util.Iterator java.lang.StringBuilder
StackMap stack:
aload 8
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 14
12: aload 10
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getLongOptionPrefix:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: goto 17
14: StackMap locals:
StackMap stack:
aload 10
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getOptionPrefix:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual io.vertx.core.cli.Option.getShortName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 8
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 17
16: aload 10
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getLongOptionPrefix:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 8
invokevirtual io.vertx.core.cli.Option.getChoices:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 23
18: aload 10
aload 8
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 19
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.longOptSeparator:Ljava/lang/String;
goto 20
StackMap locals:
StackMap stack: java.lang.StringBuilder
19: ldc " "
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List io.vertx.core.cli.Option java.util.Iterator java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder java.lang.String
20: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: aload 10
aload 8
invokevirtual io.vertx.core.cli.Option.getChoices:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
ldc ", "
ldc "{"
ldc "}"
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: goto 34
StackMap locals:
StackMap stack:
23: aload 8
invokevirtual io.vertx.core.cli.Option.acceptValue:()Z
ifeq 34
24: aload 8
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
astore 11
start local 11 25: aload 11
ifnull 28
aload 11
invokevirtual java.lang.String.length:()I
ifne 28
26: aload 10
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
27: goto 34
28: StackMap locals: java.lang.String
StackMap stack:
aload 10
aload 8
invokevirtual io.vertx.core.cli.Option.getLongName:()Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 29
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.longOptSeparator:Ljava/lang/String;
goto 30
StackMap locals:
StackMap stack: java.lang.StringBuilder
29: ldc " "
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List io.vertx.core.cli.Option java.util.Iterator java.lang.StringBuilder java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
30: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: aload 10
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
ifnull 32
aload 8
invokevirtual io.vertx.core.cli.Option.getArgName:()Ljava/lang/String;
goto 33
StackMap locals:
StackMap stack: java.lang.StringBuilder
32: aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getArgName:()Ljava/lang/String;
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List io.vertx.core.cli.Option java.util.Iterator java.lang.StringBuilder java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
33: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 34: StackMap locals:
StackMap stack:
aload 7
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
35: aload 10
invokevirtual java.lang.StringBuilder.length:()I
iload 6
if_icmple 36
aload 10
invokevirtual java.lang.StringBuilder.length:()I
goto 37
StackMap locals:
StackMap stack:
36: iload 6
StackMap locals:
StackMap stack: int
37: istore 6
end local 10 end local 8 38: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
39: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 49
StackMap locals:
StackMap stack:
40: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Argument
astore 8
start local 8 41: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 10
start local 10 42: aload 8
invokevirtual io.vertx.core.cli.Argument.isHidden:()Z
ifeq 44
43: goto 49
44: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List io.vertx.core.cli.Argument java.util.Iterator java.lang.StringBuilder
StackMap stack:
aload 10
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual io.vertx.core.cli.Argument.getArgName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: aload 7
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
46: aload 10
invokevirtual java.lang.StringBuilder.length:()I
iload 6
if_icmple 47
aload 10
invokevirtual java.lang.StringBuilder.length:()I
goto 48
StackMap locals:
StackMap stack:
47: iload 6
StackMap locals:
StackMap stack: int
48: istore 6
end local 10 end local 8 49: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 40
50: iconst_0
istore 8
start local 8 51: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
start local 9 52: goto 66
53: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder java.util.List java.util.List java.lang.String java.lang.String int java.util.List int java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Option
astore 10
start local 10 54: aload 10
invokevirtual io.vertx.core.cli.Option.isHidden:()Z
ifeq 56
55: goto 66
56: StackMap locals: io.vertx.core.cli.Option
StackMap stack:
new java.lang.StringBuilder
dup
aload 7
iload 8
iinc 8 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.StringBuilder
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 11
start local 11 57: aload 11
invokevirtual java.lang.StringBuilder.length:()I
iload 6
if_icmpge 59
58: aload 11
iload 6
aload 11
invokevirtual java.lang.StringBuilder.length:()I
isub
invokestatic io.vertx.core.cli.UsageMessageFormatter.createPadding:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
59: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 11
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
60: iload 6
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.descPad:I
iadd
istore 12
start local 12 61: aload 10
invokevirtual io.vertx.core.cli.Option.getDescription:()Ljava/lang/String;
ifnull 63
62: aload 11
aload 10
invokevirtual io.vertx.core.cli.Option.getDescription:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
63: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.width:I
iload 12
aload 11
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.cli.UsageMessageFormatter.renderWrappedText:(Ljava/lang/StringBuilder;IILjava/lang/String;)Ljava/lang/StringBuilder;
pop
64: aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 66
65: aload 1
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getNewLine:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 12 end local 11 end local 10 66: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 53
end local 9 67: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 69
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 69
68: aload 1
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getNewLine:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
69: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
start local 9 70: goto 84
71: StackMap locals: java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.cli.Argument
astore 10
start local 10 72: aload 10
invokevirtual io.vertx.core.cli.Argument.isHidden:()Z
ifeq 74
73: goto 84
74: StackMap locals: io.vertx.core.cli.Argument
StackMap stack:
new java.lang.StringBuilder
dup
aload 7
iload 8
iinc 8 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.StringBuilder
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 11
start local 11 75: aload 11
invokevirtual java.lang.StringBuilder.length:()I
iload 6
if_icmpge 77
76: aload 11
iload 6
aload 11
invokevirtual java.lang.StringBuilder.length:()I
isub
invokestatic io.vertx.core.cli.UsageMessageFormatter.createPadding:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
77: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 11
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
78: iload 6
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.descPad:I
iadd
istore 12
start local 12 79: aload 10
invokevirtual io.vertx.core.cli.Argument.getDescription:()Ljava/lang/String;
ifnull 81
80: aload 11
aload 10
invokevirtual io.vertx.core.cli.Argument.getDescription:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
81: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 0
getfield io.vertx.core.cli.UsageMessageFormatter.width:I
iload 12
aload 11
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.cli.UsageMessageFormatter.renderWrappedText:(Ljava/lang/StringBuilder;IILjava/lang/String;)Ljava/lang/StringBuilder;
pop
82: aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 84
83: aload 1
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getNewLine:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 12 end local 11 end local 10 84: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 71
end local 9 85: aload 1
areturn
end local 8 end local 7 end local 6 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 86 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 86 1 sb Ljava/lang/StringBuilder;
0 86 2 options Ljava/util/List<Lio/vertx/core/cli/Option;>;
0 86 3 arguments Ljava/util/List<Lio/vertx/core/cli/Argument;>;
1 86 4 lpad Ljava/lang/String;
2 86 5 dpad Ljava/lang/String;
3 86 6 max I
4 86 7 prefixList Ljava/util/List<Ljava/lang/StringBuilder;>;
8 38 8 option Lio/vertx/core/cli/Option;
9 38 10 buf Ljava/lang/StringBuilder;
25 34 11 argName Ljava/lang/String;
41 49 8 argument Lio/vertx/core/cli/Argument;
42 49 10 buf Ljava/lang/StringBuilder;
51 86 8 x I
52 67 9 it Ljava/util/Iterator<Lio/vertx/core/cli/Option;>;
54 66 10 option Lio/vertx/core/cli/Option;
57 66 11 optBuf Ljava/lang/StringBuilder;
61 66 12 nextLineTabStop I
70 85 9 it Ljava/util/Iterator<Lio/vertx/core/cli/Argument;>;
72 84 10 argument Lio/vertx/core/cli/Argument;
75 84 11 argBuf Ljava/lang/StringBuilder;
79 84 12 nextLineTabStop I
Signature: (Ljava/lang/StringBuilder;Ljava/util/List<Lio/vertx/core/cli/Option;>;Ljava/util/List<Lio/vertx/core/cli/Argument;>;)Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
sb
options
arguments
protected java.lang.StringBuilder renderWrappedText(java.lang.StringBuilder, int, int, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;IILjava/lang/String;)Ljava/lang/StringBuilder;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
iload 2
iconst_0
invokestatic io.vertx.core.cli.UsageMessageFormatter.findWrapPos:(Ljava/lang/String;II)I
istore 5
start local 5 1: iload 5
iconst_m1
if_icmpne 4
2: aload 1
aload 4
invokestatic io.vertx.core.cli.UsageMessageFormatter.rtrim:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
areturn
4: StackMap locals: int
StackMap stack:
aload 1
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.rtrim:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getNewLine:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: iload 3
iload 2
if_icmplt 7
6: iconst_1
istore 3
7: StackMap locals:
StackMap stack:
iload 3
invokestatic io.vertx.core.cli.UsageMessageFormatter.createPadding:(I)Ljava/lang/String;
astore 6
start local 6 8: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
9: aload 4
iload 2
iconst_0
invokestatic io.vertx.core.cli.UsageMessageFormatter.findWrapPos:(Ljava/lang/String;II)I
istore 5
10: iload 5
iconst_m1
if_icmpne 13
11: aload 1
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
areturn
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.String.length:()I
iload 2
if_icmple 15
iload 5
iload 3
iconst_1
isub
if_icmpne 15
14: iload 2
istore 5
15: StackMap locals:
StackMap stack:
aload 1
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic io.vertx.core.cli.UsageMessageFormatter.rtrim:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getNewLine:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: goto 8
end local 6 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 17 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 17 1 sb Ljava/lang/StringBuilder;
0 17 2 width I
0 17 3 nextLineTabStop I
0 17 4 text Ljava/lang/String;
1 17 5 pos I
8 17 6 padding Ljava/lang/String;
MethodParameters:
Name Flags
sb
width
nextLineTabStop
text
public java.lang.Appendable renderWrappedTextBlock(java.lang.StringBuilder, int, int, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;IILjava/lang/String;)Ljava/lang/Appendable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.io.BufferedReader
dup
new java.io.StringReader
dup
aload 4
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 5
start local 5 1: iconst_1
istore 7
start local 7 2: goto 8
start local 6 3: StackMap locals: java.io.BufferedReader java.lang.String int
StackMap stack:
iload 7
ifne 6
4: aload 1
aload 0
invokevirtual io.vertx.core.cli.UsageMessageFormatter.getNewLine:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
iconst_0
istore 7
7: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
aload 6
invokevirtual io.vertx.core.cli.UsageMessageFormatter.renderWrappedText:(Ljava/lang/StringBuilder;IILjava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 8: StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder int int java.lang.String java.io.BufferedReader top int
StackMap stack:
aload 5
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 6
start local 6 9: ifnonnull 3
end local 7 end local 6 end local 5 10: goto 12
StackMap locals: io.vertx.core.cli.UsageMessageFormatter java.lang.StringBuilder int int java.lang.String
StackMap stack: java.io.IOException
11: pop
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/cli/UsageMessageFormatter;
0 13 1 sb Ljava/lang/StringBuilder;
0 13 2 width I
0 13 3 nextLineTabStop I
0 13 4 text Ljava/lang/String;
1 10 5 in Ljava/io/BufferedReader;
3 8 6 line Ljava/lang/String;
9 10 6 line Ljava/lang/String;
2 10 7 firstLine Z
Exception table:
from to target type
0 10 11 Class java.io.IOException
MethodParameters:
Name Flags
sb
width
nextLineTabStop
text
public static int findWrapPos(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 10
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 1: iload 3
iconst_m1
if_icmpeq 3
iload 3
iload 1
if_icmpgt 3
2: iload 3
iconst_1
iadd
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
bipush 9
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 3
4: iload 3
iconst_m1
if_icmpeq 6
iload 3
iload 1
if_icmpgt 6
5: iload 3
iconst_1
iadd
ireturn
6: StackMap locals:
StackMap stack:
iload 2
iload 1
iadd
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 8
7: iconst_m1
ireturn
8: StackMap locals:
StackMap stack:
iload 2
iload 1
iadd
istore 3
goto 13
9: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 10: iload 4
bipush 32
if_icmpeq 14
iload 4
bipush 10
if_icmpeq 14
iload 4
bipush 13
if_icmpne 12
11: goto 14
end local 4 12: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
13: iload 3
iload 2
if_icmpge 9
14: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmple 16
15: iload 3
ireturn
16: StackMap locals:
StackMap stack:
iload 2
iload 1
iadd
istore 3
17: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmpne 18
iconst_m1
goto 19
StackMap locals:
StackMap stack:
18: iload 3
StackMap locals:
StackMap stack: int
19: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 text Ljava/lang/String;
0 20 1 width I
0 20 2 startPos I
1 20 3 pos I
10 12 4 c C
MethodParameters:
Name Flags
text
width
startPos
public static java.lang.String createPadding(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iload 0
newarray 5
astore 1
start local 1 1: aload 1
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
2: new java.lang.String
dup
aload 1
invokespecial java.lang.String.<init>:([C)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 len I
1 3 1 padding [C
MethodParameters:
Name Flags
len
public static java.lang.String rtrim(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 3: goto 5
4: StackMap locals: int
StackMap stack:
iinc 1 -1
5: StackMap locals:
StackMap stack:
iload 1
ifle 6
aload 0
iload 1
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 4
6: StackMap locals:
StackMap stack:
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 s Ljava/lang/String;
3 7 1 pos I
MethodParameters:
Name Flags
s
private static int lambda$0(io.vertx.core.cli.Option, io.vertx.core.cli.Option);
descriptor: (Lio/vertx/core/cli/Option;Lio/vertx/core/cli/Option;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.cli.Option.getName:()Ljava/lang/String;
aload 1
invokevirtual io.vertx.core.cli.Option.getName:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 opt1 Lio/vertx/core/cli/Option;
0 1 1 opt2 Lio/vertx/core/cli/Option;
}
SourceFile: "UsageMessageFormatter.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles