public class io.vertx.core.spi.cluster.NodeInfo implements io.vertx.core.shareddata.impl.ClusterSerializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.spi.cluster.NodeInfo
super_class: java.lang.Object
{
private java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int port;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.json.JsonObject metadata;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/spi/cluster/NodeInfo;
public void <init>(java.lang.String, int, io.vertx.core.json.JsonObject);
descriptor: (Ljava/lang/String;ILio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "host is null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield io.vertx.core.spi.cluster.NodeInfo.host:Ljava/lang/String;
2: iload 2
iconst_1
ldc 65535
new java.lang.StringBuilder
dup
ldc "Not an actual port: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.core.impl.Arguments.requireInRange:(IIILjava/lang/String;)V
3: aload 0
iload 2
putfield io.vertx.core.spi.cluster.NodeInfo.port:I
4: aload 0
aload 3
putfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/spi/cluster/NodeInfo;
0 6 1 host Ljava/lang/String;
0 6 2 port I
0 6 3 metadata Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
host
port
metadata
public java.lang.String host();
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.spi.cluster.NodeInfo.host:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/spi/cluster/NodeInfo;
public int port();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/spi/cluster/NodeInfo;
public io.vertx.core.json.JsonObject metadata();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/spi/cluster/NodeInfo;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast io.vertx.core.spi.cluster.NodeInfo
astore 2
start local 2 4: aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.port:I
aload 2
getfield io.vertx.core.spi.cluster.NodeInfo.port:I
if_icmpeq 5
iconst_0
ireturn
5: StackMap locals: io.vertx.core.spi.cluster.NodeInfo
StackMap stack:
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.host:Ljava/lang/String;
aload 2
getfield io.vertx.core.spi.cluster.NodeInfo.host:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
aload 2
getfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/spi/cluster/NodeInfo;
0 7 1 o Ljava/lang/Object;
4 7 2 nodeInfo Lio/vertx/core/spi/cluster/NodeInfo;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.host:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.port:I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
ifnull 3
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.hashCode:()I
goto 4
StackMap locals: io.vertx.core.spi.cluster.NodeInfo int
StackMap stack: int
3: iconst_0
StackMap locals: io.vertx.core.spi.cluster.NodeInfo int
StackMap stack: int int
4: iadd
istore 1
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/spi/cluster/NodeInfo;
1 6 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "NodeInfo{host='"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.host:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: ldc ", port="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
3: ldc ", metadata="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/spi/cluster/NodeInfo;
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 1
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.host:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.host:Ljava/lang/String;
invokeinterface io.vertx.core.buffer.Buffer.appendString:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
pop
1: aload 1
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.port:I
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
2: aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
ifnonnull 5
3: aload 1
iconst_m1
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.toBuffer:()Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 6: 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;
aload 2
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/spi/cluster/NodeInfo;
0 8 1 buffer Lio/vertx/core/buffer/Buffer;
6 7 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=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: aload 2
iload 3
invokeinterface io.vertx.core.buffer.Buffer.getInt:(I)I
istore 4
start local 4 2: iinc 3 4
3: aload 0
aload 2
iload 3
iload 3
iload 4
iadd
invokeinterface io.vertx.core.buffer.Buffer.getString:(II)Ljava/lang/String;
putfield io.vertx.core.spi.cluster.NodeInfo.host:Ljava/lang/String;
4: iload 3
iload 4
iadd
istore 3
5: aload 0
aload 2
iload 3
invokeinterface io.vertx.core.buffer.Buffer.getInt:(I)I
putfield io.vertx.core.spi.cluster.NodeInfo.port:I
6: iinc 3 4
7: aload 2
iload 3
invokeinterface io.vertx.core.buffer.Buffer.getInt:(I)I
istore 4
8: iinc 3 4
9: iload 4
ifne 12
10: aload 0
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
putfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
11: goto 15
StackMap locals: int int
StackMap stack:
12: iload 4
ifle 15
13: aload 0
new io.vertx.core.json.JsonObject
dup
aload 2
iload 3
iload 3
iload 4
iadd
invokeinterface io.vertx.core.buffer.Buffer.getBuffer:(II)Lio/vertx/core/buffer/Buffer;
invokespecial io.vertx.core.json.JsonObject.<init>:(Lio/vertx/core/buffer/Buffer;)V
putfield io.vertx.core.spi.cluster.NodeInfo.metadata:Lio/vertx/core/json/JsonObject;
14: iload 3
iload 4
iadd
istore 3
15: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/core/spi/cluster/NodeInfo;
0 16 1 start I
0 16 2 buffer Lio/vertx/core/buffer/Buffer;
1 16 3 pos I
2 16 4 len I
MethodParameters:
Name Flags
start
buffer
}
SourceFile: "NodeInfo.java"