public class org.graalvm.compiler.core.test.ReflectionOptionDescriptors implements org.graalvm.compiler.options.OptionDescriptors
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.ReflectionOptionDescriptors
super_class: java.lang.Object
{
private final jdk.internal.vm.compiler.collections.EconomicMap<java.lang.String, org.graalvm.compiler.options.OptionDescriptor> descriptors;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Lorg/graalvm/compiler/options/OptionDescriptor;>;
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/core/test/ReflectionOptionDescriptors;
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.core.test.ReflectionOptionDescriptors.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.internal.vm.compiler.collections.EconomicMap<java.lang.String, java.lang.String> extractEntries(java.util.Properties, java.lang.String, boolean);
descriptor: (Ljava/util/Properties;Ljava/lang/String;Z)Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 3
start local 3 1: aload 0
invokevirtual java.util.Properties.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: java.util.Properties java.lang.String int jdk.internal.vm.compiler.collections.EconomicMap top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 3: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 4: aload 6
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
5: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 6: iload 2
ifeq 8
7: aload 6
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
8: StackMap locals: java.util.Properties java.lang.String int jdk.internal.vm.compiler.collections.EconomicMap java.util.Map$Entry java.util.Iterator java.lang.String java.lang.String
StackMap stack:
aload 3
aload 6
aload 7
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 4 9: StackMap locals: java.util.Properties java.lang.String int jdk.internal.vm.compiler.collections.EconomicMap top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 properties Ljava/util/Properties;
0 11 1 prefix Ljava/lang/String;
0 11 2 stripPrefix Z
1 11 3 matches Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;
3 9 4 e Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/lang/Object;>;
4 9 6 name Ljava/lang/String;
6 9 7 value Ljava/lang/String;
Signature: (Ljava/util/Properties;Ljava/lang/String;Z)Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
properties
prefix
stripPrefix
public void <init>(java.lang.Class<?>, java.lang.String[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.core.test.ReflectionOptionDescriptors.descriptors:Ljdk/internal/vm/compiler/collections/EconomicMap;
2: getstatic org.graalvm.compiler.core.test.ReflectionOptionDescriptors.$assertionsDisabled:Z
ifne 3
aload 2
arraylength
iconst_2
irem
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.core.test.ReflectionOptionDescriptors java.lang.Class java.lang.String[]
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 9
5: StackMap locals: int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 6: aload 2
iload 3
iconst_1
iadd
aaload
astore 5
start local 5 7: aload 0
aload 1
aload 4
aload 5
invokevirtual org.graalvm.compiler.core.test.ReflectionOptionDescriptors.addOption:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V
end local 5 end local 4 8: iinc 3 2
StackMap locals:
StackMap stack:
9: iload 3
aload 2
arraylength
if_icmplt 5
end local 3 10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/core/test/ReflectionOptionDescriptors;
0 11 1 declaringClass Ljava/lang/Class<*>;
0 11 2 fieldsAndHelp [Ljava/lang/String;
4 10 3 i I
6 8 4 fieldName Ljava/lang/String;
7 8 5 help Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;[Ljava/lang/String;)V
MethodParameters:
Name Flags
declaringClass
fieldsAndHelp
public void <init>(java.lang.Class<?>, jdk.internal.vm.compiler.collections.EconomicMap<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/Class;Ljdk/internal/vm/compiler/collections/EconomicMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.core.test.ReflectionOptionDescriptors.descriptors:Ljdk/internal/vm/compiler/collections/EconomicMap;
2: aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.getEntries:()Ljdk/internal/vm/compiler/collections/MapCursor;
astore 3
start local 3 3: goto 7
4: StackMap locals: org.graalvm.compiler.core.test.ReflectionOptionDescriptors java.lang.Class jdk.internal.vm.compiler.collections.EconomicMap jdk.internal.vm.compiler.collections.MapCursor
StackMap stack:
aload 3
invokeinterface jdk.internal.vm.compiler.collections.MapCursor.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 3
invokeinterface jdk.internal.vm.compiler.collections.MapCursor.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: aload 0
aload 1
aload 4
aload 5
invokevirtual org.graalvm.compiler.core.test.ReflectionOptionDescriptors.addOption:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V
end local 5 end local 4 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface jdk.internal.vm.compiler.collections.MapCursor.advance:()Z
ifne 4
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/core/test/ReflectionOptionDescriptors;
0 9 1 declaringClass Ljava/lang/Class<*>;
0 9 2 fieldsAndHelp Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;
3 9 3 cursor Ljdk/internal/vm/compiler/collections/MapCursor<Ljava/lang/String;Ljava/lang/String;>;
5 7 4 fieldName Ljava/lang/String;
6 7 5 help Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
declaringClass
fieldsAndHelp
private void addOption(java.lang.Class<?>, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 4
start local 4 1: ldc Lorg/graalvm/compiler/options/OptionKey;
aload 4
invokevirtual java.lang.reflect.Field.getType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "Option field must be of type %s: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc Lorg/graalvm/compiler/options/OptionKey;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.reflect.Field
StackMap stack:
aload 4
invokevirtual java.lang.reflect.Field.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 5
4: new java.lang.IllegalArgumentException
dup
ldc "Option field must be static: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 4
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
6: aload 4
invokevirtual java.lang.reflect.Field.getAnnotatedType:()Ljava/lang/reflect/AnnotatedType;
invokeinterface java.lang.reflect.AnnotatedType.getType:()Ljava/lang/reflect/Type;
astore 5
start local 5 7: aload 5
instanceof java.lang.reflect.ParameterizedType
ifne 9
8: new java.lang.IllegalArgumentException
dup
ldc "Option field must have a parameterized type: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.lang.reflect.Type
StackMap stack:
aload 5
checkcast java.lang.reflect.ParameterizedType
astore 6
start local 6 10: aload 6
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
astore 7
start local 7 11: getstatic org.graalvm.compiler.core.test.ReflectionOptionDescriptors.$assertionsDisabled:Z
ifne 12
aload 7
arraylength
iconst_1
if_icmpeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals: java.lang.reflect.ParameterizedType java.lang.reflect.Type[]
StackMap stack:
aload 7
iconst_0
aaload
checkcast java.lang.Class
astore 8
start local 8 13: aload 0
getfield org.graalvm.compiler.core.test.ReflectionOptionDescriptors.descriptors:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 2
aload 2
getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
aload 8
aload 3
aload 1
aload 2
aload 4
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.options.OptionKey
invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 end local 6 end local 5 end local 4 14: goto 17
StackMap locals: org.graalvm.compiler.core.test.ReflectionOptionDescriptors java.lang.Class java.lang.String java.lang.String
StackMap stack: java.lang.ReflectiveOperationException
15: astore 4
start local 4 16: new java.lang.IllegalArgumentException
dup
aload 4
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/core/test/ReflectionOptionDescriptors;
0 18 1 declaringClass Ljava/lang/Class<*>;
0 18 2 fieldName Ljava/lang/String;
0 18 3 help Ljava/lang/String;
1 14 4 f Ljava/lang/reflect/Field;
7 14 5 declaredType Ljava/lang/reflect/Type;
10 14 6 pt Ljava/lang/reflect/ParameterizedType;
11 14 7 actualTypeArguments [Ljava/lang/reflect/Type;
13 14 8 optionValueType Ljava/lang/Class<*>;
16 17 4 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 14 15 Class java.lang.IllegalAccessException
0 14 15 Class java.lang.NoSuchFieldException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/String;)V
MethodParameters:
Name Flags
declaringClass
fieldName
help
public java.util.Iterator<org.graalvm.compiler.options.OptionDescriptor> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.test.ReflectionOptionDescriptors.descriptors:Ljdk/internal/vm/compiler/collections/EconomicMap;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.getValues:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/ReflectionOptionDescriptors;
Signature: ()Ljava/util/Iterator<Lorg/graalvm/compiler/options/OptionDescriptor;>;
public org.graalvm.compiler.options.OptionDescriptor get(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/options/OptionDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.test.ReflectionOptionDescriptors.descriptors:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.options.OptionDescriptor
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/ReflectionOptionDescriptors;
0 1 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
}
SourceFile: "ReflectionOptionDescriptors.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map