final class org.springframework.http.codec.CodecConfigurerFactory
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.http.codec.CodecConfigurerFactory
super_class: java.lang.Object
{
private static final java.lang.String DEFAULT_CONFIGURERS_PATH;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "CodecConfigurer.properties"
private static final java.util.Map<java.lang.Class<?>, java.lang.Class<?>> defaultCodecConfigurers;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=0
0: new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putstatic org.springframework.http.codec.CodecConfigurerFactory.defaultCodecConfigurers:Ljava/util/Map;
1: new org.springframework.core.io.ClassPathResource
dup
ldc "CodecConfigurer.properties"
ldc Lorg/springframework/http/codec/CodecConfigurerFactory;
invokespecial org.springframework.core.io.ClassPathResource.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
2: invokestatic org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties:(Lorg/springframework/core/io/Resource;)Ljava/util/Properties;
astore 0
start local 0 3: aload 0
invokevirtual java.util.Properties.stringPropertyNames:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 9
StackMap locals: java.util.Properties top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 5: aload 0
aload 1
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 6: aload 1
ldc Lorg/springframework/http/codec/CodecConfigurerFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic org.springframework.util.ClassUtils.forName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 4
start local 4 7: aload 3
ldc Lorg/springframework/http/codec/CodecConfigurerFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic org.springframework.util.ClassUtils.forName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 5
start local 5 8: getstatic org.springframework.http.codec.CodecConfigurerFactory.defaultCodecConfigurers:Ljava/util/Map;
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 3 end local 1 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 0 10: goto 13
11: StackMap locals:
StackMap stack: java.lang.Exception
astore 0
start local 0 12: new java.lang.IllegalStateException
dup
aload 0
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 13: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 10 0 props Ljava/util/Properties;
5 9 1 ifcName Ljava/lang/String;
6 9 3 implName Ljava/lang/String;
7 9 4 ifc Ljava/lang/Class<*>;
8 9 5 impl Ljava/lang/Class<*>;
12 13 0 ex Ljava/lang/Exception;
Exception table:
from to target type
1 10 11 Class java.io.IOException
1 10 11 Class java.lang.ClassNotFoundException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Lorg/springframework/http/codec/CodecConfigurerFactory;
public static <T extends org.springframework.http.codec.CodecConfigurer> T create(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lorg/springframework/http/codec/CodecConfigurer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic org.springframework.http.codec.CodecConfigurerFactory.defaultCodecConfigurers:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "No default codec configurer found for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Class
StackMap stack:
aload 1
invokestatic org.springframework.beans.BeanUtils.instantiateClass:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.http.codec.CodecConfigurer
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ifc Ljava/lang/Class<TT;>;
1 4 1 impl Ljava/lang/Class<*>;
Signature: <T::Lorg/springframework/http/codec/CodecConfigurer;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
ifc
}
SourceFile: "CodecConfigurerFactory.java"