class jdk.jpackage.internal.OverridableResource$1 implements jdk.jpackage.internal.OverridableResource$ResourceConsumer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jpackage.internal.OverridableResource$1
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.io.OutputStream val$dest;
descriptor: Ljava/io/OutputStream;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.jpackage.internal.OverridableResource, java.io.OutputStream);
descriptor: (Ljdk/jpackage/internal/OverridableResource;Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield jdk.jpackage.internal.OverridableResource$1.this$0:Ljdk/jpackage/internal/OverridableResource;
aload 0
aload 2
putfield jdk.jpackage.internal.OverridableResource$1.val$dest:Ljava/io/OutputStream;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/OverridableResource$1;
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=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/OverridableResource$1;
public void consume(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.jpackage.internal.OverridableResource$1.val$dest:Ljava/io/OutputStream;
invokevirtual java.io.InputStream.transferTo:(Ljava/io/OutputStream;)J
pop2
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jpackage/internal/OverridableResource$1;
0 2 1 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
}
SourceFile: "OverridableResource.java"
EnclosingMethod: jdk.jpackage.internal.OverridableResource.saveToStream:(Ljava/io/OutputStream;)Ljdk/jpackage/internal/OverridableResource$Source;
NestHost: jdk.jpackage.internal.OverridableResource
InnerClasses:
jdk.jpackage.internal.OverridableResource$1
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