public class jdk.internal.joptsimple.util.PathConverter implements jdk.internal.joptsimple.ValueConverter<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.joptsimple.util.PathConverter
super_class: java.lang.Object
{
private final jdk.internal.joptsimple.util.PathProperties[] pathProperties;
descriptor: [Ljdk/internal/joptsimple/util/PathProperties;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.internal.joptsimple.util.PathProperties[]);
descriptor: ([Ljdk/internal/joptsimple/util/PathProperties;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.joptsimple.util.PathConverter.pathProperties:[Ljdk/internal/joptsimple/util/PathProperties;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/joptsimple/util/PathConverter;
0 3 1 pathProperties [Ljdk/internal/joptsimple/util/PathProperties;
MethodParameters:
Name Flags
pathProperties
public java.nio.file.Path convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aload 0
getfield jdk.internal.joptsimple.util.PathConverter.pathProperties:[Ljdk/internal/joptsimple/util/PathProperties;
ifnull 8
2: aload 0
getfield jdk.internal.joptsimple.util.PathConverter.pathProperties:[Ljdk/internal/joptsimple/util/PathProperties;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: jdk.internal.joptsimple.util.PathConverter java.lang.String java.nio.file.Path top int int jdk.internal.joptsimple.util.PathProperties[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
aload 2
invokevirtual jdk.internal.joptsimple.util.PathProperties.accept:(Ljava/nio/file/Path;)Z
ifne 6
5: new jdk.internal.joptsimple.ValueConversionException
dup
aload 0
aload 3
invokevirtual jdk.internal.joptsimple.util.PathProperties.getMessageKey:()Ljava/lang/String;
aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual jdk.internal.joptsimple.util.PathConverter.message:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial jdk.internal.joptsimple.ValueConversionException.<init>:(Ljava/lang/String;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: StackMap locals: jdk.internal.joptsimple.util.PathConverter java.lang.String java.nio.file.Path
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/joptsimple/util/PathConverter;
0 9 1 value Ljava/lang/String;
1 9 2 path Ljava/nio/file/Path;
4 6 3 each Ljdk/internal/joptsimple/util/PathProperties;
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/internal/joptsimple/util/PathConverter;
Signature: ()Ljava/lang/Class<Ljava/nio/file/Path;>;
public java.lang.String valuePattern();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/util/PathConverter;
private java.lang.String message(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: ldc "jdk.internal.joptsimple.ExceptionMessages"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
astore 3
start local 3 1: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
invokevirtual jdk.internal.joptsimple.util.PathConverter.valuePattern:()Ljava/lang/String;
aastore
astore 4
start local 4 2: aload 3
new java.lang.StringBuilder
dup
ldc Ljdk/internal/joptsimple/util/PathConverter;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".message"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 3: new java.text.MessageFormat
dup
aload 5
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
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 4 0 this Ljdk/internal/joptsimple/util/PathConverter;
0 4 1 errorKey Ljava/lang/String;
0 4 2 value Ljava/lang/String;
1 4 3 bundle Ljava/util/ResourceBundle;
2 4 4 arguments [Ljava/lang/Object;
3 4 5 template Ljava/lang/String;
MethodParameters:
Name Flags
errorKey
value
public java.lang.Object convert(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.internal.joptsimple.util.PathConverter.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: "PathConverter.java"