public class io.vertx.core.cli.Argument
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.cli.Argument
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_ARG_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "value"
protected int index;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.String argName;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String description;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected boolean hidden;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean required;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.lang.String defaultValue;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected boolean multiValued;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
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
iconst_m1
putfield io.vertx.core.cli.Argument.index:I
2: aload 0
ldc "value"
putfield io.vertx.core.cli.Argument.argName:Ljava/lang/String;
3: aload 0
iconst_1
putfield io.vertx.core.cli.Argument.required:Z
4: aload 0
iconst_0
putfield io.vertx.core.cli.Argument.multiValued:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/cli/Argument;
public void <init>(io.vertx.core.cli.Argument);
descriptor: (Lio/vertx/core/cli/Argument;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.vertx.core.cli.Argument.<init>:()V
1: aload 0
aload 1
getfield io.vertx.core.cli.Argument.index:I
putfield io.vertx.core.cli.Argument.index:I
2: aload 0
aload 1
getfield io.vertx.core.cli.Argument.argName:Ljava/lang/String;
putfield io.vertx.core.cli.Argument.argName:Ljava/lang/String;
3: aload 0
aload 1
getfield io.vertx.core.cli.Argument.description:Ljava/lang/String;
putfield io.vertx.core.cli.Argument.description:Ljava/lang/String;
4: aload 0
aload 1
getfield io.vertx.core.cli.Argument.hidden:Z
putfield io.vertx.core.cli.Argument.hidden:Z
5: aload 0
aload 1
getfield io.vertx.core.cli.Argument.required:Z
putfield io.vertx.core.cli.Argument.required:Z
6: aload 0
aload 1
getfield io.vertx.core.cli.Argument.defaultValue:Ljava/lang/String;
putfield io.vertx.core.cli.Argument.defaultValue:Ljava/lang/String;
7: aload 0
aload 1
getfield io.vertx.core.cli.Argument.multiValued:Z
putfield io.vertx.core.cli.Argument.multiValued:Z
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/cli/Argument;
0 9 1 other Lio/vertx/core/cli/Argument;
MethodParameters:
Name Flags
other
public void <init>(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.vertx.core.cli.Argument.<init>:()V
1: aload 1
aload 0
invokestatic io.vertx.core.cli.ArgumentConverter.fromJson:(Ljava/lang/Iterable;Lio/vertx/core/cli/Argument;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/Argument;
0 3 1 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
json
public io.vertx.core.json.JsonObject toJson();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic io.vertx.core.cli.ArgumentConverter.toJson:(Lio/vertx/core/cli/Argument;Lio/vertx/core/json/JsonObject;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/Argument;
1 3 1 json Lio/vertx/core/json/JsonObject;
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.Argument.argName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/Argument;
public io.vertx.core.cli.Argument setArgName(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/Argument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
putfield io.vertx.core.cli.Argument.argName:Ljava/lang/String;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/Argument;
0 3 1 argName Ljava/lang/String;
MethodParameters:
Name Flags
argName
public java.lang.String getDescription();
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.Argument.description:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/Argument;
public io.vertx.core.cli.Argument setDescription(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/Argument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
putfield io.vertx.core.cli.Argument.description:Ljava/lang/String;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/Argument;
0 3 1 description Ljava/lang/String;
MethodParameters:
Name Flags
description
public boolean isHidden();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.Argument.hidden:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/Argument;
public io.vertx.core.cli.Argument setHidden(boolean);
descriptor: (Z)Lio/vertx/core/cli/Argument;
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.Argument.hidden:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/Argument;
0 2 1 hidden Z
MethodParameters:
Name Flags
hidden
public int getIndex();
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.Argument.index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/Argument;
public io.vertx.core.cli.Argument setIndex(int);
descriptor: (I)Lio/vertx/core/cli/Argument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Argument index cannot be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield io.vertx.core.cli.Argument.index:I
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/cli/Argument;
0 4 1 index I
MethodParameters:
Name Flags
index
public boolean isRequired();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.Argument.required:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/Argument;
public io.vertx.core.cli.Argument setRequired(boolean);
descriptor: (Z)Lio/vertx/core/cli/Argument;
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.Argument.required:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/Argument;
0 2 1 required Z
MethodParameters:
Name Flags
required
public java.lang.String getDefaultValue();
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.Argument.defaultValue:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/Argument;
public io.vertx.core.cli.Argument setDefaultValue(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/cli/Argument;
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.Argument.defaultValue:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/Argument;
0 2 1 defaultValue Ljava/lang/String;
MethodParameters:
Name Flags
defaultValue
public boolean isMultiValued();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.Argument.multiValued:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/cli/Argument;
public io.vertx.core.cli.Argument setMultiValued(boolean);
descriptor: (Z)Lio/vertx/core/cli/Argument;
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.Argument.multiValued:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/Argument;
0 2 1 multiValued Z
MethodParameters:
Name Flags
multiValued
public void ensureValidity();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.cli.Argument.index:I
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "The index cannot be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/cli/Argument;
}
SourceFile: "Argument.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.DataObject(generateConverter = true, publicConverter = false)