class org.eclipse.jgit.notes.LeafBucket extends org.eclipse.jgit.notes.InMemoryNoteBucket
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jgit.notes.LeafBucket
super_class: org.eclipse.jgit.notes.InMemoryNoteBucket
{
static final int MAX_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 256
private org.eclipse.jgit.notes.Note[] notes;
descriptor: [Lorg/eclipse/jgit/notes/Note;
flags: (0x0002) ACC_PRIVATE
private int cnt;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial org.eclipse.jgit.notes.InMemoryNoteBucket.<init>:(I)V
1: aload 0
iconst_4
anewarray org.eclipse.jgit.notes.Note
putfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 3 1 prefixLen I
MethodParameters:
Name Flags
prefixLen
private int search(org.eclipse.jgit.lib.AnyObjectId);
descriptor: (Lorg/eclipse/jgit/lib/AnyObjectId;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
istore 3
start local 3 2: goto 10
3: StackMap locals: int int
StackMap stack:
iload 2
iload 3
iadd
iconst_1
iushr
istore 4
start local 4 4: aload 1
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 4
aaload
invokevirtual org.eclipse.jgit.lib.AnyObjectId.compareTo:(Lorg/eclipse/jgit/lib/AnyObjectId;)I
istore 5
start local 5 5: iload 5
ifge 7
6: iload 4
istore 3
goto 10
7: StackMap locals: int int
StackMap stack:
iload 5
ifne 9
8: iload 4
ireturn
9: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
istore 2
end local 5 end local 4 10: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 3
11: iload 2
iconst_1
iadd
ineg
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 12 1 objId Lorg/eclipse/jgit/lib/AnyObjectId;
1 12 2 low I
2 12 3 high I
4 10 4 mid I
5 10 5 cmp I
MethodParameters:
Name Flags
objId
org.eclipse.jgit.notes.Note getNote(org.eclipse.jgit.lib.AnyObjectId, org.eclipse.jgit.lib.ObjectReader);
descriptor: (Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/ObjectReader;)Lorg/eclipse/jgit/notes/Note;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.eclipse.jgit.notes.LeafBucket.search:(Lorg/eclipse/jgit/lib/AnyObjectId;)I
istore 3
start local 3 1: iload 3
iflt 2
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 3
aaload
goto 3
StackMap locals: int
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: org.eclipse.jgit.notes.Note
3: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 4 1 objId Lorg/eclipse/jgit/lib/AnyObjectId;
0 4 2 or Lorg/eclipse/jgit/lib/ObjectReader;
1 4 3 idx I
MethodParameters:
Name Flags
objId
or
org.eclipse.jgit.notes.Note get(int);
descriptor: (I)Lorg/eclipse/jgit/notes/Note;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 1 1 index I
MethodParameters:
Name Flags
index
int size();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/notes/LeafBucket;
java.util.Iterator<org.eclipse.jgit.notes.Note> iterator(org.eclipse.jgit.lib.AnyObjectId, org.eclipse.jgit.lib.ObjectReader);
descriptor: (Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/ObjectReader;)Ljava/util/Iterator;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.eclipse.jgit.notes.LeafBucket$1
dup
aload 0
invokespecial org.eclipse.jgit.notes.LeafBucket$1.<init>:(Lorg/eclipse/jgit/notes/LeafBucket;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 1 1 objId Lorg/eclipse/jgit/lib/AnyObjectId;
0 1 2 reader Lorg/eclipse/jgit/lib/ObjectReader;
Signature: (Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/ObjectReader;)Ljava/util/Iterator<Lorg/eclipse/jgit/notes/Note;>;
MethodParameters:
Name Flags
objId
reader
int estimateSize(org.eclipse.jgit.lib.AnyObjectId, org.eclipse.jgit.lib.ObjectReader);
descriptor: (Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/ObjectReader;)I
flags: (0x0000)
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 1 1 noteOn Lorg/eclipse/jgit/lib/AnyObjectId;
0 1 2 or Lorg/eclipse/jgit/lib/ObjectReader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
noteOn
or
org.eclipse.jgit.notes.InMemoryNoteBucket set(org.eclipse.jgit.lib.AnyObjectId, org.eclipse.jgit.lib.AnyObjectId, org.eclipse.jgit.lib.ObjectReader);
descriptor: (Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/ObjectReader;)Lorg/eclipse/jgit/notes/InMemoryNoteBucket;
flags: (0x0000)
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.eclipse.jgit.notes.LeafBucket.search:(Lorg/eclipse/jgit/lib/AnyObjectId;)I
istore 4
start local 4 1: iload 4
iflt 10
2: aload 2
ifnull 5
3: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 4
aaload
aload 2
invokevirtual org.eclipse.jgit.lib.AnyObjectId.copy:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.notes.Note.setData:(Lorg/eclipse/jgit/lib/ObjectId;)V
4: aload 0
areturn
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 4
iconst_1
iadd
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 4
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
iload 4
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
dup
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
iconst_1
isub
putfield org.eclipse.jgit.notes.LeafBucket.cnt:I
7: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
ifle 8
aload 0
goto 9
StackMap locals:
StackMap stack:
8: aconst_null
StackMap locals:
StackMap stack: org.eclipse.jgit.notes.LeafBucket
9: areturn
10: StackMap locals:
StackMap stack:
aload 2
ifnull 20
11: aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.shouldSplit:()Z
ifeq 13
12: aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.split:()Lorg/eclipse/jgit/notes/FanoutBucket;
aload 1
aload 2
aload 3
invokevirtual org.eclipse.jgit.notes.FanoutBucket.set:(Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/ObjectReader;)Lorg/eclipse/jgit/notes/InMemoryNoteBucket;
areturn
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.growIfFull:()V
14: iload 4
iconst_1
iadd
ineg
istore 4
15: iload 4
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
if_icmpge 17
16: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 4
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 4
iconst_1
iadd
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
iload 4
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 4
new org.eclipse.jgit.notes.Note
dup
aload 1
aload 2
invokevirtual org.eclipse.jgit.lib.AnyObjectId.copy:()Lorg/eclipse/jgit/lib/ObjectId;
invokespecial org.eclipse.jgit.notes.Note.<init>:(Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/ObjectId;)V
aastore
18: aload 0
dup
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
iconst_1
iadd
putfield org.eclipse.jgit.notes.LeafBucket.cnt:I
19: aload 0
areturn
20: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 21 1 noteOn Lorg/eclipse/jgit/lib/AnyObjectId;
0 21 2 noteData Lorg/eclipse/jgit/lib/AnyObjectId;
0 21 3 or Lorg/eclipse/jgit/lib/ObjectReader;
1 21 4 p I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
noteOn
noteData
or
org.eclipse.jgit.lib.ObjectId writeTree(org.eclipse.jgit.lib.ObjectInserter);
descriptor: (Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.build:()Lorg/eclipse/jgit/lib/TreeFormatter;
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(Lorg/eclipse/jgit/lib/TreeFormatter;)Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 1 1 inserter Lorg/eclipse/jgit/lib/ObjectInserter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inserter
org.eclipse.jgit.lib.ObjectId getTreeId();
descriptor: ()Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new org.eclipse.jgit.lib.ObjectInserter$Formatter
dup
invokespecial org.eclipse.jgit.lib.ObjectInserter$Formatter.<init>:()V
astore 3
start local 3 2: aload 3
aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.build:()Lorg/eclipse/jgit/lib/TreeFormatter;
invokevirtual org.eclipse.jgit.lib.ObjectInserter$Formatter.idFor:(Lorg/eclipse/jgit/lib/TreeFormatter;)Lorg/eclipse/jgit/lib/ObjectId;
3: aload 3
ifnull 4
aload 3
invokevirtual org.eclipse.jgit.lib.ObjectInserter$Formatter.close:()V
4: StackMap locals: org.eclipse.jgit.notes.LeafBucket java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter$Formatter
StackMap stack: org.eclipse.jgit.lib.ObjectId
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: aload 3
ifnull 7
aload 3
invokevirtual org.eclipse.jgit.lib.ObjectInserter$Formatter.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jgit/notes/LeafBucket;
2 7 3 f Lorg/eclipse/jgit/lib/ObjectInserter$Formatter;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
private org.eclipse.jgit.lib.TreeFormatter build();
descriptor: ()Lorg/eclipse/jgit/lib/TreeFormatter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: bipush 40
newarray 8
astore 1
start local 1 1: bipush 40
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.prefixLen:I
isub
istore 2
start local 2 2: new org.eclipse.jgit.lib.TreeFormatter
dup
aload 0
iload 2
invokevirtual org.eclipse.jgit.notes.LeafBucket.treeSize:(I)I
invokespecial org.eclipse.jgit.lib.TreeFormatter.<init>:(I)V
astore 3
start local 3 3: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.nonNotes:Lorg/eclipse/jgit/notes/NonNoteEntry;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 16
6: StackMap locals: org.eclipse.jgit.notes.LeafBucket byte[] int org.eclipse.jgit.lib.TreeFormatter org.eclipse.jgit.notes.NonNoteEntry int
StackMap stack:
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 5
aaload
astore 6
start local 6 7: aload 6
aload 1
iconst_0
invokevirtual org.eclipse.jgit.notes.Note.copyTo:([BI)V
8: goto 11
9: StackMap locals: org.eclipse.jgit.notes.Note
StackMap stack:
aload 4
aload 3
invokevirtual org.eclipse.jgit.notes.NonNoteEntry.format:(Lorg/eclipse/jgit/lib/TreeFormatter;)V
10: aload 4
getfield org.eclipse.jgit.notes.NonNoteEntry.next:Lorg/eclipse/jgit/notes/NonNoteEntry;
astore 4
11: StackMap locals:
StackMap stack:
aload 4
ifnull 14
12: aload 4
aload 1
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.prefixLen:I
iload 2
getstatic org.eclipse.jgit.lib.FileMode.REGULAR_FILE:Lorg/eclipse/jgit/lib/FileMode;
invokevirtual org.eclipse.jgit.notes.NonNoteEntry.pathCompare:([BIILorg/eclipse/jgit/lib/FileMode;)I
13: iflt 9
14: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.prefixLen:I
iload 2
getstatic org.eclipse.jgit.lib.FileMode.REGULAR_FILE:Lorg/eclipse/jgit/lib/FileMode;
aload 6
invokevirtual org.eclipse.jgit.notes.Note.getData:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.TreeFormatter.append:([BIILorg/eclipse/jgit/lib/FileMode;Lorg/eclipse/jgit/lib/AnyObjectId;)V
end local 6 15: iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
if_icmplt 6
end local 5 17: goto 20
18: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual org.eclipse.jgit.notes.NonNoteEntry.format:(Lorg/eclipse/jgit/lib/TreeFormatter;)V
19: aload 4
getfield org.eclipse.jgit.notes.NonNoteEntry.next:Lorg/eclipse/jgit/notes/NonNoteEntry;
astore 4
StackMap locals:
StackMap stack:
20: aload 4
ifnonnull 18
21: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/eclipse/jgit/notes/LeafBucket;
1 22 1 nameBuf [B
2 22 2 nameLen I
3 22 3 fmt Lorg/eclipse/jgit/lib/TreeFormatter;
4 22 4 e Lorg/eclipse/jgit/notes/NonNoteEntry;
5 17 5 i I
7 15 6 n Lorg/eclipse/jgit/notes/Note;
private int treeSize(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
getstatic org.eclipse.jgit.lib.FileMode.REGULAR_FILE:Lorg/eclipse/jgit/lib/FileMode;
iload 1
invokestatic org.eclipse.jgit.lib.TreeFormatter.entrySize:(Lorg/eclipse/jgit/lib/FileMode;I)I
imul
istore 2
start local 2 1: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.nonNotes:Lorg/eclipse/jgit/notes/NonNoteEntry;
astore 3
start local 3 2: goto 5
3: StackMap locals: int org.eclipse.jgit.notes.NonNoteEntry
StackMap stack:
iload 2
aload 3
invokevirtual org.eclipse.jgit.notes.NonNoteEntry.treeEntrySize:()I
iadd
istore 2
4: aload 3
getfield org.eclipse.jgit.notes.NonNoteEntry.next:Lorg/eclipse/jgit/notes/NonNoteEntry;
astore 3
StackMap locals:
StackMap stack:
5: aload 3
ifnonnull 3
end local 3 6: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 7 1 nameLen I
1 7 2 sz I
2 6 3 e Lorg/eclipse/jgit/notes/NonNoteEntry;
MethodParameters:
Name Flags
nameLen
void parseOneEntry(org.eclipse.jgit.lib.AnyObjectId, org.eclipse.jgit.lib.AnyObjectId);
descriptor: (Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/AnyObjectId;)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.growIfFull:()V
1: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
aload 0
dup
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
dup_x1
iconst_1
iadd
putfield org.eclipse.jgit.notes.LeafBucket.cnt:I
new org.eclipse.jgit.notes.Note
dup
aload 1
aload 2
invokevirtual org.eclipse.jgit.lib.AnyObjectId.copy:()Lorg/eclipse/jgit/lib/ObjectId;
invokespecial org.eclipse.jgit.notes.Note.<init>:(Lorg/eclipse/jgit/lib/AnyObjectId;Lorg/eclipse/jgit/lib/ObjectId;)V
aastore
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 3 1 noteOn Lorg/eclipse/jgit/lib/AnyObjectId;
0 3 2 noteData Lorg/eclipse/jgit/lib/AnyObjectId;
MethodParameters:
Name Flags
noteOn
noteData
org.eclipse.jgit.notes.InMemoryNoteBucket append(org.eclipse.jgit.notes.Note);
descriptor: (Lorg/eclipse/jgit/notes/Note;)Lorg/eclipse/jgit/notes/InMemoryNoteBucket;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.shouldSplit:()Z
ifeq 2
1: aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.split:()Lorg/eclipse/jgit/notes/FanoutBucket;
aload 1
invokevirtual org.eclipse.jgit.notes.FanoutBucket.append:(Lorg/eclipse/jgit/notes/Note;)Lorg/eclipse/jgit/notes/InMemoryNoteBucket;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.notes.LeafBucket.growIfFull:()V
3: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
aload 0
dup
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
dup_x1
iconst_1
iadd
putfield org.eclipse.jgit.notes.LeafBucket.cnt:I
aload 1
aastore
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/notes/LeafBucket;
0 5 1 note Lorg/eclipse/jgit/notes/Note;
MethodParameters:
Name Flags
note
private void growIfFull();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
arraylength
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
if_icmpne 4
1: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
arraylength
iconst_2
imul
anewarray org.eclipse.jgit.notes.Note
astore 1
start local 1 2: aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iconst_0
aload 1
iconst_0
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 1
putfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/notes/LeafBucket;
2 4 1 n [Lorg/eclipse/jgit/notes/Note;
private boolean shouldSplit();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: sipush 256
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
if_icmpgt 1
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.prefixLen:I
iconst_2
iadd
bipush 40
if_icmpge 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 Lorg/eclipse/jgit/notes/LeafBucket;
org.eclipse.jgit.notes.FanoutBucket split();
descriptor: ()Lorg/eclipse/jgit/notes/FanoutBucket;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: new org.eclipse.jgit.notes.FanoutBucket
dup
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.prefixLen:I
invokespecial org.eclipse.jgit.notes.FanoutBucket.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: org.eclipse.jgit.notes.FanoutBucket int
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.notes:[Lorg/eclipse/jgit/notes/Note;
iload 2
aaload
invokevirtual org.eclipse.jgit.notes.FanoutBucket.append:(Lorg/eclipse/jgit/notes/Note;)Lorg/eclipse/jgit/notes/InMemoryNoteBucket;
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.cnt:I
if_icmplt 3
end local 2 6: aload 1
aload 0
getfield org.eclipse.jgit.notes.LeafBucket.nonNotes:Lorg/eclipse/jgit/notes/NonNoteEntry;
putfield org.eclipse.jgit.notes.FanoutBucket.nonNotes:Lorg/eclipse/jgit/notes/NonNoteEntry;
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jgit/notes/LeafBucket;
1 8 1 n Lorg/eclipse/jgit/notes/FanoutBucket;
2 6 2 i I
}
SourceFile: "LeafBucket.java"
NestMembers:
org.eclipse.jgit.notes.LeafBucket$1
InnerClasses:
public Formatter = org.eclipse.jgit.lib.ObjectInserter$Formatter of org.eclipse.jgit.lib.ObjectInserter
org.eclipse.jgit.notes.LeafBucket$1