public class com.fasterxml.jackson.databind.ser.std.InetAddressSerializer extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<java.net.InetAddress> implements com.fasterxml.jackson.databind.ser.ContextualSerializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.std.InetAddressSerializer
super_class: com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
{
protected final boolean _asNumeric;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial com.fasterxml.jackson.databind.ser.std.InetAddressSerializer.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/databind/ser/std/InetAddressSerializer;
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/net/InetAddress;
invokespecial com.fasterxml.jackson.databind.ser.std.StdScalarSerializer.<init>:(Ljava/lang/Class;)V
1: aload 0
iload 1
putfield com.fasterxml.jackson.databind.ser.std.InetAddressSerializer._asNumeric:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/ser/std/InetAddressSerializer;
0 3 1 asNumeric Z
MethodParameters:
Name Flags
asNumeric
public com.fasterxml.jackson.databind.JsonSerializer<?> createContextual(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.BeanProperty);
descriptor: (Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/BeanProperty;)Lcom/fasterxml/jackson/databind/JsonSerializer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
1: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.ser.std.InetAddressSerializer.handledType:()Ljava/lang/Class;
2: invokevirtual com.fasterxml.jackson.databind.ser.std.InetAddressSerializer.findFormatOverrides:(Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/BeanProperty;Ljava/lang/Class;)Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aload 3
ifnull 8
5: aload 3
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Value.getShape:()Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
astore 5
start local 5 6: aload 5
invokevirtual com.fasterxml.jackson.annotation.JsonFormat$Shape.isNumeric:()Z
ifne 7
aload 5
getstatic com.fasterxml.jackson.annotation.JsonFormat$Shape.ARRAY:Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
if_acmpne 8
7: StackMap locals: com.fasterxml.jackson.annotation.JsonFormat$Value int com.fasterxml.jackson.annotation.JsonFormat$Shape
StackMap stack:
iconst_1
istore 4
end local 5 8: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield com.fasterxml.jackson.databind.ser.std.InetAddressSerializer._asNumeric:Z
if_icmpeq 10
9: new com.fasterxml.jackson.databind.ser.std.InetAddressSerializer
dup
iload 4
invokespecial com.fasterxml.jackson.databind.ser.std.InetAddressSerializer.<init>:(Z)V
areturn
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/fasterxml/jackson/databind/ser/std/InetAddressSerializer;
0 11 1 serializers Lcom/fasterxml/jackson/databind/SerializerProvider;
0 11 2 property Lcom/fasterxml/jackson/databind/BeanProperty;
3 11 3 format Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
4 11 4 asNumeric Z
6 8 5 shape Lcom/fasterxml/jackson/annotation/JsonFormat$Shape;
Exceptions:
throws com.fasterxml.jackson.databind.JsonMappingException
Signature: (Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/BeanProperty;)Lcom/fasterxml/jackson/databind/JsonSerializer<*>;
MethodParameters:
Name Flags
serializers
property
public void serialize(java.net.InetAddress, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Ljava/net/InetAddress;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.fasterxml.jackson.databind.ser.std.InetAddressSerializer._asNumeric:Z
ifeq 3
1: aload 1
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 4
start local 4 2: goto 10
end local 4 3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 5: iload 5
iflt 10
6: iload 5
ifne 9
7: aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
8: goto 10
9: StackMap locals: java.lang.String int
StackMap stack:
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
end local 5 10: StackMap locals:
StackMap stack:
aload 2
aload 4
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeString:(Ljava/lang/String;)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/fasterxml/jackson/databind/ser/std/InetAddressSerializer;
0 12 1 value Ljava/net/InetAddress;
0 12 2 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 12 3 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
2 3 4 str Ljava/lang/String;
4 12 4 str Ljava/lang/String;
5 10 5 ix I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
g
provider
public void serializeWithType(java.net.InetAddress, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer);
descriptor: (Ljava/net/InetAddress;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/InetAddress;
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.InetAddressSerializer.serialize:(Ljava/net/InetAddress;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/InetAddressSerializer;
0 6 1 value Ljava/net/InetAddress;
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.InetAddress
aload 2
aload 3
aload 4
invokevirtual com.fasterxml.jackson.databind.ser.std.InetAddressSerializer.serializeWithType:(Ljava/net/InetAddress;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.InetAddress
aload 2
aload 3
invokevirtual com.fasterxml.jackson.databind.ser.std.InetAddressSerializer.serialize:(Ljava/net/InetAddress;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/InetAddress;>;Lcom/fasterxml/jackson/databind/ser/ContextualSerializer;
SourceFile: "InetAddressSerializer.java"
InnerClasses:
public final Shape = com.fasterxml.jackson.annotation.JsonFormat$Shape of com.fasterxml.jackson.annotation.JsonFormat
public Value = com.fasterxml.jackson.annotation.JsonFormat$Value of com.fasterxml.jackson.annotation.JsonFormat