public class org.eclipse.jgit.api.StashCreateCommand extends org.eclipse.jgit.api.GitCommand<org.eclipse.jgit.revwalk.RevCommit>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.api.StashCreateCommand
super_class: org.eclipse.jgit.api.GitCommand
{
private static final java.lang.String MSG_INDEX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "index on {0}: {1} {2}"
private static final java.lang.String MSG_UNTRACKED;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "untracked files on {0}: {1} {2}"
private static final java.lang.String MSG_WORKING_DIR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "WIP on {0}: {1} {2}"
private java.lang.String indexMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String workingDirectoryMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ref;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jgit.lib.PersonIdent person;
descriptor: Lorg/eclipse/jgit/lib/PersonIdent;
flags: (0x0002) ACC_PRIVATE
private boolean includeUntracked;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/lib/Repository;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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 "index on {0}: {1} {2}"
putfield org.eclipse.jgit.api.StashCreateCommand.indexMessage:Ljava/lang/String;
2: aload 0
ldc "WIP on {0}: {1} {2}"
putfield org.eclipse.jgit.api.StashCreateCommand.workingDirectoryMessage:Ljava/lang/String;
3: aload 0
ldc "refs/stash"
putfield org.eclipse.jgit.api.StashCreateCommand.ref:Ljava/lang/String;
4: aload 0
new org.eclipse.jgit.lib.PersonIdent
dup
aload 1
invokespecial org.eclipse.jgit.lib.PersonIdent.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
putfield org.eclipse.jgit.api.StashCreateCommand.person:Lorg/eclipse/jgit/lib/PersonIdent;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
0 6 1 repo Lorg/eclipse/jgit/lib/Repository;
MethodParameters:
Name Flags
repo
public org.eclipse.jgit.api.StashCreateCommand setIndexMessage(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/StashCreateCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.api.StashCreateCommand.indexMessage:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public org.eclipse.jgit.api.StashCreateCommand setWorkingDirectoryMessage(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/StashCreateCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.api.StashCreateCommand.workingDirectoryMessage:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public org.eclipse.jgit.api.StashCreateCommand setPerson(org.eclipse.jgit.lib.PersonIdent);
descriptor: (Lorg/eclipse/jgit/lib/PersonIdent;)Lorg/eclipse/jgit/api/StashCreateCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.api.StashCreateCommand.person:Lorg/eclipse/jgit/lib/PersonIdent;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
0 2 1 person Lorg/eclipse/jgit/lib/PersonIdent;
MethodParameters:
Name Flags
person
public org.eclipse.jgit.api.StashCreateCommand setRef(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/StashCreateCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.api.StashCreateCommand.ref:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
0 2 1 ref Ljava/lang/String;
MethodParameters:
Name Flags
ref
public org.eclipse.jgit.api.StashCreateCommand setIncludeUntracked(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/StashCreateCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jgit.api.StashCreateCommand.includeUntracked:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
0 2 1 includeUntracked Z
MethodParameters:
Name Flags
includeUntracked
private org.eclipse.jgit.revwalk.RevCommit parseCommit(org.eclipse.jgit.lib.ObjectReader, org.eclipse.jgit.lib.ObjectId);
descriptor: (Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: new org.eclipse.jgit.revwalk.RevWalk
dup
aload 1
invokespecial org.eclipse.jgit.revwalk.RevWalk.<init>:(Lorg/eclipse/jgit/lib/ObjectReader;)V
astore 5
start local 5 2: aload 5
aload 2
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
3: aload 5
ifnull 4
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
4: StackMap locals: org.eclipse.jgit.api.StashCreateCommand org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.lib.ObjectId java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk
StackMap stack: org.eclipse.jgit.revwalk.RevCommit
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 3
6: aload 5
ifnull 7
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 5 StackMap locals:
StackMap stack:
7: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 4
aload 3
ifnonnull 9
aload 4
astore 3
goto 10
StackMap locals:
StackMap stack:
9: aload 3
aload 4
if_acmpeq 10
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
0 11 1 reader Lorg/eclipse/jgit/lib/ObjectReader;
0 11 2 headId Lorg/eclipse/jgit/lib/ObjectId;
2 7 5 walk Lorg/eclipse/jgit/revwalk/RevWalk;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reader final
headId final
private org.eclipse.jgit.lib.CommitBuilder createBuilder();
descriptor: ()Lorg/eclipse/jgit/lib/CommitBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: new org.eclipse.jgit.lib.CommitBuilder
dup
invokespecial org.eclipse.jgit.lib.CommitBuilder.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.person:Lorg/eclipse/jgit/lib/PersonIdent;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: new org.eclipse.jgit.lib.PersonIdent
dup
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.lib.PersonIdent.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
astore 2
4: StackMap locals: org.eclipse.jgit.lib.CommitBuilder org.eclipse.jgit.lib.PersonIdent
StackMap stack:
aload 1
aload 2
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setAuthor:(Lorg/eclipse/jgit/lib/PersonIdent;)V
5: aload 1
aload 2
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setCommitter:(Lorg/eclipse/jgit/lib/PersonIdent;)V
6: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
1 7 1 builder Lorg/eclipse/jgit/lib/CommitBuilder;
2 7 2 author Lorg/eclipse/jgit/lib/PersonIdent;
private void updateStashRef(org.eclipse.jgit.lib.ObjectId, org.eclipse.jgit.lib.PersonIdent, java.lang.String);
descriptor: (Lorg/eclipse/jgit/lib/ObjectId;Lorg/eclipse/jgit/lib/PersonIdent;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.ref:Ljava/lang/String;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.ref:Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.Repository.findRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 4
start local 4 3: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.ref:Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.Repository.updateRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/RefUpdate;
astore 5
start local 5 4: aload 5
aload 1
invokevirtual org.eclipse.jgit.lib.RefUpdate.setNewObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
5: aload 5
aload 2
invokevirtual org.eclipse.jgit.lib.RefUpdate.setRefLogIdent:(Lorg/eclipse/jgit/lib/PersonIdent;)V
6: aload 5
aload 3
iconst_0
invokevirtual org.eclipse.jgit.lib.RefUpdate.setRefLogMessage:(Ljava/lang/String;Z)V
7: aload 5
iconst_1
invokevirtual org.eclipse.jgit.lib.RefUpdate.setForceRefLog:(Z)V
8: aload 4
ifnull 10
9: aload 5
aload 4
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.RefUpdate.setExpectedOldObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
goto 11
10: StackMap locals: org.eclipse.jgit.lib.Ref org.eclipse.jgit.lib.RefUpdate
StackMap stack:
aload 5
invokestatic org.eclipse.jgit.lib.ObjectId.zeroId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.RefUpdate.setExpectedOldObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
11: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.eclipse.jgit.lib.RefUpdate.forceUpdate:()Lorg/eclipse/jgit/lib/RefUpdate$Result;
pop
12: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
0 13 1 commitId Lorg/eclipse/jgit/lib/ObjectId;
0 13 2 refLogIdent Lorg/eclipse/jgit/lib/PersonIdent;
0 13 3 refLogMessage Ljava/lang/String;
3 13 4 currentRef Lorg/eclipse/jgit/lib/Ref;
4 13 5 refUpdate Lorg/eclipse/jgit/lib/RefUpdate;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
commitId
refLogIdent
refLogMessage
private org.eclipse.jgit.lib.Ref getHead();
descriptor: ()Lorg/eclipse/jgit/lib/Ref;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "HEAD"
invokevirtual org.eclipse.jgit.lib.Repository.exactRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
ifnonnull 3
2: StackMap locals: org.eclipse.jgit.lib.Ref
StackMap stack:
new org.eclipse.jgit.api.errors.NoHeadException
dup
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.headRequiredToStash:Ljava/lang/String;
invokespecial org.eclipse.jgit.api.errors.NoHeadException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
4: areturn
end local 1 5: StackMap locals: org.eclipse.jgit.api.StashCreateCommand
StackMap stack: java.io.IOException
astore 1
start local 1 6: new org.eclipse.jgit.api.errors.JGitInternalException
dup
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.stashFailed:Ljava/lang/String;
aload 1
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
1 5 1 head Lorg/eclipse/jgit/lib/Ref;
6 7 1 e Ljava/io/IOException;
Exception table:
from to target type
0 4 5 Class java.io.IOException
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
public org.eclipse.jgit.revwalk.RevCommit call();
descriptor: ()Lorg/eclipse/jgit/revwalk/RevCommit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=30, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.StashCreateCommand.checkCallable:()V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 2: aload 0
invokevirtual org.eclipse.jgit.api.StashCreateCommand.getHead:()Lorg/eclipse/jgit/lib/Ref;
astore 2
start local 2 3: aconst_null
astore 3
aconst_null
astore 4
4: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.newObjectReader:()Lorg/eclipse/jgit/lib/ObjectReader;
astore 5
start local 5 5: aload 0
aload 5
aload 2
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.api.StashCreateCommand.parseCommit:(Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
astore 6
start local 6 6: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.lockDirCache:()Lorg/eclipse/jgit/dircache/DirCache;
astore 7
start local 7 7: aconst_null
astore 9
aconst_null
astore 10
8: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.newObjectInserter:()Lorg/eclipse/jgit/lib/ObjectInserter;
astore 11
start local 11 9: new org.eclipse.jgit.treewalk.TreeWalk
dup
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 5
invokespecial org.eclipse.jgit.treewalk.TreeWalk.<init>:(Lorg/eclipse/jgit/lib/Repository;Lorg/eclipse/jgit/lib/ObjectReader;)V
astore 12
start local 12 10: aload 12
iconst_1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.setRecursive:(Z)V
11: aload 12
aload 6
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getTree:()Lorg/eclipse/jgit/revwalk/RevTree;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.addTree:(Lorg/eclipse/jgit/lib/AnyObjectId;)I
pop
12: aload 12
new org.eclipse.jgit.dircache.DirCacheIterator
dup
aload 7
invokespecial org.eclipse.jgit.dircache.DirCacheIterator.<init>:(Lorg/eclipse/jgit/dircache/DirCache;)V
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.addTree:(Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;)I
pop
13: aload 12
new org.eclipse.jgit.treewalk.FileTreeIterator
dup
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.treewalk.FileTreeIterator.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.addTree:(Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;)I
pop
14: aload 12
iconst_2
ldc Lorg/eclipse/jgit/treewalk/FileTreeIterator;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getTree:(ILjava/lang/Class;)Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;
checkcast org.eclipse.jgit.treewalk.FileTreeIterator
15: aload 12
iconst_1
invokevirtual org.eclipse.jgit.treewalk.FileTreeIterator.setDirCacheIterator:(Lorg/eclipse/jgit/treewalk/TreeWalk;I)V
16: aload 12
new org.eclipse.jgit.treewalk.filter.SkipWorkTreeFilter
dup
17: iconst_1
invokespecial org.eclipse.jgit.treewalk.filter.SkipWorkTreeFilter.<init>:(I)V
new org.eclipse.jgit.treewalk.filter.IndexDiffFilter
dup
iconst_1
iconst_2
invokespecial org.eclipse.jgit.treewalk.filter.IndexDiffFilter.<init>:(II)V
18: invokestatic org.eclipse.jgit.treewalk.filter.AndTreeFilter.create:(Lorg/eclipse/jgit/treewalk/filter/TreeFilter;Lorg/eclipse/jgit/treewalk/filter/TreeFilter;)Lorg/eclipse/jgit/treewalk/filter/TreeFilter;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.setFilter:(Lorg/eclipse/jgit/treewalk/filter/TreeFilter;)V
19: aload 12
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.next:()Z
ifne 29
20: aload 12
ifnull 21
aload 12
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.close:()V
StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk
StackMap stack:
21: aload 11
ifnull 22
aload 11
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
22: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.eclipse.jgit.dircache.DirCache.unlock:()V
23: aload 5
ifnull 24
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectReader.close:()V
24: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 28
25: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
26: new org.eclipse.jgit.events.WorkingTreeModifiedEvent
dup
aconst_null
aload 1
invokespecial org.eclipse.jgit.events.WorkingTreeModifiedEvent.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
27: invokevirtual org.eclipse.jgit.lib.Repository.fireEvent:(Lorg/eclipse/jgit/events/RepositoryEvent;)V
28: StackMap locals:
StackMap stack:
aconst_null
areturn
29: StackMap locals:
StackMap stack:
new org.eclipse.jgit.lib.MutableObjectId
dup
invokespecial org.eclipse.jgit.lib.MutableObjectId.<init>:()V
astore 13
start local 13 30: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 14
start local 14 31: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 15
start local 15 32: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 16
start local 16 33: iconst_0
istore 17
start local 17 34: StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.lib.MutableObjectId java.util.List java.util.List java.util.List int
StackMap stack:
aload 12
iconst_0
35: ldc Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;
36: invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getTree:(ILjava/lang/Class;)Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;
astore 18
start local 18 37: aload 12
iconst_1
38: ldc Lorg/eclipse/jgit/dircache/DirCacheIterator;
39: invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getTree:(ILjava/lang/Class;)Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;
checkcast org.eclipse.jgit.dircache.DirCacheIterator
astore 19
start local 19 40: aload 12
iconst_2
41: ldc Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
42: invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getTree:(ILjava/lang/Class;)Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;
checkcast org.eclipse.jgit.treewalk.WorkingTreeIterator
astore 20
start local 20 43: aload 19
ifnull 50
44: aload 19
invokevirtual org.eclipse.jgit.dircache.DirCacheIterator.getDirCacheEntry:()Lorg/eclipse/jgit/dircache/DirCacheEntry;
invokevirtual org.eclipse.jgit.dircache.DirCacheEntry.isMerged:()Z
ifne 50
45: new org.eclipse.jgit.api.errors.UnmergedPathsException
dup
46: new org.eclipse.jgit.errors.UnmergedPathException
dup
47: aload 19
invokevirtual org.eclipse.jgit.dircache.DirCacheIterator.getDirCacheEntry:()Lorg/eclipse/jgit/dircache/DirCacheEntry;
48: invokespecial org.eclipse.jgit.errors.UnmergedPathException.<init>:(Lorg/eclipse/jgit/dircache/DirCacheEntry;)V
49: invokespecial org.eclipse.jgit.api.errors.UnmergedPathsException.<init>:(Ljava/lang/Throwable;)V
athrow
50: StackMap locals: org.eclipse.jgit.treewalk.AbstractTreeIterator org.eclipse.jgit.dircache.DirCacheIterator org.eclipse.jgit.treewalk.WorkingTreeIterator
StackMap stack:
aload 20
ifnull 83
51: aload 19
ifnonnull 54
aload 18
ifnonnull 54
52: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.includeUntracked:Z
ifne 54
53: goto 86
54: StackMap locals:
StackMap stack:
iconst_1
istore 17
55: aload 19
ifnull 57
aload 20
aload 19
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.idEqual:(Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;)Z
ifeq 57
56: goto 86
57: StackMap locals:
StackMap stack:
aload 18
ifnull 59
aload 20
aload 18
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.idEqual:(Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;)Z
ifeq 59
58: goto 86
59: StackMap locals:
StackMap stack:
aload 12
aload 13
iconst_0
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getObjectId:(Lorg/eclipse/jgit/lib/MutableObjectId;I)V
60: new org.eclipse.jgit.dircache.DirCacheEntry
dup
61: aload 12
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getRawPath:()[B
62: invokespecial org.eclipse.jgit.dircache.DirCacheEntry.<init>:([B)V
astore 21
start local 21 63: aload 21
aload 20
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.getEntryLength:()J
invokevirtual org.eclipse.jgit.dircache.DirCacheEntry.setLength:(J)V
64: aload 21
65: aload 20
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.getEntryLastModifiedInstant:()Ljava/time/Instant;
66: invokevirtual org.eclipse.jgit.dircache.DirCacheEntry.setLastModified:(Ljava/time/Instant;)V
67: aload 21
aload 20
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.getEntryFileMode:()Lorg/eclipse/jgit/lib/FileMode;
invokevirtual org.eclipse.jgit.dircache.DirCacheEntry.setFileMode:(Lorg/eclipse/jgit/lib/FileMode;)V
68: aload 20
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.getEntryContentLength:()J
lstore 22
start local 22 69: aconst_null
astore 24
aconst_null
astore 25
70: aload 20
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.openEntryStream:()Ljava/io/InputStream;
astore 26
start local 26 71: aload 21
aload 11
72: iconst_3
lload 22
aload 26
73: invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(IJLjava/io/InputStream;)Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.dircache.DirCacheEntry.setObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
74: aload 26
ifnull 80
aload 26
invokevirtual java.io.InputStream.close:()V
goto 80
StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.lib.MutableObjectId java.util.List java.util.List java.util.List int org.eclipse.jgit.treewalk.AbstractTreeIterator org.eclipse.jgit.dircache.DirCacheIterator org.eclipse.jgit.treewalk.WorkingTreeIterator org.eclipse.jgit.dircache.DirCacheEntry long java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
75: astore 24
aload 26
ifnull 76
aload 26
invokevirtual java.io.InputStream.close:()V
end local 26 StackMap locals:
StackMap stack:
76: aload 24
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
77: astore 25
aload 24
ifnonnull 78
aload 25
astore 24
goto 79
StackMap locals:
StackMap stack:
78: aload 24
aload 25
if_acmpeq 79
aload 24
aload 25
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
79: aload 24
athrow
80: StackMap locals:
StackMap stack:
aload 19
ifnonnull 82
aload 18
ifnonnull 82
81: aload 16
aload 21
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
goto 83
82: StackMap locals:
StackMap stack:
aload 14
new org.eclipse.jgit.api.StashCreateCommand$1
dup
aload 0
aload 21
aload 21
invokespecial org.eclipse.jgit.api.StashCreateCommand$1.<init>:(Lorg/eclipse/jgit/api/StashCreateCommand;Lorg/eclipse/jgit/dircache/DirCacheEntry;Lorg/eclipse/jgit/dircache/DirCacheEntry;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 22 end local 21 83: StackMap locals:
StackMap stack:
iconst_1
istore 17
84: aload 20
ifnonnull 86
aload 18
ifnull 86
85: aload 15
aload 12
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getPathString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 20 end local 19 end local 18 86: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.next:()Z
ifne 34
87: iload 17
ifne 97
88: aload 12
ifnull 89
aload 12
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.close:()V
StackMap locals:
StackMap stack:
89: aload 11
ifnull 90
aload 11
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
90: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.eclipse.jgit.dircache.DirCache.unlock:()V
91: aload 5
ifnull 92
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectReader.close:()V
92: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 96
93: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
94: new org.eclipse.jgit.events.WorkingTreeModifiedEvent
dup
aconst_null
aload 1
invokespecial org.eclipse.jgit.events.WorkingTreeModifiedEvent.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
95: invokevirtual org.eclipse.jgit.lib.Repository.fireEvent:(Lorg/eclipse/jgit/events/RepositoryEvent;)V
96: StackMap locals:
StackMap stack:
aconst_null
areturn
97: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.eclipse.jgit.lib.Ref.getTarget:()Lorg/eclipse/jgit/lib/Ref;
98: invokeinterface org.eclipse.jgit.lib.Ref.getName:()Ljava/lang/String;
99: invokestatic org.eclipse.jgit.lib.Repository.shortenRefName:(Ljava/lang/String;)Ljava/lang/String;
astore 18
start local 18 100: aload 0
invokevirtual org.eclipse.jgit.api.StashCreateCommand.createBuilder:()Lorg/eclipse/jgit/lib/CommitBuilder;
astore 19
start local 19 101: aload 19
aload 6
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setParentId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
102: aload 19
aload 7
aload 11
invokevirtual org.eclipse.jgit.dircache.DirCache.writeTree:(Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setTreeId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
103: aload 19
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.indexMessage:Ljava/lang/String;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 18
aastore
dup
iconst_1
104: aload 6
bipush 7
invokevirtual org.eclipse.jgit.revwalk.RevCommit.abbreviate:(I)Lorg/eclipse/jgit/lib/AbbreviatedObjectId;
invokevirtual org.eclipse.jgit.lib.AbbreviatedObjectId.name:()Ljava/lang/String;
aastore
dup
iconst_2
105: aload 6
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getShortMessage:()Ljava/lang/String;
aastore
106: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setMessage:(Ljava/lang/String;)V
107: aload 11
aload 19
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(Lorg/eclipse/jgit/lib/CommitBuilder;)Lorg/eclipse/jgit/lib/ObjectId;
astore 20
start local 20 108: aconst_null
astore 21
start local 21 109: aload 16
invokeinterface java.util.List.isEmpty:()Z
ifne 126
110: invokestatic org.eclipse.jgit.dircache.DirCache.newInCore:()Lorg/eclipse/jgit/dircache/DirCache;
astore 22
start local 22 111: aload 22
112: invokevirtual org.eclipse.jgit.dircache.DirCache.builder:()Lorg/eclipse/jgit/dircache/DirCacheBuilder;
113: astore 23
start local 23 114: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 25
goto 117
StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.lib.MutableObjectId java.util.List java.util.List java.util.List int java.lang.String org.eclipse.jgit.lib.CommitBuilder org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.dircache.DirCacheBuilder top java.util.Iterator
StackMap stack:
115: aload 25
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.dircache.DirCacheEntry
astore 24
start local 24 116: aload 23
aload 24
invokevirtual org.eclipse.jgit.dircache.DirCacheBuilder.add:(Lorg/eclipse/jgit/dircache/DirCacheEntry;)V
end local 24 117: StackMap locals:
StackMap stack:
aload 25
invokeinterface java.util.Iterator.hasNext:()Z
ifne 115
118: aload 23
invokevirtual org.eclipse.jgit.dircache.DirCacheBuilder.finish:()V
119: aload 19
iconst_0
anewarray org.eclipse.jgit.lib.ObjectId
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setParentIds:([Lorg/eclipse/jgit/lib/ObjectId;)V
120: aload 19
aload 22
aload 11
invokevirtual org.eclipse.jgit.dircache.DirCache.writeTree:(Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setTreeId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
121: aload 19
ldc "untracked files on {0}: {1} {2}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
122: aload 18
aastore
dup
iconst_1
aload 6
bipush 7
invokevirtual org.eclipse.jgit.revwalk.RevCommit.abbreviate:(I)Lorg/eclipse/jgit/lib/AbbreviatedObjectId;
invokevirtual org.eclipse.jgit.lib.AbbreviatedObjectId.name:()Ljava/lang/String;
aastore
dup
iconst_2
123: aload 6
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getShortMessage:()Ljava/lang/String;
aastore
124: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setMessage:(Ljava/lang/String;)V
125: aload 11
aload 19
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(Lorg/eclipse/jgit/lib/CommitBuilder;)Lorg/eclipse/jgit/lib/ObjectId;
astore 21
end local 23 end local 22 126: StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.lib.MutableObjectId java.util.List java.util.List java.util.List int java.lang.String org.eclipse.jgit.lib.CommitBuilder org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.lib.ObjectId
StackMap stack:
aload 14
invokeinterface java.util.List.isEmpty:()Z
ifeq 127
aload 15
invokeinterface java.util.List.isEmpty:()Z
ifne 137
127: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.eclipse.jgit.dircache.DirCache.editor:()Lorg/eclipse/jgit/dircache/DirCacheEditor;
astore 22
start local 22 128: aload 14
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 24
goto 131
StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.lib.MutableObjectId java.util.List java.util.List java.util.List int java.lang.String org.eclipse.jgit.lib.CommitBuilder org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.dircache.DirCacheEditor top java.util.Iterator
StackMap stack:
129: aload 24
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.dircache.DirCacheEditor$PathEdit
astore 23
start local 23 130: aload 22
aload 23
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.add:(Lorg/eclipse/jgit/dircache/DirCacheEditor$PathEdit;)V
end local 23 131: StackMap locals:
StackMap stack:
aload 24
invokeinterface java.util.Iterator.hasNext:()Z
ifne 129
132: aload 15
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 24
goto 135
StackMap locals:
StackMap stack:
133: aload 24
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 23
start local 23 134: aload 22
new org.eclipse.jgit.dircache.DirCacheEditor$DeletePath
dup
aload 23
invokespecial org.eclipse.jgit.dircache.DirCacheEditor$DeletePath.<init>:(Ljava/lang/String;)V
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.add:(Lorg/eclipse/jgit/dircache/DirCacheEditor$PathEdit;)V
end local 23 135: StackMap locals:
StackMap stack:
aload 24
invokeinterface java.util.Iterator.hasNext:()Z
ifne 133
136: aload 22
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.finish:()V
end local 22 137: StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.lib.MutableObjectId java.util.List java.util.List java.util.List int java.lang.String org.eclipse.jgit.lib.CommitBuilder org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.lib.ObjectId
StackMap stack:
aload 19
aload 6
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setParentId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
138: aload 19
aload 20
invokevirtual org.eclipse.jgit.lib.CommitBuilder.addParentId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
139: aload 21
ifnull 141
140: aload 19
aload 21
invokevirtual org.eclipse.jgit.lib.CommitBuilder.addParentId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
141: StackMap locals:
StackMap stack:
aload 19
142: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.workingDirectoryMessage:Ljava/lang/String;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 18
aastore
dup
iconst_1
143: aload 6
bipush 7
invokevirtual org.eclipse.jgit.revwalk.RevCommit.abbreviate:(I)Lorg/eclipse/jgit/lib/AbbreviatedObjectId;
invokevirtual org.eclipse.jgit.lib.AbbreviatedObjectId.name:()Ljava/lang/String;
aastore
dup
iconst_2
144: aload 6
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getShortMessage:()Ljava/lang/String;
aastore
145: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setMessage:(Ljava/lang/String;)V
146: aload 19
aload 7
aload 11
invokevirtual org.eclipse.jgit.dircache.DirCache.writeTree:(Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setTreeId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
147: aload 11
aload 19
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(Lorg/eclipse/jgit/lib/CommitBuilder;)Lorg/eclipse/jgit/lib/ObjectId;
astore 8
start local 8 148: aload 11
invokevirtual org.eclipse.jgit.lib.ObjectInserter.flush:()V
149: aload 0
aload 8
aload 19
invokevirtual org.eclipse.jgit.lib.CommitBuilder.getAuthor:()Lorg/eclipse/jgit/lib/PersonIdent;
150: aload 19
invokevirtual org.eclipse.jgit.lib.CommitBuilder.getMessage:()Ljava/lang/String;
151: invokevirtual org.eclipse.jgit.api.StashCreateCommand.updateStashRef:(Lorg/eclipse/jgit/lib/ObjectId;Lorg/eclipse/jgit/lib/PersonIdent;Ljava/lang/String;)V
152: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.includeUntracked:Z
ifeq 162
153: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 23
goto 161
StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.lib.ObjectId java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.lib.MutableObjectId java.util.List java.util.List java.util.List int java.lang.String org.eclipse.jgit.lib.CommitBuilder org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.lib.ObjectId top java.util.Iterator
StackMap stack:
154: aload 23
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.dircache.DirCacheEntry
astore 22
start local 22 155: aload 22
invokevirtual org.eclipse.jgit.dircache.DirCacheEntry.getPathString:()Ljava/lang/String;
astore 24
start local 24 156: new java.io.File
dup
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.getWorkTree:()Ljava/io/File;
157: aload 24
158: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 25
start local 25 159: aload 25
invokestatic org.eclipse.jgit.util.FileUtils.delete:(Ljava/io/File;)V
160: aload 1
aload 24
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 25 end local 24 end local 22 161: StackMap locals:
StackMap stack:
aload 23
invokeinterface java.util.Iterator.hasNext:()Z
ifne 154
end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 162: StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.lib.ObjectId java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk
StackMap stack:
aload 12
ifnull 165
aload 12
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.close:()V
goto 165
end local 8 StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.treewalk.TreeWalk
StackMap stack: java.lang.Throwable
163: astore 9
aload 12
ifnull 164
aload 12
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.close:()V
end local 12 StackMap locals:
StackMap stack:
164: aload 9
athrow
start local 8 StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.lib.ObjectId java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter
StackMap stack:
165: aload 11
ifnull 176
aload 11
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
goto 176
end local 8 StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache top java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter
StackMap stack: java.lang.Throwable
166: astore 10
aload 9
ifnonnull 167
aload 10
astore 9
goto 168
StackMap locals:
StackMap stack:
167: aload 9
aload 10
if_acmpeq 168
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
168: aload 11
ifnull 169
aload 11
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
end local 11 StackMap locals:
StackMap stack:
169: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
170: astore 10
aload 9
ifnonnull 171
aload 10
astore 9
goto 172
StackMap locals:
StackMap stack:
171: aload 9
aload 10
if_acmpeq 172
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
172: aload 9
athrow
StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache
StackMap stack: java.lang.Throwable
173: astore 27
174: aload 7
invokevirtual org.eclipse.jgit.dircache.DirCache.unlock:()V
175: aload 27
athrow
start local 8 176: StackMap locals: org.eclipse.jgit.lib.ObjectId
StackMap stack:
aload 7
invokevirtual org.eclipse.jgit.dircache.DirCache.unlock:()V
177: new org.eclipse.jgit.api.ResetCommand
dup
aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.api.ResetCommand.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
getstatic org.eclipse.jgit.api.ResetCommand$ResetType.HARD:Lorg/eclipse/jgit/api/ResetCommand$ResetType;
invokevirtual org.eclipse.jgit.api.ResetCommand.setMode:(Lorg/eclipse/jgit/api/ResetCommand$ResetType;)Lorg/eclipse/jgit/api/ResetCommand;
invokevirtual org.eclipse.jgit.api.ResetCommand.call:()Lorg/eclipse/jgit/lib/Ref;
pop
178: aload 0
aload 5
aload 8
invokevirtual org.eclipse.jgit.api.StashCreateCommand.parseCommit:(Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
astore 29
179: aload 5
ifnull 180
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectReader.close:()V
180: StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.lib.ObjectId top top top top top top top top top top top top top top top top top top top top org.eclipse.jgit.revwalk.RevCommit
StackMap stack:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 184
181: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
182: new org.eclipse.jgit.events.WorkingTreeModifiedEvent
dup
aconst_null
aload 1
invokespecial org.eclipse.jgit.events.WorkingTreeModifiedEvent.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
183: invokevirtual org.eclipse.jgit.lib.Repository.fireEvent:(Lorg/eclipse/jgit/events/RepositoryEvent;)V
184: StackMap locals:
StackMap stack:
aload 29
areturn
end local 8 end local 7 end local 6 StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectReader
StackMap stack: java.lang.Throwable
185: astore 3
186: aload 5
ifnull 187
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectReader.close:()V
end local 5 StackMap locals:
StackMap stack:
187: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
188: astore 4
aload 3
ifnonnull 189
aload 4
astore 3
goto 190
StackMap locals:
StackMap stack:
189: aload 3
aload 4
if_acmpeq 190
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
190: aload 3
athrow
StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref
StackMap stack: java.io.IOException
191: astore 3
start local 3 192: new org.eclipse.jgit.api.errors.JGitInternalException
dup
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.stashFailed:Ljava/lang/String;
aload 3
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 193: StackMap locals:
StackMap stack: java.lang.Throwable
astore 28
194: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 198
195: aload 0
getfield org.eclipse.jgit.api.StashCreateCommand.repo:Lorg/eclipse/jgit/lib/Repository;
196: new org.eclipse.jgit.events.WorkingTreeModifiedEvent
dup
aconst_null
aload 1
invokespecial org.eclipse.jgit.events.WorkingTreeModifiedEvent.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
197: invokevirtual org.eclipse.jgit.lib.Repository.fireEvent:(Lorg/eclipse/jgit/events/RepositoryEvent;)V
198: StackMap locals: org.eclipse.jgit.api.StashCreateCommand java.util.List org.eclipse.jgit.lib.Ref top top top top top top top top top top top top top top top top top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 28
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 199 0 this Lorg/eclipse/jgit/api/StashCreateCommand;
2 199 1 deletedFiles Ljava/util/List<Ljava/lang/String;>;
3 199 2 head Lorg/eclipse/jgit/lib/Ref;
5 187 5 reader Lorg/eclipse/jgit/lib/ObjectReader;
6 185 6 headCommit Lorg/eclipse/jgit/revwalk/RevCommit;
7 185 7 cache Lorg/eclipse/jgit/dircache/DirCache;
148 163 8 commitId Lorg/eclipse/jgit/lib/ObjectId;
165 166 8 commitId Lorg/eclipse/jgit/lib/ObjectId;
176 185 8 commitId Lorg/eclipse/jgit/lib/ObjectId;
9 169 11 inserter Lorg/eclipse/jgit/lib/ObjectInserter;
10 164 12 treeWalk Lorg/eclipse/jgit/treewalk/TreeWalk;
30 162 13 id Lorg/eclipse/jgit/lib/MutableObjectId;
31 162 14 wtEdits Ljava/util/List<Lorg/eclipse/jgit/dircache/DirCacheEditor$PathEdit;>;
32 162 15 wtDeletes Ljava/util/List<Ljava/lang/String;>;
33 162 16 untracked Ljava/util/List<Lorg/eclipse/jgit/dircache/DirCacheEntry;>;
34 162 17 hasChanges Z
37 86 18 headIter Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;
40 86 19 indexIter Lorg/eclipse/jgit/dircache/DirCacheIterator;
43 86 20 wtIter Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
63 83 21 entry Lorg/eclipse/jgit/dircache/DirCacheEntry;
69 83 22 contentLength J
71 76 26 in Ljava/io/InputStream;
100 162 18 branch Ljava/lang/String;
101 162 19 builder Lorg/eclipse/jgit/lib/CommitBuilder;
108 162 20 indexCommit Lorg/eclipse/jgit/lib/ObjectId;
109 162 21 untrackedCommit Lorg/eclipse/jgit/lib/ObjectId;
111 126 22 untrackedDirCache Lorg/eclipse/jgit/dircache/DirCache;
114 126 23 untrackedBuilder Lorg/eclipse/jgit/dircache/DirCacheBuilder;
116 117 24 entry Lorg/eclipse/jgit/dircache/DirCacheEntry;
128 137 22 editor Lorg/eclipse/jgit/dircache/DirCacheEditor;
130 131 23 edit Lorg/eclipse/jgit/dircache/DirCacheEditor$PathEdit;
134 135 23 path Ljava/lang/String;
155 161 22 entry Lorg/eclipse/jgit/dircache/DirCacheEntry;
156 161 24 repoRelativePath Ljava/lang/String;
159 161 25 file Ljava/io/File;
192 193 3 e Ljava/io/IOException;
Exception table:
from to target type
71 74 75 any
70 77 77 any
10 20 163 any
29 88 163 any
97 162 163 any
9 21 166 any
29 89 166 any
97 165 166 any
8 22 170 any
29 90 170 any
97 170 170 any
7 22 173 any
29 90 173 any
97 173 173 any
5 23 185 any
29 91 185 any
97 179 185 any
4 24 188 any
29 92 188 any
97 180 188 any
185 188 188 any
3 24 191 Class java.io.IOException
29 92 191 Class java.io.IOException
97 180 191 Class java.io.IOException
185 191 191 Class java.io.IOException
3 24 193 any
29 92 193 any
97 180 193 any
185 193 193 any
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
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.StashCreateCommand.call:()Lorg/eclipse/jgit/revwalk/RevCommit;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
}
Signature: Lorg/eclipse/jgit/api/GitCommand<Lorg/eclipse/jgit/revwalk/RevCommit;>;
SourceFile: "StashCreateCommand.java"
NestMembers:
org.eclipse.jgit.api.StashCreateCommand$1
InnerClasses:
public final ResetType = org.eclipse.jgit.api.ResetCommand$ResetType of org.eclipse.jgit.api.ResetCommand
org.eclipse.jgit.api.StashCreateCommand$1
public final DeletePath = org.eclipse.jgit.dircache.DirCacheEditor$DeletePath of org.eclipse.jgit.dircache.DirCacheEditor
public abstract PathEdit = org.eclipse.jgit.dircache.DirCacheEditor$PathEdit of org.eclipse.jgit.dircache.DirCacheEditor
public final Result = org.eclipse.jgit.lib.RefUpdate$Result of org.eclipse.jgit.lib.RefUpdate