public class org.bson.ByteBufNIO implements org.bson.ByteBuf
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.ByteBufNIO
super_class: java.lang.Object
{
private java.nio.ByteBuffer buf;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private final java.util.concurrent.atomic.AtomicInteger referenceCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield org.bson.ByteBufNIO.referenceCount:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aload 1
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
putfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bson/ByteBufNIO;
0 4 1 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf final
public int getReferenceCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.referenceCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBufNIO retain();
descriptor: ()Lorg/bson/ByteBufNIO;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.referenceCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
iconst_1
if_icmpne 3
1: aload 0
getfield org.bson.ByteBufNIO.referenceCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
2: new java.lang.IllegalStateException
dup
ldc "Attempted to increment the reference count when it is already 0"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bson/ByteBufNIO;
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.referenceCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
ifge 3
1: aload 0
getfield org.bson.ByteBufNIO.referenceCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
2: new java.lang.IllegalStateException
dup
ldc "Attempted to decrement the reference count below 0"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bson.ByteBufNIO.referenceCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 5
4: aload 0
aconst_null
putfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bson/ByteBufNIO;
public int capacity();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBuf put(int, byte);
descriptor: (IB)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
iload 2
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
0 2 1 index I
0 2 2 b B
MethodParameters:
Name Flags
index final
b final
public int remaining();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBuf put(byte[], int, int);
descriptor: ([BII)Lorg/bson/ByteBuf;
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.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
0 2 1 src [B
0 2 2 offset I
0 2 3 length I
MethodParameters:
Name Flags
src final
offset final
length final
public boolean hasRemaining();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBuf put(byte);
descriptor: (B)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
0 2 1 b B
MethodParameters:
Name Flags
b final
public org.bson.ByteBuf flip();
descriptor: ()Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.Buffer.flip:()Ljava/nio/Buffer;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
public byte[] array();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public int limit();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBuf position(int);
descriptor: (I)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
0 2 1 newPosition I
MethodParameters:
Name Flags
newPosition final
public org.bson.ByteBuf clear();
descriptor: ()Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.Buffer.clear:()Ljava/nio/Buffer;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBuf order(java.nio.ByteOrder);
descriptor: (Ljava/nio/ByteOrder;)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
0 2 1 byteOrder Ljava/nio/ByteOrder;
MethodParameters:
Name Flags
byteOrder final
public byte get();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public byte get(int);
descriptor: (I)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.get:(I)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
0 1 1 index I
MethodParameters:
Name Flags
index final
public org.bson.ByteBuf get(byte[]);
descriptor: ([B)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
0 2 1 bytes [B
MethodParameters:
Name Flags
bytes final
public org.bson.ByteBuf get(int, byte[]);
descriptor: (I[B)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
iconst_0
aload 2
arraylength
invokevirtual org.bson.ByteBufNIO.get:(I[BII)Lorg/bson/ByteBuf;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
0 1 1 index I
0 1 2 bytes [B
MethodParameters:
Name Flags
index final
bytes final
public org.bson.ByteBuf get(byte[], int, int);
descriptor: ([BII)Lorg/bson/ByteBuf;
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.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
0 2 1 bytes [B
0 2 2 offset I
0 2 3 length I
MethodParameters:
Name Flags
bytes final
offset final
length final
public org.bson.ByteBuf get(int, byte[], int, int);
descriptor: (I[BII)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 2
iload 3
iload 5
iadd
aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
iload 5
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
bastore
3: iinc 5 1
StackMap locals:
StackMap stack:
4: iload 5
iload 4
if_icmplt 2
end local 5 5: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bson/ByteBufNIO;
0 6 1 index I
0 6 2 bytes [B
0 6 3 offset I
0 6 4 length I
1 5 5 i I
MethodParameters:
Name Flags
index final
bytes final
offset final
length final
public long getLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getLong:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public long getLong(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getLong:(I)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
0 1 1 index I
MethodParameters:
Name Flags
index final
public double getDouble();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getDouble:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public double getDouble(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getDouble:(I)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
0 1 1 index I
MethodParameters:
Name Flags
index final
public int getInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getInt:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public int getInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getInt:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
0 1 1 index I
MethodParameters:
Name Flags
index final
public int position();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBuf limit(int);
descriptor: (I)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/ByteBufNIO;
0 2 1 newLimit I
MethodParameters:
Name Flags
newLimit final
public org.bson.ByteBuf asReadOnly();
descriptor: ()Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bson.ByteBufNIO
dup
aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
invokespecial org.bson.ByteBufNIO.<init>:(Ljava/nio/ByteBuffer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBuf duplicate();
descriptor: ()Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bson.ByteBufNIO
dup
aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
invokespecial org.bson.ByteBufNIO.<init>:(Ljava/nio/ByteBuffer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public java.nio.ByteBuffer asNIO();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.ByteBufNIO.buf:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/ByteBufNIO;
public org.bson.ByteBuf retain();
descriptor: ()Lorg/bson/ByteBuf;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.bson.ByteBufNIO.retain:()Lorg/bson/ByteBufNIO;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ByteBufNIO.java"