final class org.springframework.http.codec.xml.JaxbContextContainer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.http.codec.xml.JaxbContextContainer
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentMap<java.lang.Class<?>, javax.xml.bind.JAXBContext> jaxbContexts;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<*>;Ljavax/xml/bind/JAXBContext;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
bipush 64
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield org.springframework.http.codec.xml.JaxbContextContainer.jaxbContexts:Ljava/util/concurrent/ConcurrentMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/codec/xml/JaxbContextContainer;
public javax.xml.bind.Marshaller createMarshaller(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljavax/xml/bind/Marshaller;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.http.codec.xml.JaxbContextContainer.getJaxbContext:(Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
astore 2
start local 2 1: aload 2
invokevirtual javax.xml.bind.JAXBContext.createMarshaller:()Ljavax/xml/bind/Marshaller;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/codec/xml/JaxbContextContainer;
0 2 1 clazz Ljava/lang/Class<*>;
1 2 2 jaxbContext Ljavax/xml/bind/JAXBContext;
Exceptions:
throws javax.xml.bind.JAXBException
Signature: (Ljava/lang/Class<*>;)Ljavax/xml/bind/Marshaller;
MethodParameters:
Name Flags
clazz
public javax.xml.bind.Unmarshaller createUnmarshaller(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljavax/xml/bind/Unmarshaller;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.http.codec.xml.JaxbContextContainer.getJaxbContext:(Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
astore 2
start local 2 1: aload 2
invokevirtual javax.xml.bind.JAXBContext.createUnmarshaller:()Ljavax/xml/bind/Unmarshaller;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/codec/xml/JaxbContextContainer;
0 2 1 clazz Ljava/lang/Class<*>;
1 2 2 jaxbContext Ljavax/xml/bind/JAXBContext;
Exceptions:
throws javax.xml.bind.JAXBException
Signature: (Ljava/lang/Class<*>;)Ljavax/xml/bind/Unmarshaller;
MethodParameters:
Name Flags
clazz
private javax.xml.bind.JAXBContext getJaxbContext(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Class must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.http.codec.xml.JaxbContextContainer.jaxbContexts:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.xml.bind.JAXBContext
astore 2
start local 2 2: aload 2
ifnonnull 5
3: iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 1
aastore
invokestatic javax.xml.bind.JAXBContext.newInstance:([Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
astore 2
4: aload 0
getfield org.springframework.http.codec.xml.JaxbContextContainer.jaxbContexts:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: javax.xml.bind.JAXBContext
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/codec/xml/JaxbContextContainer;
0 6 1 clazz Ljava/lang/Class<*>;
2 6 2 jaxbContext Ljavax/xml/bind/JAXBContext;
Exceptions:
throws javax.xml.bind.JAXBException
Signature: (Ljava/lang/Class<*>;)Ljavax/xml/bind/JAXBContext;
MethodParameters:
Name Flags
clazz
}
SourceFile: "JaxbContextContainer.java"