final class jdk.jpackage.internal.FileAssociation
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jpackage.internal.FileAssociation
  super_class: java.lang.Object
{
  java.nio.file.Path launcherPath;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0000) 

  java.nio.file.Path iconPath;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0000) 

  java.util.List<java.lang.String> mimeTypes;
    descriptor: Ljava/util/List;
    flags: (0x0000) 
    Signature: Ljava/util/List<Ljava/lang/String;>;

  java.util.List<java.lang.String> extensions;
    descriptor: Ljava/util/List;
    flags: (0x0000) 
    Signature: Ljava/util/List<Ljava/lang/String;>;

  java.lang.String description;
    descriptor: Ljava/lang/String;
    flags: (0x0000) 

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.FileAssociation this
         0: .line 43
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.jpackage.internal.FileAssociation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/FileAssociation;

  void verify();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.FileAssociation this
         0: .line 45
            aload 0 /* this */
            getfield jdk.jpackage.internal.FileAssociation.extensions:Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 3
         1: .line 47
            ldc "message.creating-association-with-null-extension"
         2: .line 46
            invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
         3: .line 49
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.jpackage.internal.FileAssociation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jpackage/internal/FileAssociation;

  static void verify(java.util.List<jdk.jpackage.internal.FileAssociation>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=8, locals=5, args_size=1
        start local 0 // java.util.List associations
         0: .line 53
            iconst_0
            istore 1 /* assocIdx */
        start local 1 // int assocIdx
         1: .line 54
            aload 0 /* associations */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 17
      StackMap locals: java.util.List int top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jpackage.internal.FileAssociation
            astore 2 /* assoc */
        start local 2 // jdk.jpackage.internal.FileAssociation assoc
         3: .line 55
            iinc 1 /* assocIdx */ 1
         4: .line 56
            aload 2 /* assoc */
            getfield jdk.jpackage.internal.FileAssociation.mimeTypes:Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 10
         5: .line 57
            ldc "error.no-content-types-for-file-association"
            astore 4 /* msgKey */
        start local 4 // java.lang.String msgKey
         6: .line 58
            new jdk.jpackage.internal.ConfigException
            dup
         7: .line 59
            aload 4 /* msgKey */
            invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 1 /* assocIdx */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         8: .line 60
            new java.lang.StringBuilder
            dup
            aload 4 /* msgKey */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".advice"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 1 /* assocIdx */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         9: .line 58
            invokespecial jdk.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            athrow
        end local 4 // java.lang.String msgKey
        10: .line 63
      StackMap locals: java.util.List int jdk.jpackage.internal.FileAssociation java.util.Iterator
      StackMap stack:
            aload 2 /* assoc */
            getfield jdk.jpackage.internal.FileAssociation.mimeTypes:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmple 16
        11: .line 64
            ldc "error.too-many-content-types-for-file-association"
            astore 4 /* msgKey */
        start local 4 // java.lang.String msgKey
        12: .line 65
            new jdk.jpackage.internal.ConfigException
            dup
        13: .line 66
            aload 4 /* msgKey */
            invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 1 /* assocIdx */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        14: .line 67
            new java.lang.StringBuilder
            dup
            aload 4 /* msgKey */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".advice"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 1 /* assocIdx */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        15: .line 65
            invokespecial jdk.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            athrow
        end local 4 // java.lang.String msgKey
        16: .line 70
      StackMap locals:
      StackMap stack:
            aload 2 /* assoc */
            invokevirtual jdk.jpackage.internal.FileAssociation.verify:()V
        end local 2 // jdk.jpackage.internal.FileAssociation assoc
        17: .line 54
      StackMap locals: java.util.List int top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        18: .line 72
            return
        end local 1 // int assocIdx
        end local 0 // java.util.List associations
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   19     0  associations  Ljava/util/List<Ljdk/jpackage/internal/FileAssociation;>;
            1   19     1      assocIdx  I
            3   17     2         assoc  Ljdk/jpackage/internal/FileAssociation;
            6   10     4        msgKey  Ljava/lang/String;
           12   16     4        msgKey  Ljava/lang/String;
    Exceptions:
      throws jdk.jpackage.internal.ConfigException
    Signature: (Ljava/util/List<Ljdk/jpackage/internal/FileAssociation;>;)V
    MethodParameters:
              Name  Flags
      associations  

  static java.util.List<jdk.jpackage.internal.FileAssociation> fetchFrom(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Ljava/util/List;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.util.Map params
         0: .line 75
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 0 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 1 /* launcherName */
        start local 1 // java.lang.String launcherName
         1: .line 77
            getstatic jdk.jpackage.internal.StandardBundlerParam.FILE_ASSOCIATIONS:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 0 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.util.List
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
         2: .line 78
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  java/util/Objects.nonNull(Ljava/lang/Object;)Z (6)
                  (Ljava/util/Map;)Z
         3: .line 77
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         4: .line 78
            aload 1 /* launcherName */
            invokedynamic apply(Ljava/lang/String;)Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/jpackage/internal/FileAssociation.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/FileAssociation; (6)
                  (Ljava/util/Map;)Ljdk/jpackage/internal/FileAssociation;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         5: .line 98
            invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.List
         6: .line 77
            areturn
        end local 1 // java.lang.String launcherName
        end local 0 // java.util.Map params
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0        params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            1    7     1  launcherName  Ljava/lang/String;
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/util/List<Ljdk/jpackage/internal/FileAssociation;>;
    MethodParameters:
        Name  Flags
      params  

  private static jdk.jpackage.internal.FileAssociation lambda$1(java.lang.String, java.util.Map);
    descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/FileAssociation;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=5, locals=4, args_size=2
        start local 1 // java.util.Map fa
         0: .line 79
            new jdk.jpackage.internal.FileAssociation
            dup
            invokespecial jdk.jpackage.internal.FileAssociation.<init>:()V
            astore 2 /* assoc */
        start local 2 // jdk.jpackage.internal.FileAssociation assoc
         1: .line 81
            aload 2 /* assoc */
            aload 0
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            putfield jdk.jpackage.internal.FileAssociation.launcherPath:Ljava/nio/file/Path;
         2: .line 82
            aload 2 /* assoc */
         3: .line 83
            getstatic jdk.jpackage.internal.StandardBundlerParam.FA_DESCRIPTION:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* fa */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
         4: .line 82
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
         5: .line 84
            new java.lang.StringBuilder
            dup
            aload 0
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " association"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
         6: .line 82
            putfield jdk.jpackage.internal.FileAssociation.description:Ljava/lang/String;
         7: .line 85
            aload 2 /* assoc */
         8: .line 86
            getstatic jdk.jpackage.internal.StandardBundlerParam.FA_EXTENSIONS:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* fa */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.util.List
         9: .line 85
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
        10: .line 87
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.List
        11: .line 85
            putfield jdk.jpackage.internal.FileAssociation.extensions:Ljava/util/List;
        12: .line 88
            aload 2 /* assoc */
        13: .line 89
            getstatic jdk.jpackage.internal.StandardBundlerParam.FA_CONTENT_TYPE:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* fa */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.util.List
        14: .line 88
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
        15: .line 90
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.List
        16: .line 88
            putfield jdk.jpackage.internal.FileAssociation.mimeTypes:Ljava/util/List;
        17: .line 92
            getstatic jdk.jpackage.internal.StandardBundlerParam.FA_ICON:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* fa */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 3 /* icon */
        start local 3 // java.nio.file.Path icon
        18: .line 93
            aload 3 /* icon */
            ifnull 20
        19: .line 94
            aload 2 /* assoc */
            aload 3 /* icon */
            putfield jdk.jpackage.internal.FileAssociation.iconPath:Ljava/nio/file/Path;
        20: .line 97
      StackMap locals: jdk.jpackage.internal.FileAssociation java.nio.file.Path
      StackMap stack:
            aload 2 /* assoc */
            areturn
        end local 3 // java.nio.file.Path icon
        end local 2 // jdk.jpackage.internal.FileAssociation assoc
        end local 1 // java.util.Map fa
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   21     1     fa  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            1   21     2  assoc  Ljdk/jpackage/internal/FileAssociation;
           18   21     3   icon  Ljava/nio/file/Path;
}
SourceFile: "FileAssociation.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles