public class com.sun.tools.javac.util.ByteBuffer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.util.ByteBuffer
super_class: java.lang.Object
{
public byte[] elems;
descriptor: [B
flags: (0x0001) ACC_PUBLIC
public int length;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 64
invokespecial com.sun.tools.javac.util.ByteBuffer.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/ByteBuffer;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
newarray 8
putfield com.sun.tools.javac.util.ByteBuffer.elems:[B
2: aload 0
iconst_0
putfield com.sun.tools.javac.util.ByteBuffer.length:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 4 1 initialSize I
MethodParameters:
Name Flags
initialSize
public void appendByte(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
invokestatic com.sun.tools.javac.util.ArrayUtils.ensureCapacity:([BI)[B
putfield com.sun.tools.javac.util.ByteBuffer.elems:[B
1: aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
dup
getfield com.sun.tools.javac.util.ByteBuffer.length:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.util.ByteBuffer.length:I
iload 1
i2b
bastore
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 3 1 b I
MethodParameters:
Name Flags
b
public void appendBytes(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iload 3
iadd
invokestatic com.sun.tools.javac.util.ArrayUtils.ensureCapacity:([BI)[B
putfield com.sun.tools.javac.util.ByteBuffer.elems:[B
1: aload 1
iload 2
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
dup
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iload 3
iadd
putfield com.sun.tools.javac.util.ByteBuffer.length:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 4 1 bs [B
0 4 2 start I
0 4 3 len I
MethodParameters:
Name Flags
bs
start
len
public void appendBytes(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual com.sun.tools.javac.util.ByteBuffer.appendBytes:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 2 1 bs [B
MethodParameters:
Name Flags
bs
public void appendChar(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iconst_1
iadd
invokestatic com.sun.tools.javac.util.ArrayUtils.ensureCapacity:([BI)[B
putfield com.sun.tools.javac.util.ByteBuffer.elems:[B
1: aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iload 1
bipush 8
ishr
sipush 255
iand
i2b
bastore
2: aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iconst_1
iadd
iload 1
sipush 255
iand
i2b
bastore
3: aload 0
dup
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iconst_2
iadd
putfield com.sun.tools.javac.util.ByteBuffer.length:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 5 1 x I
MethodParameters:
Name Flags
x
public void appendInt(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iconst_3
iadd
invokestatic com.sun.tools.javac.util.ArrayUtils.ensureCapacity:([BI)[B
putfield com.sun.tools.javac.util.ByteBuffer.elems:[B
1: aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iload 1
bipush 24
ishr
sipush 255
iand
i2b
bastore
2: aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iconst_1
iadd
iload 1
bipush 16
ishr
sipush 255
iand
i2b
bastore
3: aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iconst_2
iadd
iload 1
bipush 8
ishr
sipush 255
iand
i2b
bastore
4: aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iconst_3
iadd
iload 1
sipush 255
iand
i2b
bastore
5: aload 0
dup
getfield com.sun.tools.javac.util.ByteBuffer.length:I
iconst_4
iadd
putfield com.sun.tools.javac.util.ByteBuffer.length:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 7 1 x I
MethodParameters:
Name Flags
x
public void appendLong(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
bipush 8
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 3
start local 3 1: new java.io.DataOutputStream
dup
aload 3
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 2: aload 4
lload 1
invokevirtual java.io.DataOutputStream.writeLong:(J)V
3: aload 0
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
iconst_0
bipush 8
invokevirtual com.sun.tools.javac.util.ByteBuffer.appendBytes:([BII)V
4: goto 7
StackMap locals: com.sun.tools.javac.util.ByteBuffer long java.io.ByteArrayOutputStream java.io.DataOutputStream
StackMap stack: java.io.IOException
5: pop
6: new java.lang.AssertionError
dup
ldc "write"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 8 1 x J
1 8 3 buffer Ljava/io/ByteArrayOutputStream;
2 8 4 bufout Ljava/io/DataOutputStream;
Exception table:
from to target type
2 4 5 Class java.io.IOException
MethodParameters:
Name Flags
x
public void appendFloat(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
iconst_4
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 2
start local 2 1: new java.io.DataOutputStream
dup
aload 2
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 3
start local 3 2: aload 3
fload 1
invokevirtual java.io.DataOutputStream.writeFloat:(F)V
3: aload 0
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
iconst_0
iconst_4
invokevirtual com.sun.tools.javac.util.ByteBuffer.appendBytes:([BII)V
4: goto 7
StackMap locals: com.sun.tools.javac.util.ByteBuffer float java.io.ByteArrayOutputStream java.io.DataOutputStream
StackMap stack: java.io.IOException
5: pop
6: new java.lang.AssertionError
dup
ldc "write"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 8 1 x F
1 8 2 buffer Ljava/io/ByteArrayOutputStream;
2 8 3 bufout Ljava/io/DataOutputStream;
Exception table:
from to target type
2 4 5 Class java.io.IOException
MethodParameters:
Name Flags
x
public void appendDouble(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
bipush 8
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 3
start local 3 1: new java.io.DataOutputStream
dup
aload 3
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 2: aload 4
dload 1
invokevirtual java.io.DataOutputStream.writeDouble:(D)V
3: aload 0
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
iconst_0
bipush 8
invokevirtual com.sun.tools.javac.util.ByteBuffer.appendBytes:([BII)V
4: goto 7
StackMap locals: com.sun.tools.javac.util.ByteBuffer double java.io.ByteArrayOutputStream java.io.DataOutputStream
StackMap stack: java.io.IOException
5: pop
6: new java.lang.AssertionError
dup
ldc "write"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 8 1 x D
1 8 3 buffer Ljava/io/ByteArrayOutputStream;
2 8 4 bufout Ljava/io/DataOutputStream;
Exception table:
from to target type
2 4 5 Class java.io.IOException
MethodParameters:
Name Flags
x
public void appendName(com.sun.tools.javac.util.Name);
descriptor: (Lcom/sun/tools/javac/util/Name;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.javac.util.Name.getByteArray:()[B
aload 1
invokevirtual com.sun.tools.javac.util.Name.getByteOffset:()I
aload 1
invokevirtual com.sun.tools.javac.util.Name.getByteLength:()I
invokevirtual com.sun.tools.javac.util.ByteBuffer.appendBytes:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 2 1 name Lcom/sun/tools/javac/util/Name;
MethodParameters:
Name Flags
name
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.tools.javac.util.ByteBuffer.length:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/ByteBuffer;
public com.sun.tools.javac.util.Name toName(com.sun.tools.javac.util.Names);
descriptor: (Lcom/sun/tools/javac/util/Names;)Lcom/sun/tools/javac/util/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.elems:[B
iconst_0
aload 0
getfield com.sun.tools.javac.util.ByteBuffer.length:I
invokevirtual com.sun.tools.javac.util.Names.fromUtf:([BII)Lcom/sun/tools/javac/util/Name;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/ByteBuffer;
0 1 1 names Lcom/sun/tools/javac/util/Names;
MethodParameters:
Name Flags
names
}
SourceFile: "ByteBuffer.java"