class jdk.tools.jmod.JmodTask$WarnIfResolvedReasonConverter implements jdk.internal.joptsimple.ValueConverter<jdk.internal.module.ModuleResolution>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jmod.JmodTask$WarnIfResolvedReasonConverter
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$WarnIfResolvedReasonConverter;
public jdk.internal.module.ModuleResolution convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/module/ModuleResolution;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "deprecated"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: invokestatic jdk.internal.module.ModuleResolution.empty:()Ljdk/internal/module/ModuleResolution;
invokevirtual jdk.internal.module.ModuleResolution.withDeprecated:()Ljdk/internal/module/ModuleResolution;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "deprecated-for-removal"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: invokestatic jdk.internal.module.ModuleResolution.empty:()Ljdk/internal/module/ModuleResolution;
invokevirtual jdk.internal.module.ModuleResolution.withDeprecatedForRemoval:()Ljdk/internal/module/ModuleResolution;
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "incubating"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: invokestatic jdk.internal.module.ModuleResolution.empty:()Ljdk/internal/module/ModuleResolution;
invokevirtual jdk.internal.module.ModuleResolution.withIncubating:()Ljdk/internal/module/ModuleResolution;
areturn
6: StackMap locals:
StackMap stack:
new jdk.tools.jmod.JmodTask$CommandException
dup
ldc "err.bad.WarnIfResolvedReason"
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 7 0 this Ljdk/tools/jmod/JmodTask$WarnIfResolvedReasonConverter;
0 7 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.lang.Class<jdk.internal.module.ModuleResolution> valueType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljdk/internal/module/ModuleResolution;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$WarnIfResolvedReasonConverter;
Signature: ()Ljava/lang/Class<Ljdk/internal/module/ModuleResolution;>;
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 "reason"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$WarnIfResolvedReasonConverter;
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$WarnIfResolvedReasonConverter.convert:(Ljava/lang/String;)Ljdk/internal/module/ModuleResolution;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljdk/internal/joptsimple/ValueConverter<Ljdk/internal/module/ModuleResolution;>;
SourceFile: "JmodTask.java"
NestHost: jdk.tools.jmod.JmodTask
InnerClasses:
CommandException = jdk.tools.jmod.JmodTask$CommandException of jdk.tools.jmod.JmodTask
WarnIfResolvedReasonConverter = jdk.tools.jmod.JmodTask$WarnIfResolvedReasonConverter of jdk.tools.jmod.JmodTask