public final class com.fasterxml.jackson.databind.ser.impl.WritableObjectId
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ser.impl.WritableObjectId
super_class: java.lang.Object
{
public final com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator;
descriptor: Lcom/fasterxml/jackson/annotation/ObjectIdGenerator;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lcom/fasterxml/jackson/annotation/ObjectIdGenerator<*>;
public java.lang.Object id;
descriptor: Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
protected boolean idWritten;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>(com.fasterxml.jackson.annotation.ObjectIdGenerator<?>);
descriptor: (Lcom/fasterxml/jackson/annotation/ObjectIdGenerator;)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 0
iconst_0
putfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.idWritten:Z
2: aload 0
aload 1
putfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.generator:Lcom/fasterxml/jackson/annotation/ObjectIdGenerator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/databind/ser/impl/WritableObjectId;
0 4 1 generator Lcom/fasterxml/jackson/annotation/ObjectIdGenerator<*>;
Signature: (Lcom/fasterxml/jackson/annotation/ObjectIdGenerator<*>;)V
MethodParameters:
Name Flags
generator
public boolean writeAsId(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/ser/impl/ObjectIdWriter;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
ifnull 6
aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.idWritten:Z
ifne 1
aload 3
getfield com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter.alwaysAsId:Z
ifeq 6
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.fasterxml.jackson.core.JsonGenerator.canWriteObjectId:()Z
ifeq 4
2: aload 1
aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeObjectRef:(Ljava/lang/Object;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 3
getfield com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter.serializer:Lcom/fasterxml/jackson/databind/JsonSerializer;
aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
aload 1
aload 2
invokevirtual com.fasterxml.jackson.databind.JsonSerializer.serialize:(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/fasterxml/jackson/databind/ser/impl/WritableObjectId;
0 7 1 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 7 2 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
0 7 3 w Lcom/fasterxml/jackson/databind/ser/impl/ObjectIdWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
gen
provider
w
public java.lang.Object generateId(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
ifnonnull 2
1: aload 0
aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.generator:Lcom/fasterxml/jackson/annotation/ObjectIdGenerator;
aload 1
invokevirtual com.fasterxml.jackson.annotation.ObjectIdGenerator.generateId:(Ljava/lang/Object;)Ljava/lang/Object;
putfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/ser/impl/WritableObjectId;
0 3 1 forPojo Ljava/lang/Object;
MethodParameters:
Name Flags
forPojo
public void writeAsField(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/ser/impl/ObjectIdWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_1
putfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.idWritten:Z
1: aload 1
invokevirtual com.fasterxml.jackson.core.JsonGenerator.canWriteObjectId:()Z
ifeq 7
2: aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
ifnonnull 3
aconst_null
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: astore 4
start local 4 5: aload 1
aload 4
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeObjectId:(Ljava/lang/Object;)V
6: return
end local 4 7: StackMap locals:
StackMap stack:
aload 3
getfield com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter.propertyName:Lcom/fasterxml/jackson/core/SerializableString;
astore 4
start local 4 8: aload 4
ifnull 11
9: aload 1
aload 4
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeFieldName:(Lcom/fasterxml/jackson/core/SerializableString;)V
10: aload 3
getfield com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter.serializer:Lcom/fasterxml/jackson/databind/JsonSerializer;
aload 0
getfield com.fasterxml.jackson.databind.ser.impl.WritableObjectId.id:Ljava/lang/Object;
aload 1
aload 2
invokevirtual com.fasterxml.jackson.databind.JsonSerializer.serialize:(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
11: StackMap locals: com.fasterxml.jackson.core.SerializableString
StackMap stack:
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/impl/WritableObjectId;
0 12 1 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 12 2 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
0 12 3 w Lcom/fasterxml/jackson/databind/ser/impl/ObjectIdWriter;
5 7 4 idStr Ljava/lang/String;
8 12 4 name Lcom/fasterxml/jackson/core/SerializableString;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
gen
provider
w
}
SourceFile: "WritableObjectId.java"