public class org.eclipse.jgit.api.StashDropCommand extends org.eclipse.jgit.api.GitCommand<org.eclipse.jgit.lib.ObjectId>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.api.StashDropCommand
super_class: org.eclipse.jgit.api.GitCommand
{
private int stashRefEntry;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean all;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$org$eclipse$jgit$lib$RefUpdate$Result;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/lib/Repository;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 1
invokevirtual org.eclipse.jgit.lib.Repository.getRefDatabase:()Lorg/eclipse/jgit/lib/RefDatabase;
instanceof org.eclipse.jgit.internal.storage.file.RefDirectory
ifne 5
2: new java.lang.UnsupportedOperationException
dup
3: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.stashDropNotSupported:Ljava/lang/String;
4: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.eclipse.jgit.api.StashDropCommand org.eclipse.jgit.lib.Repository
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/api/StashDropCommand;
0 6 1 repo Lorg/eclipse/jgit/lib/Repository;
MethodParameters:
Name Flags
repo
public org.eclipse.jgit.api.StashDropCommand setStashRef(int);
descriptor: (I)Lorg/eclipse/jgit/api/StashDropCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.eclipse.jgit.api.StashDropCommand.stashRefEntry:I
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/api/StashDropCommand;
0 4 1 stashRef I
MethodParameters:
Name Flags
stashRef
public org.eclipse.jgit.api.StashDropCommand setAll(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/StashDropCommand;
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.StashDropCommand.all: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/StashDropCommand;
0 2 1 all Z
MethodParameters:
Name Flags
all
private org.eclipse.jgit.lib.Ref getRef();
descriptor: ()Lorg/eclipse/jgit/lib/Ref;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.api.StashDropCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "refs/stash"
invokevirtual org.eclipse.jgit.lib.Repository.exactRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new org.eclipse.jgit.api.errors.InvalidRefNameException
dup
4: 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
5: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: aload 1
7: invokespecial org.eclipse.jgit.api.errors.InvalidRefNameException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jgit/api/StashDropCommand;
3 8 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
private org.eclipse.jgit.lib.RefUpdate createRefUpdate(org.eclipse.jgit.lib.Ref);
descriptor: (Lorg/eclipse/jgit/lib/Ref;)Lorg/eclipse/jgit/lib/RefUpdate;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.api.StashDropCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "refs/stash"
invokevirtual org.eclipse.jgit.lib.Repository.updateRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/RefUpdate;
astore 2
start local 2 1: aload 2
invokevirtual org.eclipse.jgit.lib.RefUpdate.disableRefLog:()V
2: aload 2
aload 1
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
3: aload 2
iconst_1
invokevirtual org.eclipse.jgit.lib.RefUpdate.setForceUpdate:(Z)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/api/StashDropCommand;
0 5 1 stashRef Lorg/eclipse/jgit/lib/Ref;
1 5 2 update Lorg/eclipse/jgit/lib/RefUpdate;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stashRef
private void deleteRef(org.eclipse.jgit.lib.Ref);
descriptor: (Lorg/eclipse/jgit/lib/Ref;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.jgit.api.StashDropCommand.createRefUpdate:(Lorg/eclipse/jgit/lib/Ref;)Lorg/eclipse/jgit/lib/RefUpdate;
invokevirtual org.eclipse.jgit.lib.RefUpdate.delete:()Lorg/eclipse/jgit/lib/RefUpdate$Result;
astore 2
start local 2 1: getstatic org.eclipse.jgit.lib.RefUpdate$Result.FORCED:Lorg/eclipse/jgit/lib/RefUpdate$Result;
aload 2
if_acmpeq 7
2: new org.eclipse.jgit.api.errors.JGitInternalException
dup
3: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.stashDropDeleteRefFailed:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
4: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;)V
athrow
end local 2 5: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 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.stashDropFailed:Ljava/lang/String;
aload 2
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jgit/api/StashDropCommand;
0 8 1 stashRef Lorg/eclipse/jgit/lib/Ref;
1 5 2 result Lorg/eclipse/jgit/lib/RefUpdate$Result;
6 7 2 e Ljava/io/IOException;
Exception table:
from to target type
0 5 5 Class java.io.IOException
MethodParameters:
Name Flags
stashRef
private void updateRef(org.eclipse.jgit.lib.Ref, org.eclipse.jgit.lib.ObjectId);
descriptor: (Lorg/eclipse/jgit/lib/Ref;Lorg/eclipse/jgit/lib/ObjectId;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.eclipse.jgit.api.StashDropCommand.createRefUpdate:(Lorg/eclipse/jgit/lib/Ref;)Lorg/eclipse/jgit/lib/RefUpdate;
astore 3
start local 3 1: aload 3
aload 2
invokevirtual org.eclipse.jgit.lib.RefUpdate.setNewObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
2: aload 3
invokevirtual org.eclipse.jgit.lib.RefUpdate.update:()Lorg/eclipse/jgit/lib/RefUpdate$Result;
astore 4
start local 4 3: invokestatic org.eclipse.jgit.api.StashDropCommand.$SWITCH_TABLE$org$eclipse$jgit$lib$RefUpdate$Result:()[I
aload 4
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
iaload
tableswitch { // 3 - 5
3: 4
4: 4
5: 4
default: 5
}
4: StackMap locals: org.eclipse.jgit.lib.RefUpdate org.eclipse.jgit.lib.RefUpdate$Result
StackMap stack:
return
5: StackMap locals:
StackMap stack:
new org.eclipse.jgit.api.errors.JGitInternalException
dup
6: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.updatingRefFailed:Ljava/lang/String;
iconst_3
anewarray java.lang.Object
dup
iconst_0
ldc "refs/stash"
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
7: aload 4
aastore
8: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 9: StackMap locals: org.eclipse.jgit.api.StashDropCommand org.eclipse.jgit.lib.Ref org.eclipse.jgit.lib.ObjectId
StackMap stack: java.io.IOException
astore 3
start local 3 10: 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.stashDropFailed: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 11 0 this Lorg/eclipse/jgit/api/StashDropCommand;
0 11 1 stashRef Lorg/eclipse/jgit/lib/Ref;
0 11 2 newId Lorg/eclipse/jgit/lib/ObjectId;
1 9 3 update Lorg/eclipse/jgit/lib/RefUpdate;
3 9 4 result Lorg/eclipse/jgit/lib/RefUpdate$Result;
10 11 3 e Ljava/io/IOException;
Exception table:
from to target type
0 4 9 Class java.io.IOException
5 9 9 Class java.io.IOException
MethodParameters:
Name Flags
stashRef
newId
public org.eclipse.jgit.lib.ObjectId call();
descriptor: ()Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.StashDropCommand.checkCallable:()V
1: aload 0
invokevirtual org.eclipse.jgit.api.StashDropCommand.getRef:()Lorg/eclipse/jgit/lib/Ref;
astore 1
start local 1 2: aload 1
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: org.eclipse.jgit.lib.Ref
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.StashDropCommand.all:Z
ifeq 7
5: aload 0
aload 1
invokevirtual org.eclipse.jgit.api.StashDropCommand.deleteRef:(Lorg/eclipse/jgit/lib/Ref;)V
6: aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.StashDropCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "refs/stash"
invokevirtual org.eclipse.jgit.lib.Repository.getReflogReader:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/ReflogReader;
astore 3
start local 3 8: aload 3
ifnonnull 12
9: new org.eclipse.jgit.api.errors.RefNotFoundException
dup
10: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.refNotResolved:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
11: invokespecial org.eclipse.jgit.api.errors.RefNotFoundException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: org.eclipse.jgit.api.StashDropCommand org.eclipse.jgit.lib.Ref top org.eclipse.jgit.lib.ReflogReader
StackMap stack:
aload 3
invokeinterface org.eclipse.jgit.lib.ReflogReader.getReverseEntries:()Ljava/util/List;
astore 2
end local 3 start local 2 13: goto 16
end local 2 StackMap locals: org.eclipse.jgit.api.StashDropCommand org.eclipse.jgit.lib.Ref
StackMap stack: java.io.IOException
14: astore 3
start local 3 15: 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.stashDropFailed:Ljava/lang/String;
aload 3
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 16: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.StashDropCommand.stashRefEntry:I
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 20
17: new org.eclipse.jgit.api.errors.JGitInternalException
dup
18: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.stashDropMissingReflog:Ljava/lang/String;
19: invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 23
21: aload 0
aload 1
invokevirtual org.eclipse.jgit.api.StashDropCommand.deleteRef:(Lorg/eclipse/jgit/lib/Ref;)V
22: aconst_null
areturn
23: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.StashDropCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.getRefDatabase:()Lorg/eclipse/jgit/lib/RefDatabase;
checkcast org.eclipse.jgit.internal.storage.file.RefDirectory
astore 3
start local 3 24: new org.eclipse.jgit.internal.storage.file.ReflogWriter
dup
aload 3
iconst_1
invokespecial org.eclipse.jgit.internal.storage.file.ReflogWriter.<init>:(Lorg/eclipse/jgit/internal/storage/file/RefDirectory;Z)V
astore 4
start local 4 25: ldc "refs/stash"
invokestatic org.eclipse.jgit.internal.storage.file.ReflogWriter.refLockFor:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 26: aload 3
aload 5
invokevirtual org.eclipse.jgit.internal.storage.file.RefDirectory.logFor:(Ljava/lang/String;)Ljava/io/File;
astore 6
start local 6 27: aload 3
ldc "refs/stash"
invokevirtual org.eclipse.jgit.internal.storage.file.RefDirectory.logFor:(Ljava/lang/String;)Ljava/io/File;
astore 7
start local 7 28: aload 6
invokevirtual java.io.File.exists:()Z
ifeq 32
29: 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.stashDropFailed:Ljava/lang/String;
30: new org.eclipse.jgit.errors.LockFailedException
dup
aload 7
invokespecial org.eclipse.jgit.errors.LockFailedException.<init>:(Ljava/io/File;)V
31: invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
32: StackMap locals: org.eclipse.jgit.api.StashDropCommand org.eclipse.jgit.lib.Ref java.util.List org.eclipse.jgit.internal.storage.file.RefDirectory org.eclipse.jgit.internal.storage.file.ReflogWriter java.lang.String java.io.File java.io.File
StackMap stack:
aload 2
aload 0
getfield org.eclipse.jgit.api.StashDropCommand.stashRefEntry:I
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
33: invokestatic org.eclipse.jgit.lib.ObjectId.zeroId:()Lorg/eclipse/jgit/lib/ObjectId;
astore 8
start local 8 34: aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 9
start local 9 35: goto 42
36: StackMap locals: org.eclipse.jgit.lib.ObjectId int
StackMap stack:
aload 2
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.eclipse.jgit.lib.ReflogEntry
astore 10
start local 10 37: aload 4
aload 5
aload 8
aload 10
invokeinterface org.eclipse.jgit.lib.ReflogEntry.getNewId:()Lorg/eclipse/jgit/lib/ObjectId;
38: aload 10
invokeinterface org.eclipse.jgit.lib.ReflogEntry.getWho:()Lorg/eclipse/jgit/lib/PersonIdent;
aload 10
invokeinterface org.eclipse.jgit.lib.ReflogEntry.getComment:()Ljava/lang/String;
39: invokevirtual org.eclipse.jgit.internal.storage.file.ReflogWriter.log:(Ljava/lang/String;Lorg/eclipse/jgit/lib/ObjectId;Lorg/eclipse/jgit/lib/ObjectId;Lorg/eclipse/jgit/lib/PersonIdent;Ljava/lang/String;)Lorg/eclipse/jgit/internal/storage/file/ReflogWriter;
pop
40: aload 10
invokeinterface org.eclipse.jgit.lib.ReflogEntry.getNewId:()Lorg/eclipse/jgit/lib/ObjectId;
astore 8
end local 10 41: iinc 9 -1
StackMap locals:
StackMap stack:
42: iload 9
ifge 36
end local 9 43: aload 6
aload 7
iconst_1
anewarray java.nio.file.CopyOption
dup
iconst_0
44: getstatic java.nio.file.StandardCopyOption.ATOMIC_MOVE:Ljava/nio/file/StandardCopyOption;
aastore
45: invokestatic org.eclipse.jgit.util.FileUtils.rename:(Ljava/io/File;Ljava/io/File;[Ljava/nio/file/CopyOption;)V
46: goto 56
StackMap locals: org.eclipse.jgit.api.StashDropCommand org.eclipse.jgit.lib.Ref java.util.List org.eclipse.jgit.internal.storage.file.RefDirectory org.eclipse.jgit.internal.storage.file.ReflogWriter java.lang.String java.io.File java.io.File org.eclipse.jgit.lib.ObjectId
StackMap stack: java.io.IOException
47: astore 9
start local 9 48: new org.eclipse.jgit.api.errors.JGitInternalException
dup
49: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.renameFileFailed:Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
50: aload 6
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aastore
dup
iconst_1
aload 7
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aastore
51: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
52: aload 9
53: invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 54: StackMap locals:
StackMap stack: java.io.IOException
astore 9
start local 9 55: 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.stashDropFailed:Ljava/lang/String;
aload 9
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 56: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 8
invokevirtual org.eclipse.jgit.api.StashDropCommand.updateRef:(Lorg/eclipse/jgit/lib/Ref;Lorg/eclipse/jgit/lib/ObjectId;)V
57: aload 0
getfield org.eclipse.jgit.api.StashDropCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "refs/stash"
invokevirtual org.eclipse.jgit.lib.Repository.exactRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 9
start local 9 58: aload 9
ifnull 59
aload 9
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
goto 60
StackMap locals: org.eclipse.jgit.lib.Ref
StackMap stack:
59: aconst_null
StackMap locals:
StackMap stack: org.eclipse.jgit.lib.ObjectId
60: areturn
end local 9 61: StackMap locals: org.eclipse.jgit.api.StashDropCommand org.eclipse.jgit.lib.Ref java.util.List org.eclipse.jgit.internal.storage.file.RefDirectory org.eclipse.jgit.internal.storage.file.ReflogWriter java.lang.String java.io.File java.io.File org.eclipse.jgit.lib.ObjectId
StackMap stack: java.io.IOException
astore 9
start local 9 62: new org.eclipse.jgit.api.errors.InvalidRefNameException
dup
63: 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
64: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
65: aload 9
66: invokespecial org.eclipse.jgit.api.errors.InvalidRefNameException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 end local 8 end local 7 end local 6 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 67 0 this Lorg/eclipse/jgit/api/StashDropCommand;
2 67 1 stashRef Lorg/eclipse/jgit/lib/Ref;
13 14 2 entries Ljava/util/List<Lorg/eclipse/jgit/lib/ReflogEntry;>;
16 67 2 entries Ljava/util/List<Lorg/eclipse/jgit/lib/ReflogEntry;>;
8 13 3 reader Lorg/eclipse/jgit/lib/ReflogReader;
15 16 3 e Ljava/io/IOException;
24 67 3 refdb Lorg/eclipse/jgit/internal/storage/file/RefDirectory;
25 67 4 writer Lorg/eclipse/jgit/internal/storage/file/ReflogWriter;
26 67 5 stashLockRef Ljava/lang/String;
27 67 6 stashLockFile Ljava/io/File;
28 67 7 stashFile Ljava/io/File;
34 67 8 entryId Lorg/eclipse/jgit/lib/ObjectId;
35 43 9 i I
37 41 10 entry Lorg/eclipse/jgit/lib/ReflogEntry;
48 54 9 e Ljava/io/IOException;
55 56 9 e Ljava/io/IOException;
58 61 9 newStashRef Lorg/eclipse/jgit/lib/Ref;
62 67 9 e Ljava/io/IOException;
Exception table:
from to target type
7 13 14 Class java.io.IOException
43 46 47 Class java.io.IOException
34 54 54 Class java.io.IOException
57 60 61 Class java.io.IOException
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.StashDropCommand.call:()Lorg/eclipse/jgit/lib/ObjectId;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
static int[] $SWITCH_TABLE$org$eclipse$jgit$lib$RefUpdate$Result();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jgit.api.StashDropCommand.$SWITCH_TABLE$org$eclipse$jgit$lib$RefUpdate$Result:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jgit.lib.RefUpdate$Result.values:()[Lorg/eclipse/jgit/lib/RefUpdate$Result;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.FAST_FORWARD:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
bipush 6
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.FORCED:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
iconst_5
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.IO_FAILURE:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
bipush 9
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.LOCK_FAILURE:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.NEW:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.NOT_ATTEMPTED:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
iconst_1
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.NO_CHANGE:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
iconst_3
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.REJECTED:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
bipush 7
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.REJECTED_CURRENT_BRANCH:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
bipush 8
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.REJECTED_MISSING_OBJECT:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
bipush 11
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.REJECTED_OTHER_REASON:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
bipush 12
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic org.eclipse.jgit.lib.RefUpdate$Result.RENAMED:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
bipush 10
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
dup
putstatic org.eclipse.jgit.api.StashDropCommand.$SWITCH_TABLE$org$eclipse$jgit$lib$RefUpdate$Result:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
}
Signature: Lorg/eclipse/jgit/api/GitCommand<Lorg/eclipse/jgit/lib/ObjectId;>;
SourceFile: "StashDropCommand.java"
InnerClasses:
public final Result = org.eclipse.jgit.lib.RefUpdate$Result of org.eclipse.jgit.lib.RefUpdate