class jdk.tools.jmod.JmodTask$ModuleVersionConverter implements jdk.internal.joptsimple.ValueConverter<java.lang.module.ModuleDescriptor$Version>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jmod.JmodTask$ModuleVersionConverter
super_class: java.lang.Object
{
void <init>();
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$ModuleVersionConverter;
public java.lang.module.ModuleDescriptor$Version convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.lang.module.ModuleDescriptor$Version.parse:(Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Version;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 2
start local 2 3: new jdk.tools.jmod.JmodTask$CommandException
dup
ldc "err.invalid.version"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
aastore
invokespecial jdk.tools.jmod.JmodTask$CommandException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jmod/JmodTask$ModuleVersionConverter;
0 4 1 value Ljava/lang/String;
3 4 2 x Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
value
public java.lang.Class<java.lang.module.ModuleDescriptor$Version> valueType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/lang/module/ModuleDescriptor$Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$ModuleVersionConverter;
Signature: ()Ljava/lang/Class<Ljava/lang/module/ModuleDescriptor$Version;>;
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: ldc "module-version"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$ModuleVersionConverter;
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.tools.jmod.JmodTask$ModuleVersionConverter.convert:(Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Version;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljdk/internal/joptsimple/ValueConverter<Ljava/lang/module/ModuleDescriptor$Version;>;
SourceFile: "JmodTask.java"
NestHost: jdk.tools.jmod.JmodTask
InnerClasses:
public final Version = java.lang.module.ModuleDescriptor$Version of java.lang.module.ModuleDescriptor
CommandException = jdk.tools.jmod.JmodTask$CommandException of jdk.tools.jmod.JmodTask
ModuleVersionConverter = jdk.tools.jmod.JmodTask$ModuleVersionConverter of jdk.tools.jmod.JmodTask