public class org.graalvm.compiler.options.EnumOptionKey<T extends java.lang.Enum<T>> extends org.graalvm.compiler.options.OptionKey<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.options.EnumOptionKey
super_class: org.graalvm.compiler.options.OptionKey
{
final java.lang.Class<T> enumClass;
descriptor: Ljava/lang/Class;
flags: (0x0010) ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/options/EnumOptionKey;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.options.EnumOptionKey.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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.OptionKey.<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.EnumOptionKey java.lang.Enum
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield org.graalvm.compiler.options.EnumOptionKey.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/EnumOptionKey<TT;>;
0 5 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
public java.util.EnumSet<T> getAllValues();
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.EnumOptionKey.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/EnumOptionKey<TT;>;
Signature: ()Ljava/util/EnumSet<TT;>;
java.lang.Object valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.options.EnumOptionKey.enumClass:Ljava/lang/Class;
aload 1
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
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/String;)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.EnumOptionKey.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.EnumOptionKey.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
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/options/EnumOptionKey<TT;>;
0 4 1 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
name
protected void onValueUpdate(org.graalvm.util.EconomicMap<org.graalvm.compiler.options.OptionKey<?>, java.lang.Object>, T, );
descriptor: (Lorg/graalvm/util/EconomicMap;Ljava/lang/Enum;Ljava/lang/Enum;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.options.EnumOptionKey.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.options.EnumOptionKey.enumClass:Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is not a valid value for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/options/EnumOptionKey<TT;>;
0 2 1 values Lorg/graalvm/util/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
0 2 2 oldValue TT;
0 2 3 newValue TT;
Signature: (Lorg/graalvm/util/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;TT;TT;)V
MethodParameters:
Name Flags
values
oldValue
newValue
protected void onValueUpdate(org.graalvm.util.EconomicMap, java.lang.Object, java.lang.Object);
descriptor: (Lorg/graalvm/util/EconomicMap;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast java.lang.Enum
aload 3
checkcast java.lang.Enum
invokevirtual org.graalvm.compiler.options.EnumOptionKey.onValueUpdate:(Lorg/graalvm/util/EconomicMap;Ljava/lang/Enum;Ljava/lang/Enum;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Enum<TT;>;>Lorg/graalvm/compiler/options/OptionKey<TT;>;
SourceFile: "EnumOptionKey.java"