public class io.vertx.core.json.JsonArray implements java.lang.Iterable<java.lang.Object>, io.vertx.core.shareddata.impl.ClusterSerializable, io.vertx.core.shareddata.Shareable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.json.JsonArray
super_class: java.lang.Object
{
private java.util.List<java.lang.Object> list;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/Object;>;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals: io.vertx.core.json.JsonArray java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.core.json.JsonArray.fromJson:(Ljava/lang/String;)V
4: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
ifnonnull 6
5: new io.vertx.core.json.DecodeException
dup
new java.lang.StringBuilder
dup
ldc "Invalid JSON array: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.vertx.core.json.DecodeException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/json/JsonArray;
0 7 1 json Ljava/lang/String;
MethodParameters:
Name Flags
json
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/json/JsonArray;
public void <init>(java.util.List);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals: io.vertx.core.json.JsonArray java.util.List
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/json/JsonArray;
0 5 1 list Ljava/util/List;
MethodParameters:
Name Flags
list
public void <init>(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals: io.vertx.core.json.JsonArray io.vertx.core.buffer.Buffer
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.core.json.JsonArray.fromBuffer:(Lio/vertx/core/buffer/Buffer;)V
4: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
ifnonnull 6
5: new io.vertx.core.json.DecodeException
dup
new java.lang.StringBuilder
dup
ldc "Invalid JSON array: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.vertx.core.json.DecodeException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/json/JsonArray;
0 7 1 buf Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
buf
public java.lang.String getString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
instanceof java.time.Instant
ifeq 5
4: getstatic java.time.format.DateTimeFormatter.ISO_INSTANT:Ljava/time/format/DateTimeFormatter;
aload 2
checkcast java.time.Instant
invokevirtual java.time.format.DateTimeFormatter.format:(Ljava/time/temporal/TemporalAccessor;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 2
instanceof byte[]
ifeq 7
6: getstatic io.vertx.core.json.impl.JsonUtil.BASE64_ENCODER:Ljava/util/Base64$Encoder;
aload 2
checkcast byte[]
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
aload 2
instanceof io.vertx.core.buffer.Buffer
ifeq 9
8: getstatic io.vertx.core.json.impl.JsonUtil.BASE64_ENCODER:Ljava/util/Base64$Encoder;
aload 2
checkcast io.vertx.core.buffer.Buffer
invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aload 2
instanceof java.lang.Enum
ifeq 11
10: aload 2
checkcast java.lang.Enum
invokevirtual java.lang.Enum.name:()Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/json/JsonArray;
0 12 1 pos I
1 12 2 val Ljava/lang/Object;
MethodParameters:
Name Flags
pos
public java.lang.Number getNumber(int);
descriptor: (I)Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Number
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public java.lang.Integer getInteger(int);
descriptor: (I)Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Number
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Number
StackMap stack:
aload 2
instanceof java.lang.Integer
ifeq 5
4: aload 2
checkcast java.lang.Integer
areturn
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Number.intValue:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/json/JsonArray;
0 6 1 pos I
1 6 2 number Ljava/lang/Number;
MethodParameters:
Name Flags
pos
public java.lang.Long getLong(int);
descriptor: (I)Ljava/lang/Long;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Number
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Number
StackMap stack:
aload 2
instanceof java.lang.Long
ifeq 5
4: aload 2
checkcast java.lang.Long
areturn
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Number.longValue:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/json/JsonArray;
0 6 1 pos I
1 6 2 number Ljava/lang/Number;
MethodParameters:
Name Flags
pos
public java.lang.Double getDouble(int);
descriptor: (I)Ljava/lang/Double;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Number
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Number
StackMap stack:
aload 2
instanceof java.lang.Double
ifeq 5
4: aload 2
checkcast java.lang.Double
areturn
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Number.doubleValue:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/json/JsonArray;
0 6 1 pos I
1 6 2 number Ljava/lang/Number;
MethodParameters:
Name Flags
pos
public java.lang.Float getFloat(int);
descriptor: (I)Ljava/lang/Float;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Number
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Number
StackMap stack:
aload 2
instanceof java.lang.Float
ifeq 5
4: aload 2
checkcast java.lang.Float
areturn
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Number.floatValue:()F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/json/JsonArray;
0 6 1 pos I
1 6 2 number Ljava/lang/Number;
MethodParameters:
Name Flags
pos
public java.lang.Boolean getBoolean(int);
descriptor: (I)Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Boolean
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public io.vertx.core.json.JsonObject getJsonObject(int);
descriptor: (I)Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof java.util.Map
ifeq 3
2: new io.vertx.core.json.JsonObject
dup
aload 2
checkcast java.util.Map
invokespecial io.vertx.core.json.JsonObject.<init>:(Ljava/util/Map;)V
astore 2
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast io.vertx.core.json.JsonObject
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/json/JsonArray;
0 4 1 pos I
1 4 2 val Ljava/lang/Object;
MethodParameters:
Name Flags
pos
public io.vertx.core.json.JsonArray getJsonArray(int);
descriptor: (I)Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof java.util.List
ifeq 3
2: new io.vertx.core.json.JsonArray
dup
aload 2
checkcast java.util.List
invokespecial io.vertx.core.json.JsonArray.<init>:(Ljava/util/List;)V
astore 2
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast io.vertx.core.json.JsonArray
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/json/JsonArray;
0 4 1 pos I
1 4 2 val Ljava/lang/Object;
MethodParameters:
Name Flags
pos
public byte[] getBinary(int);
descriptor: (I)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
instanceof byte[]
ifeq 5
4: aload 2
checkcast byte[]
areturn
5: StackMap locals:
StackMap stack:
aload 2
instanceof io.vertx.core.buffer.Buffer
ifeq 7
6: aload 2
checkcast io.vertx.core.buffer.Buffer
invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
areturn
7: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.String
astore 3
start local 3 8: getstatic io.vertx.core.json.impl.JsonUtil.BASE64_DECODER:Ljava/util/Base64$Decoder;
aload 3
invokevirtual java.util.Base64$Decoder.decode:(Ljava/lang/String;)[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/json/JsonArray;
0 9 1 pos I
1 9 2 val Ljava/lang/Object;
8 9 3 encoded Ljava/lang/String;
MethodParameters:
Name Flags
pos
public io.vertx.core.buffer.Buffer getBuffer(int);
descriptor: (I)Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
instanceof io.vertx.core.buffer.Buffer
ifeq 5
4: aload 2
checkcast io.vertx.core.buffer.Buffer
areturn
5: StackMap locals:
StackMap stack:
aload 2
instanceof byte[]
ifeq 7
6: aload 2
checkcast byte[]
invokestatic io.vertx.core.buffer.Buffer.buffer:([B)Lio/vertx/core/buffer/Buffer;
areturn
7: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.String
astore 3
start local 3 8: getstatic io.vertx.core.json.impl.JsonUtil.BASE64_DECODER:Ljava/util/Base64$Decoder;
aload 3
invokevirtual java.util.Base64$Decoder.decode:(Ljava/lang/String;)[B
invokestatic io.vertx.core.buffer.Buffer.buffer:([B)Lio/vertx/core/buffer/Buffer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/json/JsonArray;
0 9 1 pos I
1 9 2 val Ljava/lang/Object;
8 9 3 encoded Ljava/lang/String;
MethodParameters:
Name Flags
pos
public java.time.Instant getInstant(int);
descriptor: (I)Ljava/time/Instant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
instanceof java.time.Instant
ifeq 5
4: aload 2
checkcast java.time.Instant
areturn
5: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.String
astore 3
start local 3 6: getstatic java.time.format.DateTimeFormatter.ISO_INSTANT:Ljava/time/format/DateTimeFormatter;
aload 3
invokevirtual java.time.format.DateTimeFormatter.parse:(Ljava/lang/CharSequence;)Ljava/time/temporal/TemporalAccessor;
invokestatic java.time.Instant.from:(Ljava/time/temporal/TemporalAccessor;)Ljava/time/Instant;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/json/JsonArray;
0 7 1 pos I
1 7 2 val Ljava/lang/Object;
6 7 3 encoded Ljava/lang/String;
MethodParameters:
Name Flags
pos
public java.lang.Object getValue(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokestatic io.vertx.core.json.impl.JsonUtil.wrapJsonValue:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public boolean hasNull(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
0 2 1 pos I
MethodParameters:
Name Flags
pos
public io.vertx.core.json.JsonArray addNull();
descriptor: ()Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
public io.vertx.core.json.JsonArray add(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
0 2 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public io.vertx.core.json.JsonArray add(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
aload 2
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
0 2 1 pos I
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
pos
value
public io.vertx.core.json.JsonArray addAll(io.vertx.core.json.JsonArray);
descriptor: (Lio/vertx/core/json/JsonArray;)Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
aload 1
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
0 2 1 array Lio/vertx/core/json/JsonArray;
MethodParameters:
Name Flags
array
public io.vertx.core.json.JsonArray setNull(int);
descriptor: (I)Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
aconst_null
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
0 2 1 pos I
MethodParameters:
Name Flags
pos
public io.vertx.core.json.JsonArray set(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
aload 2
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
0 2 1 pos I
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
pos
value
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.vertx.core.json.impl.JsonUtil.wrapJsonValue:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 12
3: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
iload 3
invokevirtual io.vertx.core.json.JsonArray.getValue:(I)Ljava/lang/Object;
astore 4
start local 4 4: aload 2
ifnonnull 8
5: aload 4
ifnonnull 11
6: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 3
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
7: iconst_1
ireturn
8: StackMap locals: java.lang.Object
StackMap stack:
aload 2
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 3
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
10: iconst_1
ireturn
end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 3 13: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/core/json/JsonArray;
0 14 1 value Ljava/lang/Object;
1 14 2 wrappedValue Ljava/lang/Object;
2 13 3 i I
4 11 4 otherWrapperValue Ljava/lang/Object;
MethodParameters:
Name Flags
value
public java.lang.Object remove(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
invokestatic io.vertx.core.json.impl.JsonUtil.wrapJsonValue:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
public java.util.List getList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
public io.vertx.core.json.JsonArray clear();
descriptor: ()Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
public java.util.Iterator<java.lang.Object> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.core.json.JsonArray$Iter
dup
aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
invokespecial io.vertx.core.json.JsonArray$Iter.<init>:(Ljava/util/Iterator;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
Signature: ()Ljava/util/Iterator<Ljava/lang/Object;>;
public java.lang.String encode();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 0
iconst_0
invokeinterface io.vertx.core.spi.json.JsonCodec.toString:(Ljava/lang/Object;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
public io.vertx.core.buffer.Buffer toBuffer();
descriptor: ()Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 0
iconst_0
invokeinterface io.vertx.core.spi.json.JsonCodec.toBuffer:(Ljava/lang/Object;Z)Lio/vertx/core/buffer/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
public java.lang.String encodePrettily();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 0
iconst_1
invokeinterface io.vertx.core.spi.json.JsonCodec.toString:(Ljava/lang/Object;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
public io.vertx.core.json.JsonArray copy();
descriptor: ()Lio/vertx/core/json/JsonArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: io.vertx.core.json.JsonArray java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 3: aload 1
aload 2
invokestatic io.vertx.core.json.impl.JsonUtil.checkAndCopy:(Ljava/lang/Object;)Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: new io.vertx.core.json.JsonArray
dup
aload 1
invokespecial io.vertx.core.json.JsonArray.<init>:(Ljava/util/List;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/json/JsonArray;
1 6 1 copiedList Ljava/util/List<Ljava/lang/Object;>;
3 4 2 val Ljava/lang/Object;
public java.util.stream.Stream<java.lang.Object> stream();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.json.JsonArray.iterator:()Ljava/util/Iterator;
invokestatic io.vertx.core.json.JsonObject.asStream:(Ljava/util/Iterator;)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
Signature: ()Ljava/util/stream/Stream<Ljava/lang/Object;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.core.json.JsonArray.encode:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast io.vertx.core.json.JsonArray
astore 2
start local 2 7: aload 0
invokevirtual io.vertx.core.json.JsonArray.size:()I
aload 2
invokevirtual io.vertx.core.json.JsonArray.size:()I
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals: io.vertx.core.json.JsonArray
StackMap stack:
iconst_0
istore 3
start local 3 10: goto 32
11: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual io.vertx.core.json.JsonArray.getValue:(I)Ljava/lang/Object;
astore 4
start local 4 12: aload 2
iload 3
invokevirtual io.vertx.core.json.JsonArray.getValue:(I)Ljava/lang/Object;
astore 5
start local 5 13: aload 4
aload 5
if_acmpne 15
14: goto 31
15: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 4
instanceof java.lang.Number
ifeq 24
aload 5
instanceof java.lang.Number
ifeq 24
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 24
16: aload 4
checkcast java.lang.Number
astore 6
start local 6 17: aload 5
checkcast java.lang.Number
astore 7
start local 7 18: aload 4
instanceof java.lang.Float
ifne 19
aload 4
instanceof java.lang.Double
ifne 19
aload 5
instanceof java.lang.Float
ifne 19
aload 5
instanceof java.lang.Double
ifeq 21
19: StackMap locals: java.lang.Number java.lang.Number
StackMap stack:
aload 6
invokevirtual java.lang.Number.doubleValue:()D
aload 7
invokevirtual java.lang.Number.doubleValue:()D
dcmpl
ifne 21
20: goto 31
21: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.Integer
ifne 22
aload 4
instanceof java.lang.Long
ifne 22
aload 5
instanceof java.lang.Integer
ifne 22
aload 5
instanceof java.lang.Long
ifeq 24
22: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.Number.longValue:()J
aload 7
invokevirtual java.lang.Number.longValue:()J
lcmp
ifne 24
23: goto 31
end local 7 end local 6 24: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.CharSequence
ifeq 29
aload 5
instanceof java.lang.CharSequence
ifeq 29
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 29
25: aload 4
checkcast java.lang.CharSequence
astore 6
start local 6 26: aload 5
checkcast java.lang.CharSequence
astore 7
start local 7 27: aload 6
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
aload 7
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 29
28: goto 31
end local 7 end local 6 29: StackMap locals:
StackMap stack:
aload 4
aload 5
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 31
30: iconst_0
ireturn
end local 5 end local 4 31: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
32: iload 3
aload 0
invokevirtual io.vertx.core.json.JsonArray.size:()I
if_icmplt 11
end local 3 33: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lio/vertx/core/json/JsonArray;
0 34 1 o Ljava/lang/Object;
7 34 2 other Lio/vertx/core/json/JsonArray;
10 33 3 i I
12 31 4 thisValue Ljava/lang/Object;
13 31 5 otherValue Ljava/lang/Object;
17 24 6 n1 Ljava/lang/Number;
18 24 7 n2 Ljava/lang/Number;
26 29 6 s1 Ljava/lang/CharSequence;
27 29 7 s2 Ljava/lang/CharSequence;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/json/JsonArray;
public void writeToBuffer(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.json.JsonArray.toBuffer:()Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
2: aload 1
aload 2
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/json/JsonArray;
0 4 1 buffer Lio/vertx/core/buffer/Buffer;
1 4 2 buf Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
buffer
public int readFromBuffer(int, io.vertx.core.buffer.Buffer);
descriptor: (ILio/vertx/core/buffer/Buffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iload 1
invokeinterface io.vertx.core.buffer.Buffer.getInt:(I)I
istore 3
start local 3 1: iload 1
iconst_4
iadd
istore 4
start local 4 2: aload 2
iload 4
iload 4
iload 3
iadd
invokeinterface io.vertx.core.buffer.Buffer.getBuffer:(II)Lio/vertx/core/buffer/Buffer;
astore 5
start local 5 3: aload 0
aload 5
invokevirtual io.vertx.core.json.JsonArray.fromBuffer:(Lio/vertx/core/buffer/Buffer;)V
4: iload 1
iload 3
iadd
iconst_4
iadd
ireturn
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 5 0 this Lio/vertx/core/json/JsonArray;
0 5 1 pos I
0 5 2 buffer Lio/vertx/core/buffer/Buffer;
1 5 3 length I
2 5 4 start I
3 5 5 buf Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
pos
buffer
private void fromJson(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 1
ldc Ljava/util/List;
invokeinterface io.vertx.core.spi.json.JsonCodec.fromString:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.util.List
putfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
0 2 1 json Ljava/lang/String;
MethodParameters:
Name Flags
json
private void fromBuffer(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.json.Json.CODEC:Lio/vertx/core/spi/json/JsonCodec;
aload 1
ldc Ljava/util/List;
invokeinterface io.vertx.core.spi.json.JsonCodec.fromBuffer:(Lio/vertx/core/buffer/Buffer;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.util.List
putfield io.vertx.core.json.JsonArray.list:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/json/JsonArray;
0 2 1 buf Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
buf
public io.vertx.core.shareddata.Shareable copy();
descriptor: ()Lio/vertx/core/shareddata/Shareable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.vertx.core.json.JsonArray.copy:()Lio/vertx/core/json/JsonArray;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Ljava/lang/Object;>;Lio/vertx/core/shareddata/impl/ClusterSerializable;Lio/vertx/core/shareddata/Shareable;
SourceFile: "JsonArray.java"
NestMembers:
io.vertx.core.json.JsonArray$Iter
InnerClasses:
private Iter = io.vertx.core.json.JsonArray$Iter of io.vertx.core.json.JsonArray
public Decoder = java.util.Base64$Decoder of java.util.Base64
public Encoder = java.util.Base64$Encoder of java.util.Base64