public class org.jboss.resteasy.plugins.providers.jaxb.XmlNamespacePrefixMapper extends com.sun.xml.bind.marshaller.NamespacePrefixMapper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.plugins.providers.jaxb.XmlNamespacePrefixMapper
super_class: com.sun.xml.bind.marshaller.NamespacePrefixMapper
{
private final java.util.Map<java.lang.String, java.lang.String> namespaceMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public void <init>(javax.xml.bind.annotation.XmlNs[]);
descriptor: ([Ljavax/xml/bind/annotation/XmlNs;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.xml.bind.marshaller.NamespacePrefixMapper.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jboss.resteasy.plugins.providers.jaxb.XmlNamespacePrefixMapper.namespaceMap:Ljava/util/Map;
2: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: org.jboss.resteasy.plugins.providers.jaxb.XmlNamespacePrefixMapper javax.xml.bind.annotation.XmlNs[] top int int javax.xml.bind.annotation.XmlNs[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 0
getfield org.jboss.resteasy.plugins.providers.jaxb.XmlNamespacePrefixMapper.namespaceMap:Ljava/util/Map;
aload 2
invokeinterface javax.xml.bind.annotation.XmlNs.namespaceURI:()Ljava/lang/String;
aload 2
invokeinterface javax.xml.bind.annotation.XmlNs.prefix:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 3
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/plugins/providers/jaxb/XmlNamespacePrefixMapper;
0 8 1 namespaces [Ljavax/xml/bind/annotation/XmlNs;
4 5 2 namespace Ljavax/xml/bind/annotation/XmlNs;
MethodParameters:
Name Flags
namespaces final
public java.lang.String getPreferredPrefix(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jboss.resteasy.plugins.providers.jaxb.XmlNamespacePrefixMapper.namespaceMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 1: aload 4
ifnull 3
2: aload 4
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/plugins/providers/jaxb/XmlNamespacePrefixMapper;
0 4 1 namespaceUri Ljava/lang/String;
0 4 2 suggestion Ljava/lang/String;
0 4 3 requirePrefix Z
1 4 4 prefix Ljava/lang/String;
MethodParameters:
Name Flags
namespaceUri
suggestion
requirePrefix
}
SourceFile: "XmlNamespacePrefixMapper.java"