class com.google.protobuf.AllocatedBuffer$2 extends com.google.protobuf.AllocatedBuffer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.protobuf.AllocatedBuffer$2
super_class: com.google.protobuf.AllocatedBuffer
{
private int position;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final byte[] val$bytes;
descriptor: [B
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$offset;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$length;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield com.google.protobuf.AllocatedBuffer$2.val$bytes:[B
aload 0
iload 2
putfield com.google.protobuf.AllocatedBuffer$2.val$offset:I
aload 0
iload 3
putfield com.google.protobuf.AllocatedBuffer$2.val$length:I
aload 0
invokespecial com.google.protobuf.AllocatedBuffer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AllocatedBuffer$2;
MethodParameters:
Name Flags
val$bytes final
val$offset final
val$length final
public boolean hasNioBuffer();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AllocatedBuffer$2;
public java.nio.ByteBuffer nioBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
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 Lcom/google/protobuf/AllocatedBuffer$2;
public boolean hasArray();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AllocatedBuffer$2;
public byte[] array();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.AllocatedBuffer$2.val$bytes:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AllocatedBuffer$2;
public int arrayOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.AllocatedBuffer$2.val$offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AllocatedBuffer$2;
public int position();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.AllocatedBuffer$2.position:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AllocatedBuffer$2;
public com.google.protobuf.AllocatedBuffer position(int);
descriptor: (I)Lcom/google/protobuf/AllocatedBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield com.google.protobuf.AllocatedBuffer$2.val$length:I
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid position: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.google.protobuf.AllocatedBuffer$2.position:I
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/AllocatedBuffer$2;
0 4 1 position I
MethodParameters:
Name Flags
position
public int limit();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.AllocatedBuffer$2.val$length:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AllocatedBuffer$2;
public int remaining();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.AllocatedBuffer$2.val$length:I
aload 0
getfield com.google.protobuf.AllocatedBuffer$2.position:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AllocatedBuffer$2;
}
SourceFile: "AllocatedBuffer.java"
EnclosingMethod: com.google.protobuf.AllocatedBuffer.wrapNoCheck:([BII)Lcom/google/protobuf/AllocatedBuffer;
NestHost: com.google.protobuf.AllocatedBuffer
InnerClasses:
com.google.protobuf.AllocatedBuffer$2