public class org.eclipse.jgit.api.StashListCommand extends org.eclipse.jgit.api.GitCommand<java.util.Collection<org.eclipse.jgit.revwalk.RevCommit>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.api.StashListCommand
super_class: org.eclipse.jgit.api.GitCommand
{
public void <init>(org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/lib/Repository;)V
flags: (0x0001) ACC_PUBLIC
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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/StashListCommand;
0 2 1 repo Lorg/eclipse/jgit/lib/Repository;
MethodParameters:
Name Flags
repo
public java.util.Collection<org.eclipse.jgit.revwalk.RevCommit> call();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.StashListCommand.checkCallable:()V
1: aload 0
getfield org.eclipse.jgit.api.StashListCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "refs/stash"
invokevirtual org.eclipse.jgit.lib.Repository.exactRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
ifnonnull 10
2: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
3: areturn
4: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 5: new org.eclipse.jgit.api.errors.InvalidRefNameException
dup
6: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.cannotRead:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "refs/stash"
aastore
7: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
8: aload 1
9: invokespecial org.eclipse.jgit.api.errors.InvalidRefNameException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 10: StackMap locals:
StackMap stack:
new org.eclipse.jgit.api.ReflogCommand
dup
aload 0
getfield org.eclipse.jgit.api.StashListCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.api.ReflogCommand.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
astore 1
start local 1 11: aload 1
ldc "refs/stash"
invokevirtual org.eclipse.jgit.api.ReflogCommand.setRef:(Ljava/lang/String;)Lorg/eclipse/jgit/api/ReflogCommand;
pop
12: aload 1
invokevirtual org.eclipse.jgit.api.ReflogCommand.call:()Ljava/util/Collection;
astore 2
start local 2 13: aload 2
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 15
14: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
15: StackMap locals: org.eclipse.jgit.api.ReflogCommand java.util.Collection
StackMap stack:
new java.util.ArrayList
dup
16: aload 2
invokeinterface java.util.Collection.size:()I
17: invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 18: aconst_null
astore 4
aconst_null
astore 5
19: new org.eclipse.jgit.revwalk.RevWalk
dup
aload 0
getfield org.eclipse.jgit.api.StashListCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.revwalk.RevWalk.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
astore 6
start local 6 20: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 30
StackMap locals: org.eclipse.jgit.api.StashListCommand org.eclipse.jgit.api.ReflogCommand java.util.Collection java.util.List java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk top java.util.Iterator
StackMap stack:
21: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.lib.ReflogEntry
astore 7
start local 7 22: aload 3
aload 6
aload 7
invokeinterface org.eclipse.jgit.lib.ReflogEntry.getNewId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: goto 30
StackMap locals: org.eclipse.jgit.api.StashListCommand org.eclipse.jgit.api.ReflogCommand java.util.Collection java.util.List java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ReflogEntry java.util.Iterator
StackMap stack: java.io.IOException
24: astore 9
start local 9 25: new org.eclipse.jgit.api.errors.JGitInternalException
dup
26: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.cannotReadCommit:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
invokeinterface org.eclipse.jgit.lib.ReflogEntry.getNewId:()Lorg/eclipse/jgit/lib/ObjectId;
aastore
27: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
28: aload 9
29: invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 end local 7 30: StackMap locals: org.eclipse.jgit.api.StashListCommand org.eclipse.jgit.api.ReflogCommand java.util.Collection java.util.List java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
31: aload 6
ifnull 37
aload 6
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
goto 37
StackMap locals: org.eclipse.jgit.api.StashListCommand org.eclipse.jgit.api.ReflogCommand java.util.Collection java.util.List java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk
StackMap stack: java.lang.Throwable
32: astore 4
aload 6
ifnull 33
aload 6
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 6 StackMap locals:
StackMap stack:
33: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
34: astore 5
aload 4
ifnonnull 35
aload 5
astore 4
goto 36
StackMap locals:
StackMap stack:
35: aload 4
aload 5
if_acmpeq 36
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
36: aload 4
athrow
37: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/eclipse/jgit/api/StashListCommand;
5 10 1 e Ljava/io/IOException;
11 38 1 refLog Lorg/eclipse/jgit/api/ReflogCommand;
13 38 2 stashEntries Ljava/util/Collection<Lorg/eclipse/jgit/lib/ReflogEntry;>;
18 38 3 stashCommits Ljava/util/List<Lorg/eclipse/jgit/revwalk/RevCommit;>;
20 33 6 walk Lorg/eclipse/jgit/revwalk/RevWalk;
22 30 7 entry Lorg/eclipse/jgit/lib/ReflogEntry;
25 30 9 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
22 23 24 Class java.io.IOException
20 31 32 any
19 34 34 any
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.api.errors.InvalidRefNameException
Signature: ()Ljava/util/Collection<Lorg/eclipse/jgit/revwalk/RevCommit;>;
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.StashListCommand.call:()Ljava/util/Collection;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
}
Signature: Lorg/eclipse/jgit/api/GitCommand<Ljava/util/Collection<Lorg/eclipse/jgit/revwalk/RevCommit;>;>;
SourceFile: "StashListCommand.java"