public class com.fasterxml.jackson.dataformat.xml.util.StaxUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.dataformat.xml.util.StaxUtil
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/xml/util/StaxUtil;
public static <T> T throwXmlAsIOException(javax.xml.stream.XMLStreamException);
descriptor: (Ljavax/xml/stream/XMLStreamException;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.fasterxml.jackson.dataformat.xml.util.StaxUtil._unwrap:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
start local 1 1: new java.io.IOException
dup
aload 1
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 e Ljavax/xml/stream/XMLStreamException;
1 2 1 t Ljava/lang/Throwable;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljavax/xml/stream/XMLStreamException;)TT;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
e
public static <T> T throwAsParseException(javax.xml.stream.XMLStreamException, com.fasterxml.jackson.core.JsonParser);
descriptor: (Ljavax/xml/stream/XMLStreamException;Lcom/fasterxml/jackson/core/JsonParser;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.fasterxml.jackson.dataformat.xml.util.StaxUtil._unwrap:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 2
start local 2 1: new com.fasterxml.jackson.core.JsonParseException
dup
aload 1
aload 2
aload 0
invokestatic com.fasterxml.jackson.dataformat.xml.util.StaxUtil._message:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/String;
aload 2
invokespecial com.fasterxml.jackson.core.JsonParseException.<init>:(Lcom/fasterxml/jackson/core/JsonParser;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 e Ljavax/xml/stream/XMLStreamException;
0 2 1 p Lcom/fasterxml/jackson/core/JsonParser;
1 2 2 t Ljava/lang/Throwable;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljavax/xml/stream/XMLStreamException;Lcom/fasterxml/jackson/core/JsonParser;)TT;
MethodParameters:
Name Flags
e
p
public static <T> T throwAsGenerationException(javax.xml.stream.XMLStreamException, com.fasterxml.jackson.core.JsonGenerator);
descriptor: (Ljavax/xml/stream/XMLStreamException;Lcom/fasterxml/jackson/core/JsonGenerator;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.fasterxml.jackson.dataformat.xml.util.StaxUtil._unwrap:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 2
start local 2 1: new com.fasterxml.jackson.core.JsonGenerationException
dup
aload 2
aload 0
invokestatic com.fasterxml.jackson.dataformat.xml.util.StaxUtil._message:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/String;
aload 2
aload 1
invokespecial com.fasterxml.jackson.core.JsonGenerationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lcom/fasterxml/jackson/core/JsonGenerator;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 e Ljavax/xml/stream/XMLStreamException;
0 2 1 g Lcom/fasterxml/jackson/core/JsonGenerator;
1 2 2 t Ljava/lang/Throwable;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljavax/xml/stream/XMLStreamException;Lcom/fasterxml/jackson/core/JsonGenerator;)TT;
MethodParameters:
Name Flags
e
g
private static java.lang.Throwable _unwrap(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 0
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
ifnonnull 1
3: aload 0
instanceof java.lang.Error
ifeq 4
aload 0
checkcast java.lang.Error
athrow
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.RuntimeException
ifeq 5
aload 0
checkcast java.lang.RuntimeException
athrow
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
private static java.lang.String _message(java.lang.Throwable, java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 2
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 t1 Ljava/lang/Throwable;
0 4 1 t2 Ljava/lang/Throwable;
1 4 2 msg Ljava/lang/String;
MethodParameters:
Name Flags
t1
t2
public static java.lang.String sanitizeXmlTypeName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: aload 0
ldc "[]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 13
4: StackMap locals: java.lang.String top int
StackMap stack:
aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 0
5: iinc 2 1
6: aload 0
ldc "[]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 4
7: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 8: aload 0
ldc "s"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
9: aload 1
ldc "es"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: goto 14
11: StackMap locals: java.lang.String java.lang.StringBuilder int
StackMap stack:
aload 1
bipush 115
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: goto 14
end local 1 13: StackMap locals: java.lang.String top int
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 14: StackMap locals: java.lang.String java.lang.StringBuilder int
StackMap stack:
iconst_0
istore 3
start local 3 15: aload 0
invokevirtual java.lang.String.length:()I
istore 4
start local 4 16: goto 29
17: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 18: iload 5
bipush 127
if_icmple 19
goto 28
19: StackMap locals: int
StackMap stack:
iload 5
bipush 97
if_icmplt 20
iload 5
bipush 122
if_icmpgt 20
goto 28
20: StackMap locals:
StackMap stack:
iload 5
bipush 65
if_icmplt 21
iload 5
bipush 90
if_icmpgt 21
goto 28
21: StackMap locals:
StackMap stack:
iload 5
bipush 48
if_icmplt 22
iload 5
bipush 57
if_icmpgt 22
goto 28
22: StackMap locals:
StackMap stack:
iload 5
bipush 95
if_icmpeq 28
iload 5
bipush 46
if_icmpeq 28
iload 5
bipush 45
if_icmpne 23
goto 28
23: StackMap locals:
StackMap stack:
iinc 2 1
24: iload 5
bipush 36
if_icmpne 27
25: aload 1
iload 3
bipush 46
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
26: goto 28
27: StackMap locals:
StackMap stack:
aload 1
iload 3
bipush 95
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
end local 5 28: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
29: iload 3
iload 4
if_icmplt 17
end local 4 end local 3 30: iload 2
ifne 32
31: aload 0
areturn
32: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 name Ljava/lang/String;
8 13 1 sb Ljava/lang/StringBuilder;
14 33 1 sb Ljava/lang/StringBuilder;
3 33 2 changes I
15 30 3 i I
16 30 4 len I
18 28 5 c C
MethodParameters:
Name Flags
name
public static org.codehaus.stax2.typed.Base64Variant toStax2Base64Variant(com.fasterxml.jackson.core.Base64Variant);
descriptor: (Lcom/fasterxml/jackson/core/Base64Variant;)Lorg/codehaus/stax2/typed/Base64Variant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.fasterxml.jackson.dataformat.xml.util.StaxUtil$Base64Mapper.instance:Lcom/fasterxml/jackson/dataformat/xml/util/StaxUtil$Base64Mapper;
aload 0
invokevirtual com.fasterxml.jackson.dataformat.xml.util.StaxUtil$Base64Mapper.map:(Lcom/fasterxml/jackson/core/Base64Variant;)Lorg/codehaus/stax2/typed/Base64Variant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 j64b Lcom/fasterxml/jackson/core/Base64Variant;
MethodParameters:
Name Flags
j64b
}
SourceFile: "StaxUtil.java"
NestMembers:
com.fasterxml.jackson.dataformat.xml.util.StaxUtil$Base64Mapper
InnerClasses:
private Base64Mapper = com.fasterxml.jackson.dataformat.xml.util.StaxUtil$Base64Mapper of com.fasterxml.jackson.dataformat.xml.util.StaxUtil