class implements jdk.internal.joptsimple.ValueConverter<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jmod.JmodTask$ExtractDirPathConverter
super_class: java.lang.Object
{
void ();
descriptor: ()V
flags: (0x0000)
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 Ljdk/tools/jmod/JmodTask$ExtractDirPathConverter;
public java.nio.file.Path (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.tools.jmod.JmodTask.CWD:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 4
2: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 4
3: new jdk.tools.jmod.JmodTask$CommandException
dup
ldc "err.cannot.create.dir"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokespecial jdk.tools.jmod.JmodTask$CommandException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
4: StackMap locals: java.nio.file.Path
StackMap stack:
aload 2
5: areturn
end local 2 6: StackMap locals: jdk.tools.jmod.JmodTask$ExtractDirPathConverter java.lang.String
StackMap stack: java.nio.file.InvalidPathException
pop
7: new jdk.tools.jmod.JmodTask$CommandException
dup
ldc "err.path.not.valid"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial jdk.tools.jmod.JmodTask$CommandException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jmod/JmodTask$ExtractDirPathConverter;
0 8 1 value Ljava/lang/String;
1 6 2 path Ljava/nio/file/Path;
Exception table:
from to target type
0 5 6 Class java.nio.file.InvalidPathException
MethodParameters:
Name Flags
value
public java.lang.Class<java.nio.file.Path> valueType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$ExtractDirPathConverter;
Signature: ()Ljava/lang/Class<Ljava/nio/file/Path;>;
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "path"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$ExtractDirPathConverter;
public java.lang.Object (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual jdk.tools.jmod.JmodTask$ExtractDirPathConverter.convert:(Ljava/lang/String;)Ljava/nio/file/Path;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljdk/internal/joptsimple/ValueConverter<Ljava/nio/file/Path;>;
SourceFile: "JmodTask.java"
NestHost: jdk.tools.jmod.JmodTask
InnerClasses:
CommandException = jdk.tools.jmod.JmodTask$CommandException of jdk.tools.jmod.JmodTask
ExtractDirPathConverter = jdk.tools.jmod.JmodTask$ExtractDirPathConverter of jdk.tools.jmod.JmodTask