public class com.fasterxml.jackson.databind.ser.std.InetSocketAddressSerializer extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<java.net.InetSocketAddress>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.InetSocketAddressSerializer
super_class: com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/net/InetSocketAddress;
invokespecial com.fasterxml.jackson.databind.ser.std.StdScalarSerializer.<init>:(Ljava/lang/Class;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/ser/std/InetSocketAddressSerializer;
public void serialize(java.net.InetSocketAddress, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Ljava/net/InetSocketAddress;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)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 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
astore 4
start local 4 1: aload 4
ifnonnull 2
aload 1
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
goto 3
StackMap locals: java.net.InetAddress
StackMap stack:
2: aload 4
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: astore 5
start local 5 4: aload 5
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 5: iload 6
iflt 13
6: iload 6
ifne 12
7: aload 4
instanceof java.net.Inet6Address
ifeq 9
8: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 10
9: StackMap locals: java.lang.String int
StackMap stack:
aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
10: StackMap locals:
StackMap stack: java.lang.String
astore 5
11: goto 13
12: StackMap locals:
StackMap stack:
aload 5
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
13: StackMap locals:
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.net.InetSocketAddress.getPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeString:(Ljava/lang/String;)V
14: return
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 15 0 this Lcom/fasterxml/jackson/databind/ser/std/InetSocketAddressSerializer;
0 15 1 value Ljava/net/InetSocketAddress;
0 15 2 jgen Lcom/fasterxml/jackson/core/JsonGenerator;
0 15 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
1 15 4 addr Ljava/net/InetAddress;
4 15 5 str Ljava/lang/String;
5 15 6 ix I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
jgen
provider
public void serializeWithType(java.net.InetSocketAddress, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer);
descriptor: (Ljava/net/InetSocketAddress;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
aload 2
1: aload 4
aload 1
ldc Ljava/net/InetSocketAddress;
getstatic com.fasterxml.jackson.core.JsonToken.VALUE_STRING:Lcom/fasterxml/jackson/core/JsonToken;
invokevirtual com.fasterxml.jackson.databind.jsontype.TypeSerializer.typeId:(Ljava/lang/Object;Ljava/lang/Class;Lcom/fasterxml/jackson/core/JsonToken;)Lcom/fasterxml/jackson/core/type/WritableTypeId;
2: invokevirtual com.fasterxml.jackson.databind.jsontype.TypeSerializer.writeTypePrefix:(Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/core/type/WritableTypeId;)Lcom/fasterxml/jackson/core/type/WritableTypeId;
astore 5
start local 5 3: aload 0
aload 1
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.InetSocketAddressSerializer.serialize:(Ljava/net/InetSocketAddress;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
4: aload 4
aload 2
aload 5
invokevirtual com.fasterxml.jackson.databind.jsontype.TypeSerializer.writeTypeSuffix:(Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/core/type/WritableTypeId;)Lcom/fasterxml/jackson/core/type/WritableTypeId;
pop
5: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/databind/ser/std/InetSocketAddressSerializer;
0 6 1 value Ljava/net/InetSocketAddress;
0 6 2 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 6 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
0 6 4 typeSer Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;
3 6 5 typeIdDef Lcom/fasterxml/jackson/core/type/WritableTypeId;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
g
provider
typeSer
public void serializeWithType(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer);
descriptor: (Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
aload 1
checkcast java.net.InetSocketAddress
aload 2
aload 3
aload 4
invokevirtual com.fasterxml.jackson.databind.ser.std.InetSocketAddressSerializer.serializeWithType:(Ljava/net/InetSocketAddress;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public void serialize(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast java.net.InetSocketAddress
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.InetSocketAddressSerializer.serialize:(Ljava/net/InetSocketAddress;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Lcom/fasterxml/jackson/databind/ser/std/StdScalarSerializer<Ljava/net/InetSocketAddress;>;
SourceFile: "InetSocketAddressSerializer.java"