class sun.nio.ch.PipeImpl extends java.nio.channels.Pipe
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.PipeImpl
super_class: java.nio.channels.Pipe
{
private final java.nio.channels.Pipe$SourceChannel source;
descriptor: Ljava/nio/channels/Pipe$SourceChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.channels.Pipe$SinkChannel sink;
descriptor: Ljava/nio/channels/Pipe$SinkChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.nio.channels.spi.SelectorProvider);
descriptor: (Ljava/nio/channels/spi/SelectorProvider;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.nio.channels.Pipe.<init>:()V
1: iconst_2
newarray 10
astore 2
start local 2 2: aload 2
iconst_1
invokestatic sun.nio.ch.IOUtil.initPipe:([IZ)V
3: new java.io.FileDescriptor
dup
invokespecial java.io.FileDescriptor.<init>:()V
astore 3
start local 3 4: aload 3
aload 2
iconst_0
iaload
invokestatic sun.nio.ch.IOUtil.setfdVal:(Ljava/io/FileDescriptor;I)V
5: aload 0
new sun.nio.ch.SourceChannelImpl
dup
aload 1
aload 3
invokespecial sun.nio.ch.SourceChannelImpl.<init>:(Ljava/nio/channels/spi/SelectorProvider;Ljava/io/FileDescriptor;)V
putfield sun.nio.ch.PipeImpl.source:Ljava/nio/channels/Pipe$SourceChannel;
6: new java.io.FileDescriptor
dup
invokespecial java.io.FileDescriptor.<init>:()V
astore 4
start local 4 7: aload 4
aload 2
iconst_1
iaload
invokestatic sun.nio.ch.IOUtil.setfdVal:(Ljava/io/FileDescriptor;I)V
8: aload 0
new sun.nio.ch.SinkChannelImpl
dup
aload 1
aload 4
invokespecial sun.nio.ch.SinkChannelImpl.<init>:(Ljava/nio/channels/spi/SelectorProvider;Ljava/io/FileDescriptor;)V
putfield sun.nio.ch.PipeImpl.sink:Ljava/nio/channels/Pipe$SinkChannel;
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/ch/PipeImpl;
0 10 1 sp Ljava/nio/channels/spi/SelectorProvider;
2 10 2 fdes [I
4 10 3 sourcefd Ljava/io/FileDescriptor;
7 10 4 sinkfd Ljava/io/FileDescriptor;
MethodParameters:
Name Flags
sp
public java.nio.channels.Pipe$SourceChannel source();
descriptor: ()Ljava/nio/channels/Pipe$SourceChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.PipeImpl.source:Ljava/nio/channels/Pipe$SourceChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/PipeImpl;
public java.nio.channels.Pipe$SinkChannel sink();
descriptor: ()Ljava/nio/channels/Pipe$SinkChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.PipeImpl.sink:Ljava/nio/channels/Pipe$SinkChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/PipeImpl;
}
SourceFile: "PipeImpl.java"
InnerClasses:
public abstract SinkChannel = java.nio.channels.Pipe$SinkChannel of java.nio.channels.Pipe
public abstract SourceChannel = java.nio.channels.Pipe$SourceChannel of java.nio.channels.Pipe