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: iconst_0
istore 2
start local 2 1: aload 0
ldc "[]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
2: 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
3: iinc 2 1
4: aload 0
ldc "[]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
5: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 6: aload 0
ldc "s"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 9
7: aload 1
ldc "es"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 12
9: 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
10: goto 12
end local 1 11: 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 12: StackMap locals: java.lang.String java.lang.StringBuilder int
StackMap stack:
iconst_0
istore 3
start local 3 13: aload 0
invokevirtual java.lang.String.length:()I
istore 4
start local 4 14: goto 27
15: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 16: iload 5
bipush 127
if_icmple 17
goto 26
17: StackMap locals: int
StackMap stack:
iload 5
bipush 97
if_icmplt 18
iload 5
bipush 122
if_icmpgt 18
goto 26
18: StackMap locals:
StackMap stack:
iload 5
bipush 65
if_icmplt 19
iload 5
bipush 90
if_icmpgt 19
goto 26
19: StackMap locals:
StackMap stack:
iload 5
bipush 48
if_icmplt 20
iload 5
bipush 57
if_icmpgt 20
goto 26
20: StackMap locals:
StackMap stack:
iload 5
bipush 95
if_icmpeq 26
iload 5
bipush 46
if_icmpeq 26
iload 5
bipush 45
if_icmpne 21
goto 26
21: StackMap locals:
StackMap stack:
iinc 2 1
22: iload 5
bipush 36
if_icmpne 25
23: aload 1
iload 3
bipush 46
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
24: goto 26
25: StackMap locals:
StackMap stack:
aload 1
iload 3
bipush 95
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
end local 5 26: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
27: iload 3
iload 4
if_icmplt 15
end local 4 end local 3 28: iload 2
ifne 30
29: aload 0
areturn
30: 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 31 0 name Ljava/lang/String;
6 11 1 sb Ljava/lang/StringBuilder;
12 31 1 sb Ljava/lang/StringBuilder;
1 31 2 changes I
13 28 3 i I
14 28 4 len I
16 26 5 c C
MethodParameters:
Name Flags
name
}
SourceFile: "StaxUtil.java"