public class com.fasterxml.jackson.databind.ext.NioPathDeserializer extends com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.ext.NioPathDeserializer
super_class: com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final boolean areWindowsFilePathsSupported;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=6, args_size=0
0: iconst_0
istore 0
start local 0 1: invokestatic java.io.File.listRoots:()[Ljava/io/File;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 8
StackMap locals: int top int int java.io.File[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
astore 5
start local 5 4: aload 5
invokevirtual java.lang.String.length:()I
iconst_2
if_icmplt 7
aload 5
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isLetter:(C)Z
ifeq 7
aload 5
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 7
5: iconst_1
istore 0
6: goto 9
end local 5 end local 1 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 2
9: StackMap locals: int
StackMap stack:
iload 0
putstatic com.fasterxml.jackson.databind.ext.NioPathDeserializer.areWindowsFilePathsSupported:Z
end local 0 10: return
LocalVariableTable:
Start End Slot Name Signature
1 10 0 isWindowsRootFound Z
3 7 1 file Ljava/io/File;
4 7 5 path Ljava/lang/String;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/nio/file/Path;
invokespecial com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer.<init>:(Ljava/lang/Class;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/ext/NioPathDeserializer;
public java.nio.file.Path deserialize(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext);
descriptor: (Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic com.fasterxml.jackson.core.JsonToken.VALUE_STRING:Lcom/fasterxml/jackson/core/JsonToken;
invokevirtual com.fasterxml.jackson.core.JsonParser.hasToken:(Lcom/fasterxml/jackson/core/JsonToken;)Z
ifne 2
1: aload 2
ldc Ljava/nio/file/Path;
aload 1
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken:(Ljava/lang/Class;Lcom/fasterxml/jackson/core/JsonParser;)Ljava/lang/Object;
checkcast java.nio.file.Path
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.fasterxml.jackson.core.JsonParser.getText:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
ifge 5
4: aload 3
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
5: StackMap locals: java.lang.String
StackMap stack:
getstatic com.fasterxml.jackson.databind.ext.NioPathDeserializer.areWindowsFilePathsSupported:Z
ifeq 8
6: aload 3
invokevirtual java.lang.String.length:()I
iconst_2
if_icmplt 8
aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isLetter:(C)Z
ifeq 8
aload 3
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 8
7: aload 3
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
8: StackMap locals:
StackMap stack:
new java.net.URI
dup
aload 3
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 4
start local 4 9: goto 12
end local 4 StackMap locals:
StackMap stack: java.net.URISyntaxException
10: astore 5
start local 5 11: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.ext.NioPathDeserializer.handledType:()Ljava/lang/Class;
aload 3
aload 5
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleInstantiationProblem:(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;
checkcast java.nio.file.Path
areturn
end local 5 start local 4 12: StackMap locals: java.net.URI
StackMap stack:
aload 4
invokestatic java.nio.file.Paths.get:(Ljava/net/URI;)Ljava/nio/file/Path;
13: areturn
14: StackMap locals:
StackMap stack: java.nio.file.FileSystemNotFoundException
astore 5
start local 5 15: aload 4
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
astore 6
start local 6 16: ldc Ljava/nio/file/spi/FileSystemProvider;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 8
goto 21
StackMap locals: com.fasterxml.jackson.databind.ext.NioPathDeserializer com.fasterxml.jackson.core.JsonParser com.fasterxml.jackson.databind.DeserializationContext java.lang.String java.net.URI java.nio.file.FileSystemNotFoundException java.lang.String top java.util.Iterator
StackMap stack:
17: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.spi.FileSystemProvider
astore 7
start local 7 18: aload 7
invokevirtual java.nio.file.spi.FileSystemProvider.getScheme:()Ljava/lang/String;
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
19: aload 7
aload 4
invokevirtual java.nio.file.spi.FileSystemProvider.getPath:(Ljava/net/URI;)Ljava/nio/file/Path;
20: areturn
end local 7 21: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
22: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.ext.NioPathDeserializer.handledType:()Ljava/lang/Class;
aload 3
aload 5
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleInstantiationProblem:(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;
checkcast java.nio.file.Path
23: areturn
end local 6 24: StackMap locals: com.fasterxml.jackson.databind.ext.NioPathDeserializer com.fasterxml.jackson.core.JsonParser com.fasterxml.jackson.databind.DeserializationContext java.lang.String java.net.URI java.nio.file.FileSystemNotFoundException
StackMap stack: java.lang.Throwable
astore 6
start local 6 25: aload 6
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
26: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.ext.NioPathDeserializer.handledType:()Ljava/lang/Class;
aload 3
aload 6
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleInstantiationProblem:(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;
checkcast java.nio.file.Path
areturn
end local 6 end local 5 27: StackMap locals: com.fasterxml.jackson.databind.ext.NioPathDeserializer com.fasterxml.jackson.core.JsonParser com.fasterxml.jackson.databind.DeserializationContext java.lang.String java.net.URI
StackMap stack: java.lang.Throwable
astore 5
start local 5 28: aload 2
aload 0
invokevirtual com.fasterxml.jackson.databind.ext.NioPathDeserializer.handledType:()Ljava/lang/Class;
aload 3
aload 5
invokevirtual com.fasterxml.jackson.databind.DeserializationContext.handleInstantiationProblem:(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;
checkcast java.nio.file.Path
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/fasterxml/jackson/databind/ext/NioPathDeserializer;
0 29 1 p Lcom/fasterxml/jackson/core/JsonParser;
0 29 2 ctxt Lcom/fasterxml/jackson/databind/DeserializationContext;
3 29 3 value Ljava/lang/String;
9 10 4 uri Ljava/net/URI;
12 29 4 uri Ljava/net/URI;
11 12 5 e Ljava/net/URISyntaxException;
15 27 5 cause Ljava/nio/file/FileSystemNotFoundException;
16 24 6 scheme Ljava/lang/String;
18 21 7 provider Ljava/nio/file/spi/FileSystemProvider;
25 27 6 e Ljava/lang/Throwable;
28 29 5 e Ljava/lang/Throwable;
Exception table:
from to target type
8 9 10 Class java.net.URISyntaxException
12 13 14 Class java.nio.file.FileSystemNotFoundException
15 20 24 Class java.lang.Throwable
21 23 24 Class java.lang.Throwable
12 13 27 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
p
ctxt
public java.lang.Object deserialize(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext);
descriptor: (Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual com.fasterxml.jackson.databind.ext.NioPathDeserializer.deserialize:(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/nio/file/Path;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingException
}
Signature: Lcom/fasterxml/jackson/databind/deser/std/StdScalarDeserializer<Ljava/nio/file/Path;>;
SourceFile: "NioPathDeserializer.java"