abstract class com.google.protobuf.AbstractProtobufList<E> extends java.util.AbstractList<E> implements com.google.protobuf.Internal$ProtobufList<E>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.protobuf.AbstractProtobufList
super_class: java.util.AbstractList
{
protected static final int DEFAULT_CAPACITY;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private boolean isMutable;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: aload 0
iconst_1
putfield com.google.protobuf.AbstractProtobufList.isMutable:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.util.List
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.util.RandomAccess
ifne 6
5: aload 0
aload 1
invokespecial java.util.AbstractList.equals:(Ljava/lang/Object;)Z
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.List
astore 2
start local 2 7: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.size:()I
istore 3
start local 3 8: iload 3
aload 2
invokeinterface java.util.List.size:()I
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals: java.util.List int
StackMap stack:
iconst_0
istore 4
start local 4 11: goto 15
12: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokevirtual com.google.protobuf.AbstractProtobufList.get:(I)Ljava/lang/Object;
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 3
if_icmplt 12
end local 4 16: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 17 1 o Ljava/lang/Object;
7 17 2 other Ljava/util/List<*>;
8 17 3 size I
11 16 4 i I
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.size:()I
istore 1
start local 1 1: iconst_1
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int int int
StackMap stack:
bipush 31
iload 2
imul
aload 0
iload 3
invokevirtual com.google.protobuf.AbstractProtobufList.get:(I)Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 2
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
1 8 1 size I
2 8 2 hashCode I
3 7 3 i I
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
aload 1
invokespecial java.util.AbstractList.add:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 2 1 e TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
e
public void add(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
iload 1
aload 2
invokespecial java.util.AbstractList.add:(ILjava/lang/Object;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 3 1 index I
0 3 2 element TE;
Signature: (ITE;)V
MethodParameters:
Name Flags
index
element
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
aload 1
invokespecial java.util.AbstractList.addAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 2 1 c Ljava/util/Collection<+TE;>;
Signature: (Ljava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
c
public boolean addAll(int, java.util.Collection<? extends E>);
descriptor: (ILjava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
iload 1
aload 2
invokespecial java.util.AbstractList.addAll:(ILjava/util/Collection;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 2 1 index I
0 2 2 c Ljava/util/Collection<+TE;>;
Signature: (ILjava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
index
c
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
invokespecial java.util.AbstractList.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
public boolean isModifiable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.AbstractProtobufList.isMutable:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
public final void makeImmutable();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.google.protobuf.AbstractProtobufList.isMutable:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
public E remove();
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
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
iload 1
invokespecial java.util.AbstractList.remove:(I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 2 1 index I
Signature: (I)TE;
MethodParameters:
Name Flags
index
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
aload 1
invokespecial java.util.AbstractList.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 2 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
aload 1
invokespecial java.util.AbstractList.removeAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 2 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public boolean retainAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
aload 1
invokespecial java.util.AbstractList.retainAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 2 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public E set(int, );
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.protobuf.AbstractProtobufList.ensureIsMutable:()V
1: aload 0
iload 1
aload 2
invokespecial java.util.AbstractList.set:(ILjava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
0 2 1 index I
0 2 2 element TE;
Signature: (ITE;)TE;
MethodParameters:
Name Flags
index
element
protected void ensureIsMutable();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.AbstractProtobufList.isMutable:Z
ifne 2
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/AbstractProtobufList<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractList<TE;>;Lcom/google/protobuf/Internal$ProtobufList<TE;>;
SourceFile: "AbstractProtobufList.java"
InnerClasses:
public abstract ProtobufList = com.google.protobuf.Internal$ProtobufList of com.google.protobuf.Internal