public class org.springframework.http.converter.json.GsonFactoryBean implements org.springframework.beans.factory.FactoryBean<com.google.gson.Gson>, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.converter.json.GsonFactoryBean
super_class: java.lang.Object
{
private boolean base64EncodeByteArrays;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean serializeNulls;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean prettyPrinting;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean disableHtmlEscaping;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String dateFormatPattern;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private com.google.gson.Gson gson;
descriptor: Lcom/google/gson/Gson;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.springframework.http.converter.json.GsonFactoryBean.base64EncodeByteArrays:Z
2: aload 0
iconst_0
putfield org.springframework.http.converter.json.GsonFactoryBean.serializeNulls:Z
3: aload 0
iconst_0
putfield org.springframework.http.converter.json.GsonFactoryBean.prettyPrinting:Z
4: aload 0
iconst_0
putfield org.springframework.http.converter.json.GsonFactoryBean.disableHtmlEscaping:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
public void setBase64EncodeByteArrays(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
iload 1
putfield org.springframework.http.converter.json.GsonFactoryBean.base64EncodeByteArrays:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
0 2 1 base64EncodeByteArrays Z
MethodParameters:
Name Flags
base64EncodeByteArrays
public void setSerializeNulls(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
iload 1
putfield org.springframework.http.converter.json.GsonFactoryBean.serializeNulls:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
0 2 1 serializeNulls Z
MethodParameters:
Name Flags
serializeNulls
public void setPrettyPrinting(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
iload 1
putfield org.springframework.http.converter.json.GsonFactoryBean.prettyPrinting:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
0 2 1 prettyPrinting Z
MethodParameters:
Name Flags
prettyPrinting
public void setDisableHtmlEscaping(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
iload 1
putfield org.springframework.http.converter.json.GsonFactoryBean.disableHtmlEscaping:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
0 2 1 disableHtmlEscaping Z
MethodParameters:
Name Flags
disableHtmlEscaping
public void setDateFormatPattern(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.http.converter.json.GsonFactoryBean.dateFormatPattern:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
0 2 1 dateFormatPattern Ljava/lang/String;
MethodParameters:
Name Flags
dateFormatPattern
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.converter.json.GsonFactoryBean.base64EncodeByteArrays:Z
ifeq 2
1: invokestatic org.springframework.http.converter.json.GsonBuilderUtils.gsonBuilderWithBase64EncodedByteArrays:()Lcom/google/gson/GsonBuilder;
goto 3
StackMap locals:
StackMap stack:
2: new com.google.gson.GsonBuilder
dup
invokespecial com.google.gson.GsonBuilder.<init>:()V
3: StackMap locals:
StackMap stack: com.google.gson.GsonBuilder
astore 1
start local 1 4: aload 0
getfield org.springframework.http.converter.json.GsonFactoryBean.serializeNulls:Z
ifeq 6
5: aload 1
invokevirtual com.google.gson.GsonBuilder.serializeNulls:()Lcom/google/gson/GsonBuilder;
pop
6: StackMap locals: com.google.gson.GsonBuilder
StackMap stack:
aload 0
getfield org.springframework.http.converter.json.GsonFactoryBean.prettyPrinting:Z
ifeq 8
7: aload 1
invokevirtual com.google.gson.GsonBuilder.setPrettyPrinting:()Lcom/google/gson/GsonBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.converter.json.GsonFactoryBean.disableHtmlEscaping:Z
ifeq 10
9: aload 1
invokevirtual com.google.gson.GsonBuilder.disableHtmlEscaping:()Lcom/google/gson/GsonBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.converter.json.GsonFactoryBean.dateFormatPattern:Ljava/lang/String;
ifnull 12
11: aload 1
aload 0
getfield org.springframework.http.converter.json.GsonFactoryBean.dateFormatPattern:Ljava/lang/String;
invokevirtual com.google.gson.GsonBuilder.setDateFormat:(Ljava/lang/String;)Lcom/google/gson/GsonBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.google.gson.GsonBuilder.create:()Lcom/google/gson/Gson;
putfield org.springframework.http.converter.json.GsonFactoryBean.gson:Lcom/google/gson/Gson;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
4 14 1 builder Lcom/google/gson/GsonBuilder;
public com.google.gson.Gson getObject();
descriptor: ()Lcom/google/gson/Gson;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.converter.json.GsonFactoryBean.gson:Lcom/google/gson/Gson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.Class<?> getObjectType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lcom/google/gson/Gson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
Signature: ()Ljava/lang/Class<*>;
public boolean isSingleton();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/json/GsonFactoryBean;
public java.lang.Object getObject();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.http.converter.json.GsonFactoryBean.getObject:()Lcom/google/gson/Gson;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lorg/springframework/beans/factory/FactoryBean<Lcom/google/gson/Gson;>;Lorg/springframework/beans/factory/InitializingBean;
SourceFile: "GsonFactoryBean.java"