public class org.eclipse.jgit.api.ShowNoteCommand extends org.eclipse.jgit.api.GitCommand<org.eclipse.jgit.notes.Note>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.api.ShowNoteCommand
super_class: org.eclipse.jgit.api.GitCommand
{
private org.eclipse.jgit.revwalk.RevObject id;
descriptor: Lorg/eclipse/jgit/revwalk/RevObject;
flags: (0x0002) ACC_PRIVATE
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.ShowNoteCommand.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/ShowNoteCommand;
0 3 1 repo Lorg/eclipse/jgit/lib/Repository;
MethodParameters:
Name Flags
repo
public org.eclipse.jgit.notes.Note call();
descriptor: ()Lorg/eclipse/jgit/notes/Note;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.ShowNoteCommand.checkCallable:()V
1: invokestatic org.eclipse.jgit.notes.NoteMap.newEmptyMap:()Lorg/eclipse/jgit/notes/NoteMap;
astore 1
start local 1 2: aconst_null
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.ShowNoteCommand.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.ShowNoteCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 0
getfield org.eclipse.jgit.api.ShowNoteCommand.notesRef:Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.Repository.exactRef:(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 2
8: aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.getObjectReader:()Lorg/eclipse/jgit/lib/ObjectReader;
aload 2
invokestatic org.eclipse.jgit.notes.NoteMap.read:(Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/revwalk/RevCommit;)Lorg/eclipse/jgit/notes/NoteMap;
astore 1
9: StackMap locals: org.eclipse.jgit.api.ShowNoteCommand org.eclipse.jgit.notes.NoteMap org.eclipse.jgit.revwalk.RevCommit java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.Ref
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jgit.api.ShowNoteCommand.id:Lorg/eclipse/jgit/revwalk/RevObject;
invokevirtual org.eclipse.jgit.notes.NoteMap.getNote:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/notes/Note;
10: aload 5
ifnull 11
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
11: StackMap locals:
StackMap stack: org.eclipse.jgit.notes.Note
areturn
end local 6 StackMap locals: org.eclipse.jgit.api.ShowNoteCommand org.eclipse.jgit.notes.NoteMap org.eclipse.jgit.revwalk.RevCommit java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk
StackMap stack: java.lang.Throwable
12: astore 3
13: aload 5
ifnull 14
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 5 StackMap locals:
StackMap stack:
14: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 4
aload 3
ifnonnull 16
aload 4
astore 3
goto 17
StackMap locals:
StackMap stack:
16: aload 3
aload 4
if_acmpeq 17
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 3
athrow
StackMap locals: org.eclipse.jgit.api.ShowNoteCommand org.eclipse.jgit.notes.NoteMap org.eclipse.jgit.revwalk.RevCommit
StackMap stack: java.io.IOException
18: astore 3
start local 3 19: 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 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/eclipse/jgit/api/ShowNoteCommand;
2 20 1 map Lorg/eclipse/jgit/notes/NoteMap;
3 20 2 notesCommit Lorg/eclipse/jgit/revwalk/RevCommit;
5 14 5 walk Lorg/eclipse/jgit/revwalk/RevWalk;
6 12 6 ref Lorg/eclipse/jgit/lib/Ref;
19 20 3 e Ljava/io/IOException;
Exception table:
from to target type
5 10 12 any
4 11 15 any
12 15 15 any
3 11 18 Class java.io.IOException
12 18 18 Class java.io.IOException
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
public org.eclipse.jgit.api.ShowNoteCommand setObjectId(org.eclipse.jgit.revwalk.RevObject);
descriptor: (Lorg/eclipse/jgit/revwalk/RevObject;)Lorg/eclipse/jgit/api/ShowNoteCommand;
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.ShowNoteCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.ShowNoteCommand.id:Lorg/eclipse/jgit/revwalk/RevObject;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/ShowNoteCommand;
0 3 1 id Lorg/eclipse/jgit/revwalk/RevObject;
MethodParameters:
Name Flags
id
public org.eclipse.jgit.api.ShowNoteCommand setNotesRef(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/ShowNoteCommand;
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.ShowNoteCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.ShowNoteCommand.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/ShowNoteCommand;
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.ShowNoteCommand.call:()Lorg/eclipse/jgit/notes/Note;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
}
Signature: Lorg/eclipse/jgit/api/GitCommand<Lorg/eclipse/jgit/notes/Note;>;
SourceFile: "ShowNoteCommand.java"