class jdk.jpackage.internal.OverridableResource$2 implements jdk.jpackage.internal.OverridableResource$ResourceConsumer
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.jpackage.internal.OverridableResource$2
  super_class: java.lang.Object
{
  final jdk.jpackage.internal.OverridableResource this$0;
    descriptor: Ljdk/jpackage/internal/OverridableResource;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  private final java.nio.file.Path val$dest;
    descriptor: Ljava/nio/file/Path;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(jdk.jpackage.internal.OverridableResource, java.nio.file.Path);
    descriptor: (Ljdk/jpackage/internal/OverridableResource;Ljava/nio/file/Path;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.jpackage.internal.OverridableResource$2 this
         0: .line 168
            aload 0 /* this */
            aload 1
            putfield jdk.jpackage.internal.OverridableResource$2.this$0:Ljdk/jpackage/internal/OverridableResource;
            aload 0 /* this */
            aload 2
            putfield jdk.jpackage.internal.OverridableResource$2.val$dest:Ljava/nio/file/Path;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.jpackage.internal.OverridableResource$2 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/OverridableResource$2;
    MethodParameters:
          Name  Flags
      this$0    final
      val$dest  final

  public java.nio.file.Path publicName();
    descriptor: ()Ljava/nio/file/Path;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.OverridableResource$2 this
         0: .line 171
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource$2.val$dest:Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            areturn
        end local 0 // jdk.jpackage.internal.OverridableResource$2 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/OverridableResource$2;

  public void consume(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.OverridableResource$2 this
        start local 1 // java.io.InputStream in
         0: .line 176
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource$2.val$dest:Ljava/nio/file/Path;
            invokestatic jdk.jpackage.internal.IOUtils.getParent:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
         1: .line 177
            aload 1 /* in */
            aload 0 /* this */
            getfield jdk.jpackage.internal.OverridableResource$2.val$dest:Ljava/nio/file/Path;
            iconst_1
            anewarray java.nio.file.CopyOption
            dup
            iconst_0
            getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
            aastore
            invokestatic java.nio.file.Files.copy:(Ljava/io/InputStream;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)J
            pop2
         2: .line 178
            return
        end local 1 // java.io.InputStream in
        end local 0 // jdk.jpackage.internal.OverridableResource$2 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jpackage/internal/OverridableResource$2;
            0    3     1    in  Ljava/io/InputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
}
SourceFile: "OverridableResource.java"
EnclosingMethod: jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
NestHost: jdk.jpackage.internal.OverridableResource
InnerClasses:
  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