public class org.graalvm.compiler.options.EnumOptionValue<T extends java.lang.Enum<T>> extends org.graalvm.compiler.options.OptionValue<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.options.EnumOptionValue
super_class: org.graalvm.compiler.options.OptionValue
{
final java.lang.Class<T> enumClass;
descriptor: Ljava/lang/Class;
flags: (0x0010) ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
public void <init>();
descriptor: (Ljava/lang/Enum;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.graalvm.compiler.options.OptionValue.<init>:(Ljava/lang/Object;)V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "Value must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.graalvm.compiler.options.EnumOptionValue java.lang.Enum
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield org.graalvm.compiler.options.EnumOptionValue.enumClass:Ljava/lang/Class;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/options/EnumOptionValue<TT;>;
0 5 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
public java.util.EnumSet<T> getOptionValues();
descriptor: ()Ljava/util/EnumSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.options.EnumOptionValue.enumClass:Ljava/lang/Class;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/options/EnumOptionValue<TT;>;
Signature: ()Ljava/util/EnumSet<TT;>;
public void setValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.graalvm.compiler.options.EnumOptionValue.enumClass:Ljava/lang/Class;
aload 1
checkcast java.lang.String
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
invokespecial org.graalvm.compiler.options.OptionValue.setValue:(Ljava/lang/Object;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
2: pop
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\" is not a valid option for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.graalvm.compiler.options.EnumOptionValue.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ". Valid values are "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.options.EnumOptionValue.enumClass:Ljava/lang/Class;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/options/EnumOptionValue<TT;>;
0 5 1 v Ljava/lang/Object;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
v
}
Signature: <T:Ljava/lang/Enum<TT;>;>Lorg/graalvm/compiler/options/OptionValue<TT;>;
SourceFile: "EnumOptionValue.java"