final class com.google.protobuf.RopeByteString$PieceIterator implements java.util.Iterator<com.google.protobuf.ByteString$LeafByteString>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.protobuf.RopeByteString$PieceIterator
super_class: java.lang.Object
{
private final java.util.ArrayDeque<com.google.protobuf.RopeByteString> breadCrumbs;
descriptor: Ljava/util/ArrayDeque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayDeque<Lcom/google/protobuf/RopeByteString;>;
private com.google.protobuf.ByteString$LeafByteString next;
descriptor: Lcom/google/protobuf/ByteString$LeafByteString;
flags: (0x0002) ACC_PRIVATE
private void <init>(com.google.protobuf.ByteString);
descriptor: (Lcom/google/protobuf/ByteString;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
instanceof com.google.protobuf.RopeByteString
ifeq 7
2: aload 1
checkcast com.google.protobuf.RopeByteString
astore 2
start local 2 3: aload 0
new java.util.ArrayDeque
dup
aload 2
invokevirtual com.google.protobuf.RopeByteString.getTreeDepth:()I
invokespecial java.util.ArrayDeque.<init>:(I)V
putfield com.google.protobuf.RopeByteString$PieceIterator.breadCrumbs:Ljava/util/ArrayDeque;
4: aload 0
getfield com.google.protobuf.RopeByteString$PieceIterator.breadCrumbs:Ljava/util/ArrayDeque;
aload 2
invokevirtual java.util.ArrayDeque.push:(Ljava/lang/Object;)V
5: aload 0
aload 0
aload 2
getfield com.google.protobuf.RopeByteString.left:Lcom/google/protobuf/ByteString;
invokevirtual com.google.protobuf.RopeByteString$PieceIterator.getLeafByLeft:(Lcom/google/protobuf/ByteString;)Lcom/google/protobuf/ByteString$LeafByteString;
putfield com.google.protobuf.RopeByteString$PieceIterator.next:Lcom/google/protobuf/ByteString$LeafByteString;
end local 2 6: goto 9
7: StackMap locals: com.google.protobuf.RopeByteString$PieceIterator com.google.protobuf.ByteString
StackMap stack:
aload 0
aconst_null
putfield com.google.protobuf.RopeByteString$PieceIterator.breadCrumbs:Ljava/util/ArrayDeque;
8: aload 0
aload 1
checkcast com.google.protobuf.ByteString$LeafByteString
putfield com.google.protobuf.RopeByteString$PieceIterator.next:Lcom/google/protobuf/ByteString$LeafByteString;
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/protobuf/RopeByteString$PieceIterator;
0 10 1 root Lcom/google/protobuf/ByteString;
3 6 2 rbs Lcom/google/protobuf/RopeByteString;
MethodParameters:
Name Flags
root
private com.google.protobuf.ByteString$LeafByteString getLeafByLeft(com.google.protobuf.ByteString);
descriptor: (Lcom/google/protobuf/ByteString;)Lcom/google/protobuf/ByteString$LeafByteString;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: goto 5
2: StackMap locals: com.google.protobuf.ByteString
StackMap stack:
aload 2
checkcast com.google.protobuf.RopeByteString
astore 3
start local 3 3: aload 0
getfield com.google.protobuf.RopeByteString$PieceIterator.breadCrumbs:Ljava/util/ArrayDeque;
aload 3
invokevirtual java.util.ArrayDeque.push:(Ljava/lang/Object;)V
4: aload 3
getfield com.google.protobuf.RopeByteString.left:Lcom/google/protobuf/ByteString;
astore 2
end local 3 5: StackMap locals:
StackMap stack:
aload 2
instanceof com.google.protobuf.RopeByteString
ifne 2
6: aload 2
checkcast com.google.protobuf.ByteString$LeafByteString
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/RopeByteString$PieceIterator;
0 7 1 root Lcom/google/protobuf/ByteString;
1 7 2 pos Lcom/google/protobuf/ByteString;
3 5 3 rbs Lcom/google/protobuf/RopeByteString;
MethodParameters:
Name Flags
root
private com.google.protobuf.ByteString$LeafByteString getNextNonEmptyLeaf();
descriptor: ()Lcom/google/protobuf/ByteString$LeafByteString;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.RopeByteString$PieceIterator.breadCrumbs:Ljava/util/ArrayDeque;
ifnull 1
aload 0
getfield com.google.protobuf.RopeByteString$PieceIterator.breadCrumbs:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.google.protobuf.RopeByteString$PieceIterator.breadCrumbs:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.pop:()Ljava/lang/Object;
checkcast com.google.protobuf.RopeByteString
getfield com.google.protobuf.RopeByteString.right:Lcom/google/protobuf/ByteString;
invokevirtual com.google.protobuf.RopeByteString$PieceIterator.getLeafByLeft:(Lcom/google/protobuf/ByteString;)Lcom/google/protobuf/ByteString$LeafByteString;
astore 1
start local 1 3: aload 1
invokevirtual com.google.protobuf.ByteString$LeafByteString.isEmpty:()Z
ifne 0
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/RopeByteString$PieceIterator;
3 5 1 result Lcom/google/protobuf/ByteString$LeafByteString;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.RopeByteString$PieceIterator.next:Lcom/google/protobuf/ByteString$LeafByteString;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/RopeByteString$PieceIterator;
public com.google.protobuf.ByteString$LeafByteString next();
descriptor: ()Lcom/google/protobuf/ByteString$LeafByteString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.RopeByteString$PieceIterator.next:Lcom/google/protobuf/ByteString$LeafByteString;
ifnonnull 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.RopeByteString$PieceIterator.next:Lcom/google/protobuf/ByteString$LeafByteString;
astore 1
start local 1 3: aload 0
aload 0
invokevirtual com.google.protobuf.RopeByteString$PieceIterator.getNextNonEmptyLeaf:()Lcom/google/protobuf/ByteString$LeafByteString;
putfield com.google.protobuf.RopeByteString$PieceIterator.next:Lcom/google/protobuf/ByteString$LeafByteString;
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/RopeByteString$PieceIterator;
3 5 1 result Lcom/google/protobuf/ByteString$LeafByteString;
public void remove();
descriptor: ()V
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/RopeByteString$PieceIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.protobuf.RopeByteString$PieceIterator.next:()Lcom/google/protobuf/ByteString$LeafByteString;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Lcom/google/protobuf/ByteString$LeafByteString;>;
SourceFile: "RopeByteString.java"
NestHost: com.google.protobuf.RopeByteString
InnerClasses:
abstract LeafByteString = com.google.protobuf.ByteString$LeafByteString of com.google.protobuf.ByteString
private final PieceIterator = com.google.protobuf.RopeByteString$PieceIterator of com.google.protobuf.RopeByteString