public class org.eclipse.jgit.api.ListNotesCommand extends org.eclipse.jgit.api.GitCommand<java.util.List<org.eclipse.jgit.notes.Note>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.api.ListNotesCommand
super_class: org.eclipse.jgit.api.GitCommand
{
private java.lang.String notesRef;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected void <init>(org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/lib/Repository;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.eclipse.jgit.api.GitCommand.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
1: aload 0
ldc "refs/notes/commits"
putfield org.eclipse.jgit.api.ListNotesCommand.notesRef:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/ListNotesCommand;
0 3 1 repo Lorg/eclipse/jgit/lib/Repository;
MethodParameters:
Name Flags
repo
public java.util.List<org.eclipse.jgit.notes.Note> call();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.ListNotesCommand.checkCallable:()V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 2: invokestatic org.eclipse.jgit.notes.NoteMap.newEmptyMap:()Lorg/eclipse/jgit/notes/NoteMap;
astore 2
start local 2 3: aconst_null
astore 3
aconst_null
astore 4
4: new org.eclipse.jgit.revwalk.RevWalk
dup
aload 0
getfield org.eclipse.jgit.api.ListNotesCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.revwalk.RevWalk.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
astore 5
start local 5 5: aload 0
getfield org.eclipse.jgit.api.ListNotesCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 0
getfield org.eclipse.jgit.api.ListNotesCommand.notesRef:Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.Repository.findRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 6
start local 6 6: aload 6
ifnull 9
7: aload 5
aload 6
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
astore 7
start local 7 8: aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.getObjectReader:()Lorg/eclipse/jgit/lib/ObjectReader;
aload 7
invokestatic org.eclipse.jgit.notes.NoteMap.read:(Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/revwalk/RevCommit;)Lorg/eclipse/jgit/notes/NoteMap;
astore 2
end local 7 9: StackMap locals: org.eclipse.jgit.api.ListNotesCommand java.util.List org.eclipse.jgit.notes.NoteMap java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.Ref
StackMap stack:
aload 2
invokevirtual org.eclipse.jgit.notes.NoteMap.iterator:()Ljava/util/Iterator;
astore 7
start local 7 10: goto 12
11: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.notes.Note
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
end local 7 end local 6 13: aload 5
ifnull 21
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
goto 21
StackMap locals: org.eclipse.jgit.api.ListNotesCommand java.util.List org.eclipse.jgit.notes.NoteMap java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk
StackMap stack: java.lang.Throwable
14: astore 3
aload 5
ifnull 15
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 5 StackMap locals:
StackMap stack:
15: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 4
aload 3
ifnonnull 17
aload 4
astore 3
goto 18
StackMap locals:
StackMap stack:
17: aload 3
aload 4
if_acmpeq 18
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 3
athrow
StackMap locals: org.eclipse.jgit.api.ListNotesCommand java.util.List org.eclipse.jgit.notes.NoteMap
StackMap stack: java.io.IOException
19: astore 3
start local 3 20: new org.eclipse.jgit.api.errors.JGitInternalException
dup
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 3
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 21: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/eclipse/jgit/api/ListNotesCommand;
2 22 1 notes Ljava/util/List<Lorg/eclipse/jgit/notes/Note;>;
3 22 2 map Lorg/eclipse/jgit/notes/NoteMap;
5 15 5 walk Lorg/eclipse/jgit/revwalk/RevWalk;
6 13 6 ref Lorg/eclipse/jgit/lib/Ref;
8 9 7 notesCommit Lorg/eclipse/jgit/revwalk/RevCommit;
10 13 7 i Ljava/util/Iterator<Lorg/eclipse/jgit/notes/Note;>;
20 21 3 e Ljava/io/IOException;
Exception table:
from to target type
5 13 14 any
4 16 16 any
3 19 19 Class java.io.IOException
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
Signature: ()Ljava/util/List<Lorg/eclipse/jgit/notes/Note;>;
public org.eclipse.jgit.api.ListNotesCommand setNotesRef(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/ListNotesCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jgit.api.ListNotesCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.ListNotesCommand.notesRef:Ljava/lang/String;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/ListNotesCommand;
0 3 1 notesRef Ljava/lang/String;
MethodParameters:
Name Flags
notesRef
public java.lang.Object call();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.jgit.api.ListNotesCommand.call:()Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
}
Signature: Lorg/eclipse/jgit/api/GitCommand<Ljava/util/List<Lorg/eclipse/jgit/notes/Note;>;>;
SourceFile: "ListNotesCommand.java"