class jdk.internal.reflect.ByteVectorImpl implements jdk.internal.reflect.ByteVector
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.reflect.ByteVectorImpl
super_class: java.lang.Object
{
private byte[] data;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 100
invokespecial jdk.internal.reflect.ByteVectorImpl.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/reflect/ByteVectorImpl;
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 jdk.internal.reflect.ByteVectorImpl.data:[B
2: aload 0
iconst_m1
putfield jdk.internal.reflect.ByteVectorImpl.pos:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/reflect/ByteVectorImpl;
0 4 1 sz I
MethodParameters:
Name Flags
sz
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.reflect.ByteVectorImpl.pos:I
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ByteVectorImpl;
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: iload 1
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
arraylength
if_icmplt 3
1: aload 0
iload 1
invokevirtual jdk.internal.reflect.ByteVectorImpl.resize:(I)V
2: aload 0
iload 1
putfield jdk.internal.reflect.ByteVectorImpl.pos:I
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
iload 1
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/reflect/ByteVectorImpl;
0 4 1 index I
MethodParameters:
Name Flags
index
public void put(int, byte);
descriptor: (IB)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
arraylength
if_icmplt 3
1: aload 0
iload 1
invokevirtual jdk.internal.reflect.ByteVectorImpl.resize:(I)V
2: aload 0
iload 1
putfield jdk.internal.reflect.ByteVectorImpl.pos:I
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
iload 1
iload 2
bastore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/reflect/ByteVectorImpl;
0 5 1 index I
0 5 2 value B
MethodParameters:
Name Flags
index
value
public void add(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield jdk.internal.reflect.ByteVectorImpl.pos:I
iconst_1
iadd
dup_x1
putfield jdk.internal.reflect.ByteVectorImpl.pos:I
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
arraylength
if_icmplt 2
1: aload 0
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.pos:I
invokevirtual jdk.internal.reflect.ByteVectorImpl.resize:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.pos:I
iload 1
bastore
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/reflect/ByteVectorImpl;
0 4 1 value B
MethodParameters:
Name Flags
value
public void trim();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.reflect.ByteVectorImpl.pos:I
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
arraylength
iconst_1
isub
if_icmpeq 4
1: aload 0
getfield jdk.internal.reflect.ByteVectorImpl.pos:I
iconst_1
iadd
newarray 8
astore 1
start local 1 2: aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
iconst_0
aload 1
iconst_0
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.pos:I
iconst_1
iadd
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 1
putfield jdk.internal.reflect.ByteVectorImpl.data:[B
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/reflect/ByteVectorImpl;
2 4 1 newData [B
public byte[] getData();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/reflect/ByteVectorImpl;
private void resize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iconst_2
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
arraylength
imul
if_icmpgt 2
1: iconst_2
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
arraylength
imul
istore 1
2: StackMap locals:
StackMap stack:
iload 1
newarray 8
astore 2
start local 2 3: aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
iconst_0
aload 2
iconst_0
aload 0
getfield jdk.internal.reflect.ByteVectorImpl.data:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 2
putfield jdk.internal.reflect.ByteVectorImpl.data:[B
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/reflect/ByteVectorImpl;
0 6 1 minSize I
3 6 2 newData [B
MethodParameters:
Name Flags
minSize
}
SourceFile: "ByteVectorImpl.java"