final class jdk.jpackage.internal.OverridableResource
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jpackage.internal.OverridableResource
  super_class: java.lang.Object
{
  private java.util.Map<java.lang.String, java.lang.String> substitutionData;
    descriptor: Ljava/util/Map;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;

  private java.lang.String category;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.nio.file.Path resourceDir;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE

  private java.nio.file.Path publicName;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE

  private java.nio.file.Path logPublicName;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE

  private java.nio.file.Path externalPath;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0002) ACC_PRIVATE

  private final java.lang.String defaultName;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.util.List<java.util.Map$Entry<jdk.jpackage.internal.OverridableResource$Source, jdk.jpackage.internal.OverridableResource$SourceHandler>> sources;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Ljava/util/Map$Entry<Ljdk/jpackage/internal/OverridableResource$Source;Ljdk/jpackage/internal/OverridableResource$SourceHandler;>;>;

  private static volatile int[] $SWITCH_TABLE$jdk$jpackage$internal$OverridableResource$Source;
    descriptor: [I
    flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC

  void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.lang.String defaultName
         0: .line 72
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 73
            aload 0 /* this */
            aload 1 /* defaultName */
            putfield jdk.jpackage.internal.OverridableResource.defaultName:Ljava/lang/String;
         2: .line 74
            aload 0 /* this */
            invokestatic jdk.jpackage.internal.OverridableResource$Source.values:()[Ljdk/jpackage/internal/OverridableResource$Source;
            invokevirtual jdk.jpackage.internal.OverridableResource.setSourceOrder:([Ljdk/jpackage/internal/OverridableResource$Source;)Ljdk/jpackage/internal/OverridableResource;
            pop
         3: .line 75
            return
        end local 1 // java.lang.String defaultName
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    4     0         this  Ljdk/jpackage/internal/OverridableResource;
            0    4     1  defaultName  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      defaultName  

  jdk.jpackage.internal.OverridableResource setSubstitutionData(java.util.Map<java.lang.String, java.lang.String>);
    descriptor: (Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.util.Map v
         0: .line 78
            aload 1 /* v */
            ifnull 3
         1: .line 80
            aload 0 /* this */
            new java.util.HashMap
            dup
            aload 1 /* v */
            invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
            putfield jdk.jpackage.internal.OverridableResource.substitutionData:Ljava/util/Map;
         2: .line 81
            goto 4
         3: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield jdk.jpackage.internal.OverridableResource.substitutionData:Ljava/util/Map;
         4: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 1 // java.util.Map v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    5     1     v  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljdk/jpackage/internal/OverridableResource;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setCategory(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.lang.String v
         0: .line 88
            aload 0 /* this */
            aload 1 /* v */
            putfield jdk.jpackage.internal.OverridableResource.category:Ljava/lang/String;
         1: .line 89
            aload 0 /* this */
            areturn
        end local 1 // java.lang.String v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    2     1     v  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setResourceDir(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.nio.file.Path v
         0: .line 93
            aload 0 /* this */
            aload 1 /* v */
            putfield jdk.jpackage.internal.OverridableResource.resourceDir:Ljava/nio/file/Path;
         1: .line 94
            aload 0 /* this */
            areturn
        end local 1 // java.nio.file.Path v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    2     1     v  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setResourceDir(java.io.File);
    descriptor: (Ljava/io/File;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.io.File v
         0: .line 98
            aload 0 /* this */
            aload 1 /* v */
            invokestatic jdk.jpackage.internal.OverridableResource.toPath:(Ljava/io/File;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.setResourceDir:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
            areturn
        end local 1 // java.io.File v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    1     1     v  Ljava/io/File;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setSourceOrder(jdk.jpackage.internal.OverridableResource$Source[]);
    descriptor: ([Ljdk/jpackage/internal/OverridableResource$Source;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0080) ACC_VARARGS
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // jdk.jpackage.internal.OverridableResource$Source[] v
         0: .line 104
            aload 0 /* this */
            aload 1 /* v */
            invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
         1: .line 105
            aload 0 /* this */
            invokedynamic apply(Ljdk/jpackage/internal/OverridableResource;)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/OverridableResource.lambda$0(Ljdk/jpackage/internal/OverridableResource$Source;)Ljava/util/Map$Entry; (7)
                  (Ljdk/jpackage/internal/OverridableResource$Source;)Ljava/util/Map$Entry;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         2: .line 106
            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
         3: .line 104
            putfield jdk.jpackage.internal.OverridableResource.sources:Ljava/util/List;
         4: .line 107
            aload 0 /* this */
            areturn
        end local 1 // jdk.jpackage.internal.OverridableResource$Source[] v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    5     1     v  [Ljdk/jpackage/internal/OverridableResource$Source;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setPublicName(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.nio.file.Path v
         0: .line 116
            aload 0 /* this */
            aload 1 /* v */
            putfield jdk.jpackage.internal.OverridableResource.publicName:Ljava/nio/file/Path;
         1: .line 117
            aload 0 /* this */
            areturn
        end local 1 // java.nio.file.Path v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    2     1     v  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setPublicName(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.lang.String v
         0: .line 121
            aload 0 /* this */
            aload 1 /* v */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.setPublicName:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
            areturn
        end local 1 // java.lang.String v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    1     1     v  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setLogPublicName(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.nio.file.Path v
         0: .line 130
            aload 0 /* this */
            aload 1 /* v */
            putfield jdk.jpackage.internal.OverridableResource.logPublicName:Ljava/nio/file/Path;
         1: .line 131
            aload 0 /* this */
            areturn
        end local 1 // java.nio.file.Path v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    2     1     v  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setLogPublicName(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.lang.String v
         0: .line 135
            aload 0 /* this */
            aload 1 /* v */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.setLogPublicName:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
            areturn
        end local 1 // java.lang.String v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    1     1     v  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setExternal(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.nio.file.Path v
         0: .line 139
            aload 0 /* this */
            aload 1 /* v */
            putfield jdk.jpackage.internal.OverridableResource.externalPath:Ljava/nio/file/Path;
         1: .line 140
            aload 0 /* this */
            areturn
        end local 1 // java.nio.file.Path v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    2     1     v  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource setExternal(java.io.File);
    descriptor: (Ljava/io/File;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.io.File v
         0: .line 144
            aload 0 /* this */
            aload 1 /* v */
            invokestatic jdk.jpackage.internal.OverridableResource.toPath:(Ljava/io/File;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.setExternal:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
            areturn
        end local 1 // java.io.File v
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    1     1     v  Ljava/io/File;
    MethodParameters:
      Name  Flags
      v     

  jdk.jpackage.internal.OverridableResource$Source saveToStream(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)Ljdk/jpackage/internal/OverridableResource$Source;
    flags: (0x0000) 
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.io.OutputStream dest
         0: .line 148
            aload 1 /* dest */
            ifnonnull 2
         1: .line 149
            aload 0 /* this */
            aconst_null
            invokevirtual jdk.jpackage.internal.OverridableResource.sendToConsumer:(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljdk/jpackage/internal/OverridableResource$Source;
            areturn
         2: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new jdk.jpackage.internal.OverridableResource$1
            dup
            aload 0 /* this */
            aload 1 /* dest */
            invokespecial jdk.jpackage.internal.OverridableResource$1.<init>:(Ljdk/jpackage/internal/OverridableResource;Ljava/io/OutputStream;)V
            invokevirtual jdk.jpackage.internal.OverridableResource.sendToConsumer:(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljdk/jpackage/internal/OverridableResource$Source;
            areturn
        end local 1 // java.io.OutputStream dest
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    3     1  dest  Ljava/io/OutputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dest  

  jdk.jpackage.internal.OverridableResource$Source saveToFile(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
    flags: (0x0000) 
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.nio.file.Path dest
         0: .line 165
            aload 1 /* dest */
            ifnonnull 2
         1: .line 166
            aload 0 /* this */
            aconst_null
            invokevirtual jdk.jpackage.internal.OverridableResource.sendToConsumer:(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljdk/jpackage/internal/OverridableResource$Source;
            areturn
         2: .line 168
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new jdk.jpackage.internal.OverridableResource$2
            dup
            aload 0 /* this */
            aload 1 /* dest */
            invokespecial jdk.jpackage.internal.OverridableResource$2.<init>:(Ljdk/jpackage/internal/OverridableResource;Ljava/nio/file/Path;)V
            invokevirtual jdk.jpackage.internal.OverridableResource.sendToConsumer:(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljdk/jpackage/internal/OverridableResource$Source;
            areturn
        end local 1 // java.nio.file.Path dest
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    3     1  dest  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dest  

  jdk.jpackage.internal.OverridableResource$Source saveToFile(java.io.File);
    descriptor: (Ljava/io/File;)Ljdk/jpackage/internal/OverridableResource$Source;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.io.File dest
         0: .line 183
            aload 0 /* this */
            aload 1 /* dest */
            invokestatic jdk.jpackage.internal.OverridableResource.toPath:(Ljava/io/File;)Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
            areturn
        end local 1 // java.io.File dest
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/OverridableResource;
            0    1     1  dest  Ljava/io/File;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dest  

  static java.io.InputStream readDefault(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String resourceName
         0: .line 187
            ldc Ljdk/jpackage/internal/resources/ResourceLocator;
            aload 0 /* resourceName */
            invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            areturn
        end local 0 // java.lang.String resourceName
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0  resourceName  Ljava/lang/String;
    MethodParameters:
              Name  Flags
      resourceName  

  static jdk.jpackage.internal.OverridableResource createResource(java.lang.String, java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.String defaultName
        start local 1 // java.util.Map params
         0: .line 192
            new jdk.jpackage.internal.OverridableResource
            dup
            aload 0 /* defaultName */
            invokespecial jdk.jpackage.internal.OverridableResource.<init>:(Ljava/lang/String;)V
         1: .line 193
            getstatic jdk.jpackage.internal.StandardBundlerParam.RESOURCE_DIR:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         2: .line 192
            invokevirtual jdk.jpackage.internal.OverridableResource.setResourceDir:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
            areturn
        end local 1 // java.util.Map params
        end local 0 // java.lang.String defaultName
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0  defaultName  Ljava/lang/String;
            0    3     1       params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
    Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljdk/jpackage/internal/OverridableResource;
    MethodParameters:
             Name  Flags
      defaultName  
      params       

  private jdk.jpackage.internal.OverridableResource$Source sendToConsumer(jdk.jpackage.internal.OverridableResource$ResourceConsumer);
    descriptor: (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljdk/jpackage/internal/OverridableResource$Source;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // jdk.jpackage.internal.OverridableResource$ResourceConsumer consumer
         0: .line 197
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.sources:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: jdk.jpackage.internal.OverridableResource jdk.jpackage.internal.OverridableResource$ResourceConsumer top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 2 /* source */
        start local 2 // java.util.Map$Entry source
         2: .line 198
            aload 2 /* source */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast jdk.jpackage.internal.OverridableResource$SourceHandler
            aload 1 /* consumer */
            invokeinterface jdk.jpackage.internal.OverridableResource$SourceHandler.apply:(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
            ifeq 4
         3: .line 199
            aload 2 /* source */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast jdk.jpackage.internal.OverridableResource$Source
            areturn
        end local 2 // java.util.Map$Entry source
         4: .line 197
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 202
            aconst_null
            areturn
        end local 1 // jdk.jpackage.internal.OverridableResource$ResourceConsumer consumer
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Ljdk/jpackage/internal/OverridableResource;
            0    6     1  consumer  Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;
            2    4     2    source  Ljava/util/Map$Entry<Ljdk/jpackage/internal/OverridableResource$Source;Ljdk/jpackage/internal/OverridableResource$SourceHandler;>;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      consumer  

  private java.lang.String getPrintableCategory();
    descriptor: ()Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.OverridableResource this
         0: .line 206
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.category:Ljava/lang/String;
            ifnull 2
         1: .line 207
            ldc "[%s]"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.category:Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
         2: .line 209
      StackMap locals:
      StackMap stack:
            ldc ""
            areturn
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jpackage/internal/OverridableResource;

  private boolean useExternal(jdk.jpackage.internal.OverridableResource$ResourceConsumer);
    descriptor: (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // jdk.jpackage.internal.OverridableResource$ResourceConsumer dest
         0: .line 213
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.externalPath:Ljava/nio/file/Path;
            ifnull 1
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.externalPath:Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: istore 2 /* used */
        start local 2 // boolean used
         3: .line 214
            iload 2 /* used */
            ifeq 18
            aload 1 /* dest */
            ifnull 18
         4: .line 216
            ldc "message.using-custom-resource-from-file"
         5: .line 215
            invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         6: .line 217
            aload 0 /* this */
            invokevirtual jdk.jpackage.internal.OverridableResource.getPrintableCategory:()Ljava/lang/String;
            aastore
            dup
            iconst_1
         7: .line 218
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.externalPath:Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
            aastore
         8: .line 215
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
         9: .line 220
            aconst_null
            astore 3
            aconst_null
            astore 4
        10: aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.externalPath:Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.OpenOption
            invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
            astore 5 /* in */
        start local 5 // java.io.InputStream in
        11: .line 221
            aload 0 /* this */
            aload 5 /* in */
            aload 1 /* dest */
            invokevirtual jdk.jpackage.internal.OverridableResource.processResourceStream:(Ljava/io/InputStream;Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)V
        12: .line 222
            aload 5 /* in */
            ifnull 18
            aload 5 /* in */
            invokevirtual java.io.InputStream.close:()V
            goto 18
      StackMap locals: jdk.jpackage.internal.OverridableResource jdk.jpackage.internal.OverridableResource$ResourceConsumer int java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        13: astore 3
            aload 5 /* in */
            ifnull 14
            aload 5 /* in */
            invokevirtual java.io.InputStream.close:()V
        end local 5 // java.io.InputStream in
      StackMap locals:
      StackMap stack:
        14: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: astore 4
            aload 3
            ifnonnull 16
            aload 4
            astore 3
            goto 17
      StackMap locals:
      StackMap stack:
        16: aload 3
            aload 4
            if_acmpeq 17
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        17: aload 3
            athrow
        18: .line 224
      StackMap locals:
      StackMap stack:
            iload 2 /* used */
            ireturn
        end local 2 // boolean used
        end local 1 // jdk.jpackage.internal.OverridableResource$ResourceConsumer dest
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0  this  Ljdk/jpackage/internal/OverridableResource;
            0   19     1  dest  Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;
            3   19     2  used  Z
           11   14     5    in  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
          11    12      13  any
          10    15      15  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dest  

  private boolean useResourceDir(jdk.jpackage.internal.OverridableResource$ResourceConsumer);
    descriptor: (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=9, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // jdk.jpackage.internal.OverridableResource$ResourceConsumer dest
         0: .line 228
            iconst_0
            istore 2 /* used */
        start local 2 // boolean used
         1: .line 230
            aload 1 /* dest */
            ifnonnull 3
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.publicName:Ljava/nio/file/Path;
            ifnonnull 3
         2: .line 231
            new java.lang.IllegalStateException
            dup
            invokespecial java.lang.IllegalStateException.<init>:()V
            athrow
         3: .line 234
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.publicName:Ljava/nio/file/Path;
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
         4: .line 235
            aload 1 /* dest */
            invokedynamic get(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljava/util/function/Supplier;
              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;
                  jdk/jpackage/internal/OverridableResource.lambda$1(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljava/nio/file/Path; (6)
                  ()Ljava/nio/file/Path;
         5: .line 234
            invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 3 /* resourceName */
        start local 3 // java.nio.file.Path resourceName
         6: .line 237
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.resourceDir:Ljava/nio/file/Path;
            ifnull 28
         7: .line 238
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.resourceDir:Ljava/nio/file/Path;
            aload 3 /* resourceName */
            invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
            astore 4 /* customResource */
        start local 4 // java.nio.file.Path customResource
         8: .line 239
            aload 4 /* customResource */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            istore 2 /* used */
         9: .line 240
            iload 2 /* used */
            ifeq 28
            aload 1 /* dest */
            ifnull 28
        10: .line 242
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.logPublicName:Ljava/nio/file/Path;
            ifnull 13
        11: .line 243
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.logPublicName:Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
            astore 5 /* logResourceName */
        start local 5 // java.nio.file.Path logResourceName
        12: .line 244
            goto 14
        end local 5 // java.nio.file.Path logResourceName
        13: .line 245
      StackMap locals: java.nio.file.Path java.nio.file.Path
      StackMap stack:
            aload 3 /* resourceName */
            invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
            astore 5 /* logResourceName */
        start local 5 // java.nio.file.Path logResourceName
        14: .line 249
      StackMap locals: java.nio.file.Path
      StackMap stack:
            ldc "message.using-custom-resource"
        15: .line 248
            invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        16: .line 249
            aload 0 /* this */
            invokevirtual jdk.jpackage.internal.OverridableResource.getPrintableCategory:()Ljava/lang/String;
            aastore
            dup
            iconst_1
        17: .line 250
            aload 5 /* logResourceName */
            aastore
        18: .line 248
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
        19: .line 252
            aconst_null
            astore 6
            aconst_null
            astore 7
        20: aload 4 /* customResource */
            iconst_0
            anewarray java.nio.file.OpenOption
            invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
            astore 8 /* in */
        start local 8 // java.io.InputStream in
        21: .line 253
            aload 0 /* this */
            aload 8 /* in */
            aload 1 /* dest */
            invokevirtual jdk.jpackage.internal.OverridableResource.processResourceStream:(Ljava/io/InputStream;Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)V
        22: .line 254
            aload 8 /* in */
            ifnull 28
            aload 8 /* in */
            invokevirtual java.io.InputStream.close:()V
            goto 28
      StackMap locals: jdk.jpackage.internal.OverridableResource jdk.jpackage.internal.OverridableResource$ResourceConsumer int java.nio.file.Path java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        23: astore 6
            aload 8 /* in */
            ifnull 24
            aload 8 /* in */
            invokevirtual java.io.InputStream.close:()V
        end local 8 // java.io.InputStream in
      StackMap locals:
      StackMap stack:
        24: aload 6
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        25: astore 7
            aload 6
            ifnonnull 26
            aload 7
            astore 6
            goto 27
      StackMap locals:
      StackMap stack:
        26: aload 6
            aload 7
            if_acmpeq 27
            aload 6
            aload 7
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        27: aload 6
            athrow
        end local 5 // java.nio.file.Path logResourceName
        end local 4 // java.nio.file.Path customResource
        28: .line 258
      StackMap locals: jdk.jpackage.internal.OverridableResource jdk.jpackage.internal.OverridableResource$ResourceConsumer int java.nio.file.Path
      StackMap stack:
            iload 2 /* used */
            ireturn
        end local 3 // java.nio.file.Path resourceName
        end local 2 // boolean used
        end local 1 // jdk.jpackage.internal.OverridableResource$ResourceConsumer dest
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   29     0             this  Ljdk/jpackage/internal/OverridableResource;
            0   29     1             dest  Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;
            1   29     2             used  Z
            6   29     3     resourceName  Ljava/nio/file/Path;
            8   28     4   customResource  Ljava/nio/file/Path;
           12   13     5  logResourceName  Ljava/nio/file/Path;
           14   28     5  logResourceName  Ljava/nio/file/Path;
           21   24     8               in  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
          21    22      23  any
          20    25      25  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dest  

  private boolean useDefault(jdk.jpackage.internal.OverridableResource$ResourceConsumer);
    descriptor: (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // jdk.jpackage.internal.OverridableResource$ResourceConsumer dest
         0: .line 262
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.defaultName:Ljava/lang/String;
            ifnull 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: istore 2 /* used */
        start local 2 // boolean used
         3: .line 263
            iload 2 /* used */
            ifeq 21
            aload 1 /* dest */
            ifnull 21
         4: .line 265
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.logPublicName:Ljava/nio/file/Path;
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
         5: .line 267
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.publicName:Ljava/nio/file/Path;
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
         6: .line 268
            aload 1 /* dest */
            invokedynamic get(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljava/util/function/Supplier;
              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;
                  jdk/jpackage/internal/OverridableResource.lambda$2(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljava/nio/file/Path; (6)
                  ()Ljava/nio/file/Path;
            invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         7: .line 266
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         8: .line 264
            astore 3 /* resourceName */
        start local 3 // java.nio.file.Path resourceName
         9: .line 270
            ldc "message.using-default-resource"
            invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
        10: .line 271
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.defaultName:Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            invokevirtual jdk.jpackage.internal.OverridableResource.getPrintableCategory:()Ljava/lang/String;
            aastore
            dup
            iconst_2
            aload 3 /* resourceName */
            aastore
        11: .line 269
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
        12: .line 273
            aconst_null
            astore 4
            aconst_null
            astore 5
        13: aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.defaultName:Ljava/lang/String;
            invokestatic jdk.jpackage.internal.OverridableResource.readDefault:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 6 /* in */
        start local 6 // java.io.InputStream in
        14: .line 274
            aload 0 /* this */
            aload 6 /* in */
            aload 1 /* dest */
            invokevirtual jdk.jpackage.internal.OverridableResource.processResourceStream:(Ljava/io/InputStream;Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)V
        15: .line 275
            aload 6 /* in */
            ifnull 21
            aload 6 /* in */
            invokevirtual java.io.InputStream.close:()V
            goto 21
      StackMap locals: jdk.jpackage.internal.OverridableResource jdk.jpackage.internal.OverridableResource$ResourceConsumer int java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        16: astore 4
            aload 6 /* in */
            ifnull 17
            aload 6 /* in */
            invokevirtual java.io.InputStream.close:()V
        end local 6 // java.io.InputStream in
      StackMap locals:
      StackMap stack:
        17: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        18: astore 5
            aload 4
            ifnonnull 19
            aload 5
            astore 4
            goto 20
      StackMap locals:
      StackMap stack:
        19: aload 4
            aload 5
            if_acmpeq 20
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        20: aload 4
            athrow
        end local 3 // java.nio.file.Path resourceName
        21: .line 277
      StackMap locals:
      StackMap stack:
            iload 2 /* used */
            ireturn
        end local 2 // boolean used
        end local 1 // jdk.jpackage.internal.OverridableResource$ResourceConsumer dest
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   22     0          this  Ljdk/jpackage/internal/OverridableResource;
            0   22     1          dest  Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;
            3   22     2          used  Z
            9   21     3  resourceName  Ljava/nio/file/Path;
           14   17     6            in  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
          14    15      16  any
          13    18      18  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dest  

  private static java.util.stream.Stream<java.lang.String> substitute(java.util.stream.Stream<java.lang.String>, java.util.Map<java.lang.String, java.lang.String>);
    descriptor: (Ljava/util/stream/Stream;Ljava/util/Map;)Ljava/util/stream/Stream;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.util.stream.Stream lines
        start local 1 // java.util.Map substitutionData
         0: .line 282
            aload 0 /* lines */
            aload 1 /* substitutionData */
            invokedynamic apply(Ljava/util/Map;)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/OverridableResource.lambda$3(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String; (6)
                  (Ljava/lang/String;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
            areturn
        end local 1 // java.util.Map substitutionData
        end local 0 // java.util.stream.Stream lines
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0             lines  Ljava/util/stream/Stream<Ljava/lang/String;>;
            0    1     1  substitutionData  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    Signature: (Ljava/util/stream/Stream<Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljava/util/stream/Stream<Ljava/lang/String;>;
    MethodParameters:
                  Name  Flags
      lines             
      substitutionData  

  private static java.nio.file.Path toPath(java.io.File);
    descriptor: (Ljava/io/File;)Ljava/nio/file/Path;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.io.File v
         0: .line 293
            aload 0 /* v */
            ifnull 2
         1: .line 294
            aload 0 /* v */
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            areturn
         2: .line 296
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // java.io.File v
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     v  Ljava/io/File;
    MethodParameters:
      Name  Flags
      v     

  private void processResourceStream(java.io.InputStream, jdk.jpackage.internal.OverridableResource$ResourceConsumer);
    descriptor: (Ljava/io/InputStream;Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=10, args_size=3
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // java.io.InputStream rawResource
        start local 2 // jdk.jpackage.internal.OverridableResource$ResourceConsumer dest
         0: .line 301
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.substitutionData:Ljava/util/Map;
            ifnonnull 3
         1: .line 302
            aload 2 /* dest */
            aload 1 /* rawResource */
            invokeinterface jdk.jpackage.internal.OverridableResource$ResourceConsumer.consume:(Ljava/io/InputStream;)V
         2: .line 303
            goto 27
         3: .line 305
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 3
            aconst_null
            astore 4
         4: new java.io.BufferedReader
            dup
         5: .line 306
            new java.io.InputStreamReader
            dup
            aload 1 /* rawResource */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
         6: .line 305
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
            astore 5 /* reader */
        start local 5 // java.io.BufferedReader reader
         7: .line 307
            aload 5 /* reader */
            invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource.substitutionData:Ljava/util/Map;
            invokestatic jdk.jpackage.internal.OverridableResource.substitute:(Ljava/util/stream/Stream;Ljava/util/Map;)Ljava/util/stream/Stream;
         8: .line 308
            ldc "\n"
            ldc ""
            ldc "\n"
            invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
         9: .line 307
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 6 /* data */
        start local 6 // java.lang.String data
        10: .line 309
            aconst_null
            astore 7
            aconst_null
            astore 8
        11: new java.io.ByteArrayInputStream
            dup
            aload 6 /* data */
        12: .line 310
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
        13: .line 309
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            astore 9 /* in */
        start local 9 // java.io.InputStream in
        14: .line 311
            aload 2 /* dest */
            aload 9 /* in */
            invokeinterface jdk.jpackage.internal.OverridableResource$ResourceConsumer.consume:(Ljava/io/InputStream;)V
        15: .line 312
            aload 9 /* in */
            ifnull 21
            aload 9 /* in */
            invokevirtual java.io.InputStream.close:()V
            goto 21
      StackMap locals: jdk.jpackage.internal.OverridableResource java.io.InputStream jdk.jpackage.internal.OverridableResource$ResourceConsumer java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.String java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        16: astore 7
            aload 9 /* in */
            ifnull 17
            aload 9 /* in */
            invokevirtual java.io.InputStream.close:()V
        end local 9 // java.io.InputStream in
      StackMap locals:
      StackMap stack:
        17: aload 7
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        18: astore 8
            aload 7
            ifnonnull 19
            aload 8
            astore 7
            goto 20
      StackMap locals:
      StackMap stack:
        19: aload 7
            aload 8
            if_acmpeq 20
            aload 7
            aload 8
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        20: aload 7
            athrow
        end local 6 // java.lang.String data
        21: .line 313
      StackMap locals:
      StackMap stack:
            aload 5 /* reader */
            ifnull 27
            aload 5 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
            goto 27
      StackMap locals:
      StackMap stack: java.lang.Throwable
        22: astore 3
            aload 5 /* reader */
            ifnull 23
            aload 5 /* reader */
            invokevirtual java.io.BufferedReader.close:()V
        end local 5 // java.io.BufferedReader reader
      StackMap locals:
      StackMap stack:
        23: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        24: astore 4
            aload 3
            ifnonnull 25
            aload 4
            astore 3
            goto 26
      StackMap locals:
      StackMap stack:
        25: aload 3
            aload 4
            if_acmpeq 26
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        26: aload 3
            athrow
        27: .line 315
      StackMap locals:
      StackMap stack:
            return
        end local 2 // jdk.jpackage.internal.OverridableResource$ResourceConsumer dest
        end local 1 // java.io.InputStream rawResource
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   28     0         this  Ljdk/jpackage/internal/OverridableResource;
            0   28     1  rawResource  Ljava/io/InputStream;
            0   28     2         dest  Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;
            7   23     5       reader  Ljava/io/BufferedReader;
           10   21     6         data  Ljava/lang/String;
           14   17     9           in  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
          14    15      16  any
          11    18      18  any
           7    21      22  any
           4    24      24  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      rawResource  
      dest         

  private jdk.jpackage.internal.OverridableResource$SourceHandler getHandler(jdk.jpackage.internal.OverridableResource$Source);
    descriptor: (Ljdk/jpackage/internal/OverridableResource$Source;)Ljdk/jpackage/internal/OverridableResource$SourceHandler;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // jdk.jpackage.internal.OverridableResource$Source sourceType
         0: .line 318
            invokestatic jdk.jpackage.internal.OverridableResource.$SWITCH_TABLE$jdk$jpackage$internal$OverridableResource$Source:()[I
            aload 1 /* sourceType */
            invokevirtual jdk.jpackage.internal.OverridableResource$Source.ordinal:()I
            iaload
            tableswitch { // 1 - 3
                    1: 2
                    2: 3
                    3: 1
              default: 4
          }
         1: .line 320
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic apply(Ljdk/jpackage/internal/OverridableResource;)Ljdk/jpackage/internal/OverridableResource$SourceHandler;
              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:
                  (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
                  jdk/jpackage/internal/OverridableResource.useDefault(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z (7)
                  (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
            areturn
         2: .line 323
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic apply(Ljdk/jpackage/internal/OverridableResource;)Ljdk/jpackage/internal/OverridableResource$SourceHandler;
              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:
                  (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
                  jdk/jpackage/internal/OverridableResource.useExternal(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z (7)
                  (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
            areturn
         3: .line 326
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic apply(Ljdk/jpackage/internal/OverridableResource;)Ljdk/jpackage/internal/OverridableResource$SourceHandler;
              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:
                  (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
                  jdk/jpackage/internal/OverridableResource.useResourceDir(Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z (7)
                  (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Z
            areturn
         4: .line 329
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
        end local 1 // jdk.jpackage.internal.OverridableResource$Source sourceType
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Ljdk/jpackage/internal/OverridableResource;
            0    5     1  sourceType  Ljdk/jpackage/internal/OverridableResource$Source;
    MethodParameters:
            Name  Flags
      sourceType  

  static int[] $SWITCH_TABLE$jdk$jpackage$internal$OverridableResource$Source();
    descriptor: ()[I
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 70
            getstatic jdk.jpackage.internal.OverridableResource.$SWITCH_TABLE$jdk$jpackage$internal$OverridableResource$Source:[I
            dup
            ifnull 1
            areturn
      StackMap locals:
      StackMap stack: int[]
         1: pop
            invokestatic jdk.jpackage.internal.OverridableResource$Source.values:()[Ljdk/jpackage/internal/OverridableResource$Source;
            arraylength
            newarray 10
            astore 0
         2: aload 0
            getstatic jdk.jpackage.internal.OverridableResource$Source.DefaultResource:Ljdk/jpackage/internal/OverridableResource$Source;
            invokevirtual jdk.jpackage.internal.OverridableResource$Source.ordinal:()I
            iconst_3
            iastore
         3: goto 5
      StackMap locals: int[]
      StackMap stack: java.lang.NoSuchFieldError
         4: pop
      StackMap locals:
      StackMap stack:
         5: aload 0
            getstatic jdk.jpackage.internal.OverridableResource$Source.External:Ljdk/jpackage/internal/OverridableResource$Source;
            invokevirtual jdk.jpackage.internal.OverridableResource$Source.ordinal:()I
            iconst_1
            iastore
         6: goto 8
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
         7: pop
      StackMap locals:
      StackMap stack:
         8: aload 0
            getstatic jdk.jpackage.internal.OverridableResource$Source.ResourceDir:Ljdk/jpackage/internal/OverridableResource$Source;
            invokevirtual jdk.jpackage.internal.OverridableResource$Source.ordinal:()I
            iconst_2
            iastore
         9: goto 11
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        10: pop
      StackMap locals:
      StackMap stack:
        11: aload 0
            dup
            putstatic jdk.jpackage.internal.OverridableResource.$SWITCH_TABLE$jdk$jpackage$internal$OverridableResource$Source:[I
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.NoSuchFieldError
           5     6       7  Class java.lang.NoSuchFieldError
           8     9      10  Class java.lang.NoSuchFieldError

  private java.util.Map$Entry lambda$0(jdk.jpackage.internal.OverridableResource$Source);
    descriptor: (Ljdk/jpackage/internal/OverridableResource$Source;)Ljava/util/Map$Entry;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource this
        start local 1 // jdk.jpackage.internal.OverridableResource$Source source
         0: .line 105
            aload 1 /* source */
            aload 0 /* this */
            aload 1 /* source */
            invokevirtual jdk.jpackage.internal.OverridableResource.getHandler:(Ljdk/jpackage/internal/OverridableResource$Source;)Ljdk/jpackage/internal/OverridableResource$SourceHandler;
            invokestatic java.util.Map.entry:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry;
            areturn
        end local 1 // jdk.jpackage.internal.OverridableResource$Source source
        end local 0 // jdk.jpackage.internal.OverridableResource this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Ljdk/jpackage/internal/OverridableResource;
            0    1     1  source  Ljdk/jpackage/internal/OverridableResource$Source;

  private static java.nio.file.Path lambda$1(jdk.jpackage.internal.OverridableResource$ResourceConsumer);
    descriptor: (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljava/nio/file/Path;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 235
            aload 0
            invokeinterface jdk.jpackage.internal.OverridableResource$ResourceConsumer.publicName:()Ljava/nio/file/Path;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.nio.file.Path lambda$2(jdk.jpackage.internal.OverridableResource$ResourceConsumer);
    descriptor: (Ljdk/jpackage/internal/OverridableResource$ResourceConsumer;)Ljava/nio/file/Path;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 268
            aload 0
            invokeinterface jdk.jpackage.internal.OverridableResource$ResourceConsumer.publicName:()Ljava/nio/file/Path;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$3(java.util.Map, java.lang.String);
    descriptor: (Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=5, args_size=2
        start local 1 // java.lang.String line
         0: .line 283
            aload 1 /* line */
            astore 2 /* result */
        start local 2 // java.lang.String result
         1: .line 284
            aload 0
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 8
      StackMap locals: java.util.Map java.lang.String java.lang.String top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 3 /* entry */
        start local 3 // java.util.Map$Entry entry
         3: .line 285
            aload 2 /* result */
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.CharSequence
         4: .line 286
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.lang.String
         5: .line 285
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
         6: .line 286
            ldc ""
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.CharSequence
         7: .line 285
            invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
            astore 2 /* result */
        end local 3 // java.util.Map$Entry entry
         8: .line 284
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         9: .line 288
            aload 2 /* result */
            areturn
        end local 2 // java.lang.String result
        end local 1 // java.lang.String line
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     1    line  Ljava/lang/String;
            1   10     2  result  Ljava/lang/String;
            3    8     3   entry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
}
SourceFile: "OverridableResource.java"
NestMembers:
  jdk.jpackage.internal.OverridableResource$1  jdk.jpackage.internal.OverridableResource$2  jdk.jpackage.internal.OverridableResource$ResourceConsumer  jdk.jpackage.internal.OverridableResource$Source  jdk.jpackage.internal.OverridableResource$SourceHandler
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = java.util.Map$Entry of java.util.Map
  jdk.jpackage.internal.OverridableResource$1
  jdk.jpackage.internal.OverridableResource$2
  private abstract ResourceConsumer = jdk.jpackage.internal.OverridableResource$ResourceConsumer of jdk.jpackage.internal.OverridableResource
  final Source = jdk.jpackage.internal.OverridableResource$Source of jdk.jpackage.internal.OverridableResource
  private abstract SourceHandler = jdk.jpackage.internal.OverridableResource$SourceHandler of jdk.jpackage.internal.OverridableResource