public class org.graalvm.compiler.options.OptionsParser
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.options.OptionsParser
  super_class: java.lang.Object
{
  private static volatile java.util.List<org.graalvm.compiler.options.OptionDescriptors> cachedOptionDescriptors;
    descriptor: Ljava/util/List;
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
    Signature: Ljava/util/List<Lorg/graalvm/compiler/options/OptionDescriptors;>;

  public static final float FUZZY_MATCH_THRESHOLD;
    descriptor: F
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 0.7

  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: .line 43
            ldc Lorg/graalvm/compiler/options/OptionsParser;
            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.OptionsParser.$assertionsDisabled:Z
         3: .line 227
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.options.OptionsParser this
         0: .line 43
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.options.OptionsParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/options/OptionsParser;

  public static java.lang.Iterable<org.graalvm.compiler.options.OptionDescriptors> getOptionsLoader();
    descriptor: ()Ljava/lang/Iterable;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 51
            getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
            ifne 1
            getstatic org.graalvm.compiler.options.OptionsParser.cachedOptionDescriptors:Ljava/util/List;
            ifnull 2
         1: .line 52
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.options.OptionsParser.cachedOptionDescriptors:Ljava/util/List;
            areturn
         2: .line 54
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.compiler.options.ModuleSupport.getOptionsLoader:()Ljava/lang/Iterable;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: ()Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;

  public static void setCachedOptionDescriptors(java.util.List<org.graalvm.compiler.options.OptionDescriptors>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.util.List list
         0: .line 58
            getstatic org.graalvm.compiler.options.OptionsParser.$assertionsDisabled:Z
            ifne 1
            getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
            ifne 1
            new java.lang.AssertionError
            dup
            ldc "Used to pre-initialize the option descriptors during native image generation"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         1: .line 59
      StackMap locals:
      StackMap stack:
            aload 0 /* list */
            putstatic org.graalvm.compiler.options.OptionsParser.cachedOptionDescriptors:Ljava/util/List;
         2: .line 60
            return
        end local 0 // java.util.List list
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  list  Ljava/util/List<Lorg/graalvm/compiler/options/OptionDescriptors;>;
    Signature: (Ljava/util/List<Lorg/graalvm/compiler/options/OptionDescriptors;>;)V
    MethodParameters:
      Name  Flags
      list  

  public static void parseOptions(jdk.internal.vm.compiler.collections.EconomicMap<java.lang.String, java.lang.String>, jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.options.OptionKey<?>, java.lang.Object>, java.lang.Iterable<org.graalvm.compiler.options.OptionDescriptors>);
    descriptor: (Ljdk/internal/vm/compiler/collections/EconomicMap;Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Iterable;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.internal.vm.compiler.collections.EconomicMap optionSettings
        start local 1 // jdk.internal.vm.compiler.collections.EconomicMap values
        start local 2 // java.lang.Iterable loader
         0: .line 71
            aload 0 /* optionSettings */
            ifnull 5
            aload 0 /* optionSettings */
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.isEmpty:()Z
            ifne 5
         1: .line 72
            aload 0 /* optionSettings */
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.getEntries:()Ljdk/internal/vm/compiler/collections/MapCursor;
            astore 3 /* cursor */
        start local 3 // jdk.internal.vm.compiler.collections.MapCursor cursor
         2: .line 73
            goto 4
         3: .line 74
      StackMap locals: jdk.internal.vm.compiler.collections.MapCursor
      StackMap stack:
            aload 3 /* cursor */
            invokeinterface jdk.internal.vm.compiler.collections.MapCursor.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            aload 3 /* cursor */
            invokeinterface jdk.internal.vm.compiler.collections.MapCursor.getValue:()Ljava/lang/Object;
            aload 1 /* values */
            aload 2 /* loader */
            invokestatic org.graalvm.compiler.options.OptionsParser.parseOption:(Ljava/lang/String;Ljava/lang/Object;Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Iterable;)V
         4: .line 73
      StackMap locals:
      StackMap stack:
            aload 3 /* cursor */
            invokeinterface jdk.internal.vm.compiler.collections.MapCursor.advance:()Z
            ifne 3
        end local 3 // jdk.internal.vm.compiler.collections.MapCursor cursor
         5: .line 77
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Iterable loader
        end local 1 // jdk.internal.vm.compiler.collections.EconomicMap values
        end local 0 // jdk.internal.vm.compiler.collections.EconomicMap optionSettings
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    6     0  optionSettings  Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;
            0    6     1          values  Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
            0    6     2          loader  Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;
            2    5     3          cursor  Ljdk/internal/vm/compiler/collections/MapCursor<Ljava/lang/String;Ljava/lang/String;>;
    Signature: (Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;)V
    MethodParameters:
                Name  Flags
      optionSettings  
      values          
      loader          

  public static void parseOptionSettingTo(java.lang.String, jdk.internal.vm.compiler.collections.EconomicMap<java.lang.String, java.lang.String>);
    descriptor: (Ljava/lang/String;Ljdk/internal/vm/compiler/collections/EconomicMap;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.lang.String optionSetting
        start local 1 // jdk.internal.vm.compiler.collections.EconomicMap dst
         0: .line 85
            aload 0 /* optionSetting */
            bipush 61
            invokevirtual java.lang.String.indexOf:(I)I
            istore 2 /* eqIndex */
        start local 2 // int eqIndex
         1: .line 86
            iload 2 /* eqIndex */
            iconst_m1
            if_icmpne 3
         2: .line 87
            new java.lang.InternalError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Option setting has does not match the pattern <name>=<value>: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* optionSetting */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 89
      StackMap locals: int
      StackMap stack:
            aload 1 /* dst */
            aload 0 /* optionSetting */
            iconst_0
            iload 2 /* eqIndex */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            aload 0 /* optionSetting */
            iload 2 /* eqIndex */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 90
            return
        end local 2 // int eqIndex
        end local 1 // jdk.internal.vm.compiler.collections.EconomicMap dst
        end local 0 // java.lang.String optionSetting
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0  optionSetting  Ljava/lang/String;
            0    5     1            dst  Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;
            1    5     2        eqIndex  I
    Signature: (Ljava/lang/String;Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;)V
    MethodParameters:
               Name  Flags
      optionSetting  
      dst            

  private static org.graalvm.compiler.options.OptionDescriptor lookup(java.lang.Iterable<org.graalvm.compiler.options.OptionDescriptors>, java.lang.String);
    descriptor: (Ljava/lang/Iterable;Ljava/lang/String;)Lorg/graalvm/compiler/options/OptionDescriptor;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // java.lang.Iterable loader
        start local 1 // java.lang.String name
         0: .line 101
            aload 0 /* loader */
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 3
            goto 5
      StackMap locals: java.lang.Iterable java.lang.String top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.options.OptionDescriptors
            astore 2 /* optionDescriptors */
        start local 2 // org.graalvm.compiler.options.OptionDescriptors optionDescriptors
         2: .line 102
            aload 2 /* optionDescriptors */
            aload 1 /* name */
            invokeinterface org.graalvm.compiler.options.OptionDescriptors.get:(Ljava/lang/String;)Lorg/graalvm/compiler/options/OptionDescriptor;
            astore 4 /* desc */
        start local 4 // org.graalvm.compiler.options.OptionDescriptor desc
         3: .line 103
            aload 4 /* desc */
            ifnull 5
         4: .line 104
            aload 4 /* desc */
            areturn
        end local 4 // org.graalvm.compiler.options.OptionDescriptor desc
        end local 2 // org.graalvm.compiler.options.OptionDescriptors optionDescriptors
         5: .line 101
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         6: .line 107
            aconst_null
            areturn
        end local 1 // java.lang.String name
        end local 0 // java.lang.Iterable loader
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    7     0             loader  Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;
            0    7     1               name  Ljava/lang/String;
            2    5     2  optionDescriptors  Lorg/graalvm/compiler/options/OptionDescriptors;
            3    5     4               desc  Lorg/graalvm/compiler/options/OptionDescriptor;
    Signature: (Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;Ljava/lang/String;)Lorg/graalvm/compiler/options/OptionDescriptor;
    MethodParameters:
        Name  Flags
      loader  
      name    

  public static void parseOption(java.lang.String, , jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.options.OptionKey<?>, java.lang.Object>, java.lang.Iterable<org.graalvm.compiler.options.OptionDescriptors>);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Iterable;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=9, args_size=4
        start local 0 // java.lang.String name
        start local 1 // java.lang.Object uncheckedValue
        start local 2 // jdk.internal.vm.compiler.collections.EconomicMap values
        start local 3 // java.lang.Iterable loader
         0: .line 121
            aload 3 /* loader */
            aload 0 /* name */
            invokestatic org.graalvm.compiler.options.OptionsParser.lookup:(Ljava/lang/Iterable;Ljava/lang/String;)Lorg/graalvm/compiler/options/OptionDescriptor;
            astore 4 /* desc */
        start local 4 // org.graalvm.compiler.options.OptionDescriptor desc
         1: .line 122
            aload 4 /* desc */
            ifnonnull 12
         2: .line 123
            aload 3 /* loader */
            aload 0 /* name */
            invokestatic org.graalvm.compiler.options.OptionsParser.fuzzyMatch:(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/util/List;
            astore 5 /* matches */
        start local 5 // java.util.List matches
         3: .line 124
            new java.util.Formatter
            dup
            invokespecial java.util.Formatter.<init>:()V
            astore 6 /* msg */
        start local 6 // java.util.Formatter msg
         4: .line 125
            aload 6 /* msg */
            ldc "Could not find option %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* name */
            aastore
            invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
            pop
         5: .line 126
            aload 5 /* matches */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 11
         6: .line 127
            aload 6 /* msg */
            ldc "%nDid you mean one of the following?"
            iconst_0
            anewarray java.lang.Object
            invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
            pop
         7: .line 128
            aload 5 /* matches */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 8
            goto 10
      StackMap locals: java.lang.String java.lang.Object jdk.internal.vm.compiler.collections.EconomicMap java.lang.Iterable org.graalvm.compiler.options.OptionDescriptor java.util.List java.util.Formatter top java.util.Iterator
      StackMap stack:
         8: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.options.OptionDescriptor
            astore 7 /* match */
        start local 7 // org.graalvm.compiler.options.OptionDescriptor match
         9: .line 129
            aload 6 /* msg */
            ldc "%n    %s=<value>"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 7 /* match */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
            aastore
            invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
            pop
        end local 7 // org.graalvm.compiler.options.OptionDescriptor match
        10: .line 128
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        11: .line 132
      StackMap locals: java.lang.String java.lang.Object jdk.internal.vm.compiler.collections.EconomicMap java.lang.Iterable org.graalvm.compiler.options.OptionDescriptor java.util.List java.util.Formatter
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            aload 6 /* msg */
            invokevirtual java.util.Formatter.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 6 // java.util.Formatter msg
        end local 5 // java.util.List matches
        12: .line 135
      StackMap locals:
      StackMap stack:
            aload 4 /* desc */
            aload 1 /* uncheckedValue */
            invokestatic org.graalvm.compiler.options.OptionsParser.parseOptionValue:(Lorg/graalvm/compiler/options/OptionDescriptor;Ljava/lang/Object;)Ljava/lang/Object;
            astore 5 /* value */
        start local 5 // java.lang.Object value
        13: .line 137
            aload 4 /* desc */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getOptionKey:()Lorg/graalvm/compiler/options/OptionKey;
            aload 2 /* values */
            aload 5 /* value */
            invokevirtual org.graalvm.compiler.options.OptionKey.update:(Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Object;)V
        14: .line 138
            return
        end local 5 // java.lang.Object value
        end local 4 // org.graalvm.compiler.options.OptionDescriptor desc
        end local 3 // java.lang.Iterable loader
        end local 2 // jdk.internal.vm.compiler.collections.EconomicMap values
        end local 1 // java.lang.Object uncheckedValue
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   15     0            name  Ljava/lang/String;
            0   15     1  uncheckedValue  Ljava/lang/Object;
            0   15     2          values  Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
            0   15     3          loader  Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;
            1   15     4            desc  Lorg/graalvm/compiler/options/OptionDescriptor;
            3   12     5         matches  Ljava/util/List<Lorg/graalvm/compiler/options/OptionDescriptor;>;
            4   12     6             msg  Ljava/util/Formatter;
            9   10     7           match  Lorg/graalvm/compiler/options/OptionDescriptor;
           13   15     5           value  Ljava/lang/Object;
    Signature: (Ljava/lang/String;Ljava/lang/Object;Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;)V
    MethodParameters:
                Name  Flags
      name            
      uncheckedValue  
      values          
      loader          

  public static java.lang.Object parseOptionValue(org.graalvm.compiler.options.OptionDescriptor, java.lang.Object);
    descriptor: (Lorg/graalvm/compiler/options/OptionDescriptor;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // org.graalvm.compiler.options.OptionDescriptor desc
        start local 1 // java.lang.Object uncheckedValue
         0: .line 142
            aload 0 /* desc */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getOptionValueType:()Ljava/lang/Class;
            astore 2 /* optionType */
        start local 2 // java.lang.Class optionType
         1: .line 144
            aload 1 /* uncheckedValue */
            instanceof java.lang.String
            ifne 7
         2: .line 145
            aload 2 /* optionType */
            aload 1 /* uncheckedValue */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            if_acmpeq 5
         3: .line 146
            aload 2 /* optionType */
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            astore 4 /* type */
        start local 4 // java.lang.String type
         4: .line 147
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            aload 4 /* type */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " option '"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* desc */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "' must have "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 4 /* type */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " value, not "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* uncheckedValue */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " [toString: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* uncheckedValue */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // java.lang.String type
         5: .line 149
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 1 /* uncheckedValue */
            astore 3 /* value */
        start local 3 // java.lang.Object value
         6: .line 150
            goto 39
        end local 3 // java.lang.Object value
         7: .line 151
      StackMap locals:
      StackMap stack:
            aload 1 /* uncheckedValue */
            checkcast java.lang.String
            astore 4 /* valueString */
        start local 4 // java.lang.String valueString
         8: .line 152
            aload 2 /* optionType */
            ldc Ljava/lang/Boolean;
            if_acmpne 16
         9: .line 153
            ldc "true"
            aload 4 /* valueString */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 12
        10: .line 154
            getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
            astore 3 /* value */
        start local 3 // java.lang.Object value
        11: .line 155
            goto 39
        end local 3 // java.lang.Object value
      StackMap locals: org.graalvm.compiler.options.OptionDescriptor java.lang.Object java.lang.Class top java.lang.String
      StackMap stack:
        12: ldc "false"
            aload 4 /* valueString */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 15
        13: .line 156
            getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
            astore 3 /* value */
        start local 3 // java.lang.Object value
        14: .line 157
            goto 39
        end local 3 // java.lang.Object value
        15: .line 158
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Boolean option '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* desc */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "' must have value \"true\" or \"false\", not \""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* uncheckedValue */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "\""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 160
      StackMap locals:
      StackMap stack:
            aload 2 /* optionType */
            ldc Ljava/lang/String;
            if_acmpne 19
        17: .line 161
            aload 4 /* valueString */
            astore 3 /* value */
        start local 3 // java.lang.Object value
        18: .line 162
            goto 39
        end local 3 // java.lang.Object value
      StackMap locals:
      StackMap stack:
        19: ldc Ljava/lang/Enum;
            aload 2 /* optionType */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 22
        20: .line 163
            aload 0 /* desc */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getOptionKey:()Lorg/graalvm/compiler/options/OptionKey;
            checkcast org.graalvm.compiler.options.EnumOptionKey
            aload 4 /* valueString */
            invokevirtual org.graalvm.compiler.options.EnumOptionKey.valueOf:(Ljava/lang/String;)Ljava/lang/Object;
            astore 3 /* value */
        start local 3 // java.lang.Object value
        21: .line 164
            goto 39
        end local 3 // java.lang.Object value
        22: .line 165
      StackMap locals:
      StackMap stack:
            aload 4 /* valueString */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 24
        23: .line 166
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Non empty value required for option '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* desc */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        24: .line 169
      StackMap locals:
      StackMap stack:
            aload 2 /* optionType */
            ldc Ljava/lang/Float;
            if_acmpne 27
        25: .line 170
            aload 4 /* valueString */
            invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
            invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
            astore 3 /* value */
        start local 3 // java.lang.Object value
        26: .line 171
            goto 39
        end local 3 // java.lang.Object value
      StackMap locals:
      StackMap stack:
        27: aload 2 /* optionType */
            ldc Ljava/lang/Double;
            if_acmpne 30
        28: .line 172
            aload 4 /* valueString */
            invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            astore 3 /* value */
        start local 3 // java.lang.Object value
        29: .line 173
            goto 39
        end local 3 // java.lang.Object value
      StackMap locals:
      StackMap stack:
        30: aload 2 /* optionType */
            ldc Ljava/lang/Integer;
            if_acmpne 33
        31: .line 174
            aload 4 /* valueString */
            invokestatic org.graalvm.compiler.options.OptionsParser.parseLong:(Ljava/lang/String;)J
            l2i
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 3 /* value */
        start local 3 // java.lang.Object value
        32: .line 175
            goto 39
        end local 3 // java.lang.Object value
      StackMap locals:
      StackMap stack:
        33: aload 2 /* optionType */
            ldc Ljava/lang/Long;
            if_acmpne 36
        34: .line 176
            aload 4 /* valueString */
            invokestatic org.graalvm.compiler.options.OptionsParser.parseLong:(Ljava/lang/String;)J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            astore 3 /* value */
        start local 3 // java.lang.Object value
        35: .line 177
            goto 39
        end local 3 // java.lang.Object value
        36: .line 178
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Wrong value for option '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* desc */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        37: .line 180
      StackMap locals:
      StackMap stack: java.lang.NumberFormatException
            pop
        38: .line 181
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Value for option '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* desc */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "' has invalid number format: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 4 /* valueString */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // java.lang.String valueString
        start local 3 // java.lang.Object value
        39: .line 185
      StackMap locals: org.graalvm.compiler.options.OptionDescriptor java.lang.Object java.lang.Class java.lang.Object
      StackMap stack:
            aload 3 /* value */
            areturn
        end local 3 // java.lang.Object value
        end local 2 // java.lang.Class optionType
        end local 1 // java.lang.Object uncheckedValue
        end local 0 // org.graalvm.compiler.options.OptionDescriptor desc
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   40     0            desc  Lorg/graalvm/compiler/options/OptionDescriptor;
            0   40     1  uncheckedValue  Ljava/lang/Object;
            1   40     2      optionType  Ljava/lang/Class<*>;
            6    7     3           value  Ljava/lang/Object;
           11   12     3           value  Ljava/lang/Object;
           14   15     3           value  Ljava/lang/Object;
           18   19     3           value  Ljava/lang/Object;
           21   22     3           value  Ljava/lang/Object;
           26   27     3           value  Ljava/lang/Object;
           29   30     3           value  Ljava/lang/Object;
           32   33     3           value  Ljava/lang/Object;
           35   36     3           value  Ljava/lang/Object;
           39   40     3           value  Ljava/lang/Object;
            4    5     4            type  Ljava/lang/String;
            8   39     4     valueString  Ljava/lang/String;
      Exception table:
        from    to  target  type
          24    37      37  Class java.lang.NumberFormatException
    MethodParameters:
                Name  Flags
      desc            
      uncheckedValue  

  private static long parseLong(java.lang.String);
    descriptor: (Ljava/lang/String;)J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // java.lang.String v
         0: .line 189
            aload 0 /* v */
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            astore 1 /* valueString */
        start local 1 // java.lang.String valueString
         1: .line 190
            lconst_1
            lstore 2 /* scale */
        start local 2 // long scale
         2: .line 191
            aload 1 /* valueString */
            ldc "k"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 5
         3: .line 192
            ldc 1024
            lstore 2 /* scale */
         4: .line 193
            goto 13
      StackMap locals: java.lang.String long
      StackMap stack:
         5: aload 1 /* valueString */
            ldc "m"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 8
         6: .line 194
            ldc 1048576
            lstore 2 /* scale */
         7: .line 195
            goto 13
      StackMap locals:
      StackMap stack:
         8: aload 1 /* valueString */
            ldc "g"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 11
         9: .line 196
            ldc 1073741824
            lstore 2 /* scale */
        10: .line 197
            goto 13
      StackMap locals:
      StackMap stack:
        11: aload 1 /* valueString */
            ldc "t"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 13
        12: .line 198
            ldc 1099511627776
            lstore 2 /* scale */
        13: .line 201
      StackMap locals:
      StackMap stack:
            lload 2 /* scale */
            lconst_1
            lcmp
            ifeq 15
        14: .line 203
            aload 1 /* valueString */
            iconst_0
            aload 1 /* valueString */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 1 /* valueString */
        15: .line 206
      StackMap locals:
      StackMap stack:
            aload 1 /* valueString */
            invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
            lload 2 /* scale */
            lmul
            lreturn
        end local 2 // long scale
        end local 1 // java.lang.String valueString
        end local 0 // java.lang.String v
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   16     0            v  Ljava/lang/String;
            1   16     1  valueString  Ljava/lang/String;
            2   16     2        scale  J
    MethodParameters:
      Name  Flags
      v     

  public static float stringSimilarity(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)F
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // java.lang.String str1
        start local 1 // java.lang.String str2
         0: .line 215
            iconst_0
            istore 2 /* hit */
        start local 2 // int hit
         1: .line 216
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 11
         3: .line 217
      StackMap locals: int int
      StackMap stack:
            iconst_0
            istore 4 /* j */
        start local 4 // int j
         4: goto 9
         5: .line 218
      StackMap locals: int
      StackMap stack:
            aload 0 /* str1 */
            iload 3 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            aload 1 /* str2 */
            iload 4 /* j */
            invokevirtual java.lang.String.charAt:(I)C
            if_icmpne 8
            aload 0 /* str1 */
            iload 3 /* i */
            iconst_1
            iadd
            invokevirtual java.lang.String.charAt:(I)C
            aload 1 /* str2 */
            iload 4 /* j */
            iconst_1
            iadd
            invokevirtual java.lang.String.charAt:(I)C
            if_icmpne 8
         6: .line 219
            iinc 2 /* hit */ 1
         7: .line 220
            goto 10
         8: .line 217
      StackMap locals:
      StackMap stack:
            iinc 4 /* j */ 1
      StackMap locals:
      StackMap stack:
         9: iload 4 /* j */
            aload 1 /* str2 */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            if_icmplt 5
        end local 4 // int j
        10: .line 216
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 3 /* i */
            aload 0 /* str1 */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            if_icmplt 3
        end local 3 // int i
        12: .line 224
            fconst_2
            iload 2 /* hit */
            i2f
            fmul
            aload 0 /* str1 */
            invokevirtual java.lang.String.length:()I
            aload 1 /* str2 */
            invokevirtual java.lang.String.length:()I
            iadd
            i2f
            fdiv
            freturn
        end local 2 // int hit
        end local 1 // java.lang.String str2
        end local 0 // java.lang.String str1
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  str1  Ljava/lang/String;
            0   13     1  str2  Ljava/lang/String;
            1   13     2   hit  I
            2   12     3     i  I
            4   10     4     j  I
    MethodParameters:
      Name  Flags
      str1  
      str2  

  private static java.util.List<org.graalvm.compiler.options.OptionDescriptor> fuzzyMatch(java.lang.Iterable<org.graalvm.compiler.options.OptionDescriptors>, java.lang.String);
    descriptor: (Ljava/lang/Iterable;Ljava/lang/String;)Ljava/util/List;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // java.lang.Iterable loader
        start local 1 // java.lang.String optionName
         0: .line 233
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* matches */
        start local 2 // java.util.List matches
         1: .line 234
            aload 0 /* loader */
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 4
            goto 4
      StackMap locals: java.lang.Iterable java.lang.String java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.options.OptionDescriptors
            astore 3 /* options */
        start local 3 // org.graalvm.compiler.options.OptionDescriptors options
         3: .line 235
            aload 3 /* options */
            aload 1 /* optionName */
            aload 2 /* matches */
            invokestatic org.graalvm.compiler.options.OptionsParser.collectFuzzyMatches:(Ljava/lang/Iterable;Ljava/lang/String;Ljava/util/Collection;)Z
            pop
        end local 3 // org.graalvm.compiler.options.OptionDescriptors options
         4: .line 234
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 237
            aload 2 /* matches */
            areturn
        end local 2 // java.util.List matches
        end local 1 // java.lang.String optionName
        end local 0 // java.lang.Iterable loader
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0      loader  Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;
            0    6     1  optionName  Ljava/lang/String;
            1    6     2     matches  Ljava/util/List<Lorg/graalvm/compiler/options/OptionDescriptor;>;
            3    4     3     options  Lorg/graalvm/compiler/options/OptionDescriptors;
    Signature: (Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptors;>;Ljava/lang/String;)Ljava/util/List<Lorg/graalvm/compiler/options/OptionDescriptor;>;
    MethodParameters:
            Name  Flags
      loader      
      optionName  

  public static boolean collectFuzzyMatches(java.lang.Iterable<org.graalvm.compiler.options.OptionDescriptor>, java.lang.String, java.util.Collection<org.graalvm.compiler.options.OptionDescriptor>);
    descriptor: (Ljava/lang/Iterable;Ljava/lang/String;Ljava/util/Collection;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=7, args_size=3
        start local 0 // java.lang.Iterable toSearch
        start local 1 // java.lang.String name
        start local 2 // java.util.Collection matches
         0: .line 250
            iconst_0
            istore 3 /* found */
        start local 3 // boolean found
         1: .line 251
            aload 0 /* toSearch */
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 5
            goto 7
      StackMap locals: java.lang.Iterable java.lang.String java.util.Collection int top java.util.Iterator
      StackMap stack:
         2: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.options.OptionDescriptor
            astore 4 /* option */
        start local 4 // org.graalvm.compiler.options.OptionDescriptor option
         3: .line 252
            aload 4 /* option */
            invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
            aload 1 /* name */
            invokestatic org.graalvm.compiler.options.OptionsParser.stringSimilarity:(Ljava/lang/String;Ljava/lang/String;)F
            fstore 6 /* score */
        start local 6 // float score
         4: .line 253
            fload 6 /* score */
            ldc 0.7
            fcmpl
            iflt 7
         5: .line 254
            iconst_1
            istore 3 /* found */
         6: .line 255
            aload 2 /* matches */
            aload 4 /* option */
            invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
            pop
        end local 6 // float score
        end local 4 // org.graalvm.compiler.options.OptionDescriptor option
         7: .line 251
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         8: .line 258
            iload 3 /* found */
            ireturn
        end local 3 // boolean found
        end local 2 // java.util.Collection matches
        end local 1 // java.lang.String name
        end local 0 // java.lang.Iterable toSearch
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    9     0  toSearch  Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptor;>;
            0    9     1      name  Ljava/lang/String;
            0    9     2   matches  Ljava/util/Collection<Lorg/graalvm/compiler/options/OptionDescriptor;>;
            1    9     3     found  Z
            3    7     4    option  Lorg/graalvm/compiler/options/OptionDescriptor;
            4    7     6     score  F
    Signature: (Ljava/lang/Iterable<Lorg/graalvm/compiler/options/OptionDescriptor;>;Ljava/lang/String;Ljava/util/Collection<Lorg/graalvm/compiler/options/OptionDescriptor;>;)Z
    MethodParameters:
          Name  Flags
      toSearch  
      name      
      matches   
}
SourceFile: "OptionsParser.java"