final class com.google.protobuf.ProtobufArrayList<E> extends com.google.protobuf.AbstractProtobufList<E> implements java.util.RandomAccess
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.protobuf.ProtobufArrayList
super_class: com.google.protobuf.AbstractProtobufList
{
private static final com.google.protobuf.ProtobufArrayList<java.lang.Object> EMPTY_LIST;
descriptor: Lcom/google/protobuf/ProtobufArrayList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/google/protobuf/ProtobufArrayList<Ljava/lang/Object;>;
private E[] array;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: [TE;
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.google.protobuf.ProtobufArrayList
dup
iconst_0
anewarray java.lang.Object
iconst_0
invokespecial com.google.protobuf.ProtobufArrayList.<init>:([Ljava/lang/Object;I)V
1: putstatic com.google.protobuf.ProtobufArrayList.EMPTY_LIST:Lcom/google/protobuf/ProtobufArrayList;
2: getstatic com.google.protobuf.ProtobufArrayList.EMPTY_LIST:Lcom/google/protobuf/ProtobufArrayList;
invokevirtual com.google.protobuf.ProtobufArrayList.makeImmutable:()V
3: return
LocalVariableTable:
Start End Slot Name Signature
public static <E> com.google.protobuf.ProtobufArrayList<E> emptyList();
descriptor: ()Lcom/google/protobuf/ProtobufArrayList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.protobuf.ProtobufArrayList.EMPTY_LIST:Lcom/google/protobuf/ProtobufArrayList;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <E:Ljava/lang/Object;>()Lcom/google/protobuf/ProtobufArrayList<TE;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
anewarray java.lang.Object
iconst_0
invokespecial com.google.protobuf.ProtobufArrayList.<init>:([Ljava/lang/Object;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
private void <init>(E[], );
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.google.protobuf.AbstractProtobufList.<init>:()V
1: aload 0
aload 1
putfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
2: aload 0
iload 2
putfield com.google.protobuf.ProtobufArrayList.size:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 4 1 array [Ljava/lang/Object;
0 4 2 size I
Signature: ([TE;I)V
MethodParameters:
Name Flags
array
size
public com.google.protobuf.ProtobufArrayList<E> mutableCopyWithCapacity(int);
descriptor: (I)Lcom/google/protobuf/ProtobufArrayList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
astore 2
start local 2 3: new com.google.protobuf.ProtobufArrayList
dup
aload 2
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
invokespecial com.google.protobuf.ProtobufArrayList.<init>:([Ljava/lang/Object;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 4 1 capacity I
3 4 2 newArray [Ljava/lang/Object;
Signature: (I)Lcom/google/protobuf/ProtobufArrayList<TE;>;
MethodParameters:
Name Flags
capacity
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.protobuf.ProtobufArrayList.ensureIsMutable:()V
1: aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
arraylength
if_icmpne 5
2: aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
istore 2
start local 2 3: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 2
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
astore 3
start local 3 4: aload 0
aload 3
putfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
end local 3 end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
aload 0
dup
getfield com.google.protobuf.ProtobufArrayList.size:I
dup_x1
iconst_1
iadd
putfield com.google.protobuf.ProtobufArrayList.size:I
aload 1
aastore
6: aload 0
dup
getfield com.google.protobuf.ProtobufArrayList.modCount:I
iconst_1
iadd
putfield com.google.protobuf.ProtobufArrayList.modCount:I
7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 8 1 element TE;
3 5 2 length I
4 5 3 newArray [Ljava/lang/Object;
Signature: (TE;)Z
MethodParameters:
Name Flags
element
public void add(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.protobuf.ProtobufArrayList.ensureIsMutable:()V
1: iload 1
iflt 2
iload 1
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
if_icmple 3
2: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
aload 0
iload 1
invokevirtual com.google.protobuf.ProtobufArrayList.makeOutOfBoundsExceptionMessage:(I)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
arraylength
if_icmpge 6
4: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
iconst_1
iadd
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: goto 11
6: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
istore 3
start local 3 7: iload 3
invokestatic com.google.protobuf.ProtobufArrayList.createArray:(I)[Ljava/lang/Object;
astore 4
start local 4 8: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iconst_0
aload 4
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
aload 4
iload 1
iconst_1
iadd
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
aload 4
putfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
aload 2
aastore
12: aload 0
dup
getfield com.google.protobuf.ProtobufArrayList.size:I
iconst_1
iadd
putfield com.google.protobuf.ProtobufArrayList.size:I
13: aload 0
dup
getfield com.google.protobuf.ProtobufArrayList.modCount:I
iconst_1
iadd
putfield com.google.protobuf.ProtobufArrayList.modCount:I
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 15 1 index I
0 15 2 element TE;
7 11 3 length I
8 11 4 newArray [Ljava/lang/Object;
Signature: (ITE;)V
MethodParameters:
Name Flags
index
element
public E get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.google.protobuf.ProtobufArrayList.ensureIndexInRange:(I)V
1: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 2 1 index I
Signature: (I)TE;
MethodParameters:
Name Flags
index
public E remove();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.protobuf.ProtobufArrayList.ensureIsMutable:()V
1: aload 0
iload 1
invokevirtual com.google.protobuf.ProtobufArrayList.ensureIndexInRange:(I)V
2: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
aaload
astore 2
start local 2 3: iload 1
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
iconst_1
isub
if_icmpge 5
4: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
iconst_1
iadd
aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
iload 1
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
dup
getfield com.google.protobuf.ProtobufArrayList.size:I
iconst_1
isub
putfield com.google.protobuf.ProtobufArrayList.size:I
6: aload 0
dup
getfield com.google.protobuf.ProtobufArrayList.modCount:I
iconst_1
iadd
putfield com.google.protobuf.ProtobufArrayList.modCount:I
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 8 1 index I
3 8 2 value TE;
Signature: (I)TE;
MethodParameters:
Name Flags
index
public E set(int, );
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.protobuf.ProtobufArrayList.ensureIsMutable:()V
1: aload 0
iload 1
invokevirtual com.google.protobuf.ProtobufArrayList.ensureIndexInRange:(I)V
2: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
aaload
astore 3
start local 3 3: aload 0
getfield com.google.protobuf.ProtobufArrayList.array:[Ljava/lang/Object;
iload 1
aload 2
aastore
4: aload 0
dup
getfield com.google.protobuf.ProtobufArrayList.modCount:I
iconst_1
iadd
putfield com.google.protobuf.ProtobufArrayList.modCount:I
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 6 1 index I
0 6 2 element TE;
3 6 3 toReturn TE;
Signature: (ITE;)TE;
MethodParameters:
Name Flags
index
element
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
private static <E> E[] createArray();
descriptor: (I)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
anewarray java.lang.Object
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 capacity I
Signature: <E:Ljava/lang/Object;>(I)[TE;
MethodParameters:
Name Flags
capacity
private void ensureIndexInRange(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
aload 0
iload 1
invokevirtual com.google.protobuf.ProtobufArrayList.makeOutOfBoundsExceptionMessage:(I)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 3 1 index I
MethodParameters:
Name Flags
index
private java.lang.String makeOutOfBoundsExceptionMessage(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "Index:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", Size:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.protobuf.ProtobufArrayList.size:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/ProtobufArrayList<TE;>;
0 1 1 index I
MethodParameters:
Name Flags
index
public com.google.protobuf.Internal$ProtobufList mutableCopyWithCapacity(int);
descriptor: (I)Lcom/google/protobuf/Internal$ProtobufList;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.google.protobuf.ProtobufArrayList.mutableCopyWithCapacity:(I)Lcom/google/protobuf/ProtobufArrayList;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Lcom/google/protobuf/AbstractProtobufList<TE;>;Ljava/util/RandomAccess;
SourceFile: "ProtobufArrayList.java"
InnerClasses:
public abstract ProtobufList = com.google.protobuf.Internal$ProtobufList of com.google.protobuf.Internal