public class org.jruby.util.AppendModeChannel extends java.nio.channels.FileChannel
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.AppendModeChannel
super_class: java.nio.channels.FileChannel
{
private java.nio.channels.FileChannel delegate;
descriptor: Ljava/nio/channels/FileChannel;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.nio.channels.FileChannel);
descriptor: (Ljava/nio/channels/FileChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.nio.channels.FileChannel.<init>:()V
1: aload 0
aload 1
putfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/AppendModeChannel;
0 3 1 delegate Ljava/nio/channels/FileChannel;
MethodParameters:
Name Flags
delegate
public int read(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 1
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 dst Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst
public long read(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 1
iload 2
iload 3
invokevirtual java.nio.channels.FileChannel.read:([Ljava/nio/ByteBuffer;II)J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 dsts [Ljava/nio/ByteBuffer;
0 1 2 offset I
0 1 3 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dsts
offset
length
public int write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 0
invokevirtual org.jruby.util.AppendModeChannel.size:()J
invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
pop
1: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 1
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/AppendModeChannel;
0 2 1 src Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public long write(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 0
invokevirtual org.jruby.util.AppendModeChannel.size:()J
invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
pop
1: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 1
iload 2
iload 3
invokevirtual java.nio.channels.FileChannel.write:([Ljava/nio/ByteBuffer;II)J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/AppendModeChannel;
0 2 1 srcs [Ljava/nio/ByteBuffer;
0 2 2 offset I
0 2 3 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
srcs
offset
length
public long position();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.position:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
Exceptions:
throws java.io.IOException
public java.nio.channels.FileChannel position(long);
descriptor: (J)Ljava/nio/channels/FileChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
lload 1
invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 newPosition J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
newPosition
public long size();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.size:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
Exceptions:
throws java.io.IOException
public java.nio.channels.FileChannel truncate(long);
descriptor: (J)Ljava/nio/channels/FileChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
lload 1
invokevirtual java.nio.channels.FileChannel.truncate:(J)Ljava/nio/channels/FileChannel;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 size J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
size
public void force(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
iload 1
invokevirtual java.nio.channels.FileChannel.force:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/AppendModeChannel;
0 2 1 metaData Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
metaData
public long transferTo(long, long, java.nio.channels.WritableByteChannel);
descriptor: (JJLjava/nio/channels/WritableByteChannel;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
lload 1
lload 3
aload 5
invokevirtual java.nio.channels.FileChannel.transferTo:(JJLjava/nio/channels/WritableByteChannel;)J
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 position J
0 1 3 count J
0 1 5 target Ljava/nio/channels/WritableByteChannel;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position
count
target
public long transferFrom(java.nio.channels.ReadableByteChannel, long, long);
descriptor: (Ljava/nio/channels/ReadableByteChannel;JJ)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 1
lload 2
lload 4
invokevirtual java.nio.channels.FileChannel.transferFrom:(Ljava/nio/channels/ReadableByteChannel;JJ)J
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 src Ljava/nio/channels/ReadableByteChannel;
0 1 2 position J
0 1 4 count J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
position
count
public int read(java.nio.ByteBuffer, long);
descriptor: (Ljava/nio/ByteBuffer;J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 1
lload 2
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;J)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 dst Ljava/nio/ByteBuffer;
0 1 2 position J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst
position
public int write(java.nio.ByteBuffer, long);
descriptor: (Ljava/nio/ByteBuffer;J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 0
invokevirtual org.jruby.util.AppendModeChannel.size:()J
invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
pop
1: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 1
lload 2
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;J)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/AppendModeChannel;
0 2 1 src Ljava/nio/ByteBuffer;
0 2 2 position J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
position
public java.nio.MappedByteBuffer map(java.nio.channels.FileChannel$MapMode, long, long);
descriptor: (Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
aload 1
lload 2
lload 4
invokevirtual java.nio.channels.FileChannel.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 mode Ljava/nio/channels/FileChannel$MapMode;
0 1 2 position J
0 1 4 size J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mode
position
size
public java.nio.channels.FileLock lock(long, long, boolean);
descriptor: (JJZ)Ljava/nio/channels/FileLock;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
lload 1
lload 3
iload 5
invokevirtual java.nio.channels.FileChannel.lock:(JJZ)Ljava/nio/channels/FileLock;
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 position J
0 1 3 size J
0 1 5 shared Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position
size
shared
public java.nio.channels.FileLock tryLock(long, long, boolean);
descriptor: (JJZ)Ljava/nio/channels/FileLock;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
lload 1
lload 3
iload 5
invokevirtual java.nio.channels.FileChannel.tryLock:(JJZ)Ljava/nio/channels/FileLock;
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/AppendModeChannel;
0 1 1 position J
0 1 3 size J
0 1 5 shared Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position
size
shared
protected void implCloseChannel();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.AppendModeChannel.delegate:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/AppendModeChannel;
Exceptions:
throws java.io.IOException
public java.nio.channels.SeekableByteChannel position(long);
descriptor: (J)Ljava/nio/channels/SeekableByteChannel;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual org.jruby.util.AppendModeChannel.position:(J)Ljava/nio/channels/FileChannel;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.nio.channels.SeekableByteChannel truncate(long);
descriptor: (J)Ljava/nio/channels/SeekableByteChannel;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual org.jruby.util.AppendModeChannel.truncate:(J)Ljava/nio/channels/FileChannel;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "AppendModeChannel.java"
InnerClasses:
public MapMode = java.nio.channels.FileChannel$MapMode of java.nio.channels.FileChannel