public class org.eclipse.jgit.api.CheckoutCommand extends org.eclipse.jgit.api.GitCommand<org.eclipse.jgit.lib.Ref>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.api.CheckoutCommand
super_class: org.eclipse.jgit.api.GitCommand
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean forceRefUpdate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean forced;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean createBranch;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean orphan;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jgit.api.CreateBranchCommand$SetupUpstreamMode upstreamMode;
descriptor: Lorg/eclipse/jgit/api/CreateBranchCommand$SetupUpstreamMode;
flags: (0x0002) ACC_PRIVATE
private java.lang.String startPoint;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jgit.revwalk.RevCommit startCommit;
descriptor: Lorg/eclipse/jgit/revwalk/RevCommit;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jgit.api.CheckoutCommand$Stage checkoutStage;
descriptor: Lorg/eclipse/jgit/api/CheckoutCommand$Stage;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jgit.api.CheckoutResult status;
descriptor: Lorg/eclipse/jgit/api/CheckoutResult;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.String> paths;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private boolean checkoutAllPaths;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Set<java.lang.String> actuallyModifiedPaths;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
private org.eclipse.jgit.lib.ProgressMonitor monitor;
descriptor: Lorg/eclipse/jgit/lib/ProgressMonitor;
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
protected void <init>(org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/lib/Repository;)V
flags: (0x0004) ACC_PROTECTED
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 0
iconst_0
putfield org.eclipse.jgit.api.CheckoutCommand.forceRefUpdate:Z
2: aload 0
iconst_0
putfield org.eclipse.jgit.api.CheckoutCommand.forced:Z
3: aload 0
iconst_0
putfield org.eclipse.jgit.api.CheckoutCommand.createBranch:Z
4: aload 0
iconst_0
putfield org.eclipse.jgit.api.CheckoutCommand.orphan:Z
5: aload 0
aconst_null
putfield org.eclipse.jgit.api.CheckoutCommand.startPoint:Ljava/lang/String;
6: aload 0
aconst_null
putfield org.eclipse.jgit.api.CheckoutCommand.checkoutStage:Lorg/eclipse/jgit/api/CheckoutCommand$Stage;
7: aload 0
getstatic org.eclipse.jgit.lib.NullProgressMonitor.INSTANCE:Lorg/eclipse/jgit/lib/NullProgressMonitor;
putfield org.eclipse.jgit.api.CheckoutCommand.monitor:Lorg/eclipse/jgit/lib/ProgressMonitor;
8: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield org.eclipse.jgit.api.CheckoutCommand.paths:Ljava/util/List;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 10 1 repo Lorg/eclipse/jgit/lib/Repository;
MethodParameters:
Name Flags
repo
public org.eclipse.jgit.lib.Ref call();
descriptor: ()Lorg/eclipse/jgit/lib/Ref;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=17, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.checkCallable:()V
1: aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.processOptions:()V
2: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.checkoutAllPaths:Z
ifne 3
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.paths:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 9
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.checkoutPaths:()Lorg/eclipse/jgit/api/CheckoutCommand;
pop
4: aload 0
new org.eclipse.jgit.api.CheckoutResult
dup
getstatic org.eclipse.jgit.api.CheckoutResult$Status.OK:Lorg/eclipse/jgit/api/CheckoutResult$Status;
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.paths:Ljava/util/List;
invokespecial org.eclipse.jgit.api.CheckoutResult.<init>:(Lorg/eclipse/jgit/api/CheckoutResult$Status;Ljava/util/List;)V
putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
5: aload 0
iconst_0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.setCallable:(Z)V
6: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
ifnonnull 8
7: aload 0
getstatic org.eclipse.jgit.api.CheckoutResult.ERROR_RESULT:Lorg/eclipse/jgit/api/CheckoutResult;
putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
8: StackMap locals:
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.createBranch:Z
ifeq 26
10: aconst_null
astore 1
aconst_null
astore 2
11: new org.eclipse.jgit.api.Git
dup
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.api.Git.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
astore 3
start local 3 12: aload 3
invokevirtual org.eclipse.jgit.api.Git.branchCreate:()Lorg/eclipse/jgit/api/CreateBranchCommand;
astore 4
start local 4 13: aload 4
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
invokevirtual org.eclipse.jgit.api.CreateBranchCommand.setName:(Ljava/lang/String;)Lorg/eclipse/jgit/api/CreateBranchCommand;
pop
14: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startCommit:Lorg/eclipse/jgit/revwalk/RevCommit;
ifnull 16
15: aload 4
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startCommit:Lorg/eclipse/jgit/revwalk/RevCommit;
invokevirtual org.eclipse.jgit.api.CreateBranchCommand.setStartPoint:(Lorg/eclipse/jgit/revwalk/RevCommit;)Lorg/eclipse/jgit/api/CreateBranchCommand;
pop
goto 17
16: StackMap locals: org.eclipse.jgit.api.CheckoutCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.api.Git org.eclipse.jgit.api.CreateBranchCommand
StackMap stack:
aload 4
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startPoint:Ljava/lang/String;
invokevirtual org.eclipse.jgit.api.CreateBranchCommand.setStartPoint:(Ljava/lang/String;)Lorg/eclipse/jgit/api/CreateBranchCommand;
pop
17: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.upstreamMode:Lorg/eclipse/jgit/api/CreateBranchCommand$SetupUpstreamMode;
ifnull 19
18: aload 4
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.upstreamMode:Lorg/eclipse/jgit/api/CreateBranchCommand$SetupUpstreamMode;
invokevirtual org.eclipse.jgit.api.CreateBranchCommand.setUpstreamMode:(Lorg/eclipse/jgit/api/CreateBranchCommand$SetupUpstreamMode;)Lorg/eclipse/jgit/api/CreateBranchCommand;
pop
19: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.eclipse.jgit.api.CreateBranchCommand.call:()Lorg/eclipse/jgit/lib/Ref;
pop
end local 4 20: aload 3
ifnull 26
aload 3
invokevirtual org.eclipse.jgit.api.Git.close:()V
goto 26
StackMap locals: org.eclipse.jgit.api.CheckoutCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.api.Git
StackMap stack: java.lang.Throwable
21: astore 1
aload 3
ifnull 22
aload 3
invokevirtual org.eclipse.jgit.api.Git.close:()V
end local 3 StackMap locals:
StackMap stack:
22: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 2
aload 1
ifnonnull 24
aload 2
astore 1
goto 25
StackMap locals:
StackMap stack:
24: aload 1
aload 2
if_acmpeq 25
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 1
athrow
26: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.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 27: aload 1
ifnonnull 31
28: new java.lang.UnsupportedOperationException
dup
29: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.cannotCheckoutFromUnbornBranch:Ljava/lang/String;
30: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals: org.eclipse.jgit.lib.Ref
StackMap stack:
aload 0
aload 1
invokevirtual org.eclipse.jgit.api.CheckoutCommand.getShortBranchName:(Lorg/eclipse/jgit/lib/Ref;)Ljava/lang/String;
astore 2
start local 2 32: new java.lang.StringBuilder
dup
ldc "checkout: moving from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 33: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.orphan:Z
ifeq 50
34: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startPoint:Ljava/lang/String;
ifnonnull 48
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startCommit:Lorg/eclipse/jgit/revwalk/RevCommit;
ifnonnull 48
35: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "HEAD"
invokevirtual org.eclipse.jgit.lib.Repository.updateRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/RefUpdate;
36: aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.getBranchName:()Ljava/lang/String;
37: invokevirtual org.eclipse.jgit.lib.RefUpdate.link:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
astore 5
start local 5 38: getstatic org.eclipse.jgit.lib.RefUpdate$Result.NEW:Lorg/eclipse/jgit/lib/RefUpdate$Result;
getstatic org.eclipse.jgit.lib.RefUpdate$Result.FORCED:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
aload 5
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifne 43
39: new org.eclipse.jgit.api.errors.JGitInternalException
dup
40: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.checkoutUnexpectedResult:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
41: aload 5
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.name:()Ljava/lang/String;
aastore
42: 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
43: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String top org.eclipse.jgit.lib.RefUpdate$Result
StackMap stack:
aload 0
getstatic org.eclipse.jgit.api.CheckoutResult.NOT_TRIED_RESULT:Lorg/eclipse/jgit/api/CheckoutResult;
putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
44: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "HEAD"
invokevirtual org.eclipse.jgit.lib.Repository.exactRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 16
45: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
ifnonnull 47
46: aload 0
getstatic org.eclipse.jgit.api.CheckoutResult.ERROR_RESULT:Lorg/eclipse/jgit/api/CheckoutResult;
putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
47: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String top org.eclipse.jgit.lib.RefUpdate$Result top top top top top top top top top top org.eclipse.jgit.lib.Ref
StackMap stack:
aload 16
areturn
end local 5 48: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.getStartPointObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
astore 4
start local 4 49: goto 55
end local 4 50: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.Repository.resolve:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/ObjectId;
astore 4
start local 4 51: aload 4
ifnonnull 55
52: new org.eclipse.jgit.api.errors.RefNotFoundException
dup
53: 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 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
aastore
54: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.eclipse.jgit.api.errors.RefNotFoundException.<init>:(Ljava/lang/String;)V
athrow
55: StackMap locals: org.eclipse.jgit.lib.ObjectId
StackMap stack:
aconst_null
astore 5
start local 5 56: aconst_null
astore 6
start local 6 57: aconst_null
astore 7
aconst_null
astore 8
58: new org.eclipse.jgit.revwalk.RevWalk
dup
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.revwalk.RevWalk.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
astore 9
start local 9 59: aload 1
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
astore 10
start local 10 60: aload 10
ifnonnull 61
aconst_null
goto 62
61: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevCommit java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.AnyObjectId
StackMap stack:
aload 9
aload 10
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
62: StackMap locals:
StackMap stack: org.eclipse.jgit.revwalk.RevCommit
astore 5
63: aload 9
aload 4
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
astore 6
end local 10 64: aload 9
ifnull 70
aload 9
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
goto 70
StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevCommit java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk
StackMap stack: java.lang.Throwable
65: astore 7
aload 9
ifnull 66
aload 9
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 9 StackMap locals:
StackMap stack:
66: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
67: astore 8
aload 7
ifnonnull 68
aload 8
astore 7
goto 69
StackMap locals:
StackMap stack:
68: aload 7
aload 8
if_acmpeq 69
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
69: aload 7
athrow
70: StackMap locals:
StackMap stack:
aload 5
ifnonnull 71
aconst_null
goto 72
StackMap locals:
StackMap stack:
71: aload 5
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getTree:()Lorg/eclipse/jgit/revwalk/RevTree;
StackMap locals:
StackMap stack: org.eclipse.jgit.revwalk.RevTree
72: astore 7
start local 7 73: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.lockDirCache:()Lorg/eclipse/jgit/dircache/DirCache;
astore 9
start local 9 74: new org.eclipse.jgit.dircache.DirCacheCheckout
dup
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 7
aload 9
75: aload 6
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getTree:()Lorg/eclipse/jgit/revwalk/RevTree;
76: invokespecial org.eclipse.jgit.dircache.DirCacheCheckout.<init>:(Lorg/eclipse/jgit/lib/Repository;Lorg/eclipse/jgit/lib/ObjectId;Lorg/eclipse/jgit/dircache/DirCache;Lorg/eclipse/jgit/lib/ObjectId;)V
astore 8
start local 8 77: aload 8
iconst_1
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.setFailOnConflict:(Z)V
78: aload 8
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.forced:Z
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.setForce:(Z)V
79: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.forced:Z
ifeq 81
80: aload 8
iconst_0
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.setFailOnConflict:(Z)V
81: StackMap locals: org.eclipse.jgit.revwalk.RevTree org.eclipse.jgit.dircache.DirCacheCheckout org.eclipse.jgit.dircache.DirCache
StackMap stack:
aload 8
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.monitor:Lorg/eclipse/jgit/lib/ProgressMonitor;
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.setProgressMonitor:(Lorg/eclipse/jgit/lib/ProgressMonitor;)V
82: aload 8
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.checkout:()Z
pop
83: goto 92
StackMap locals:
StackMap stack: org.eclipse.jgit.errors.CheckoutConflictException
84: astore 10
start local 10 85: aload 0
new org.eclipse.jgit.api.CheckoutResult
dup
getstatic org.eclipse.jgit.api.CheckoutResult$Status.CONFLICTS:Lorg/eclipse/jgit/api/CheckoutResult$Status;
86: aload 8
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.getConflicts:()Ljava/util/List;
invokespecial org.eclipse.jgit.api.CheckoutResult.<init>:(Lorg/eclipse/jgit/api/CheckoutResult$Status;Ljava/util/List;)V
87: putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
88: new org.eclipse.jgit.api.errors.CheckoutConflictException
dup
aload 8
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.getConflicts:()Ljava/util/List;
aload 10
invokespecial org.eclipse.jgit.api.errors.CheckoutConflictException.<init>:(Ljava/util/List;Lorg/eclipse/jgit/errors/CheckoutConflictException;)V
athrow
end local 10 end local 8 89: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevTree top org.eclipse.jgit.dircache.DirCache
StackMap stack: java.lang.Throwable
astore 11
90: aload 9
invokevirtual org.eclipse.jgit.dircache.DirCache.unlock:()V
91: aload 11
athrow
start local 8 92: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevTree org.eclipse.jgit.dircache.DirCacheCheckout org.eclipse.jgit.dircache.DirCache
StackMap stack:
aload 9
invokevirtual org.eclipse.jgit.dircache.DirCache.unlock:()V
93: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.Repository.findRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 10
start local 10 94: aload 10
ifnull 96
aload 10
invokeinterface org.eclipse.jgit.lib.Ref.getName:()Ljava/lang/String;
ldc "refs/heads/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 96
95: aconst_null
astore 10
96: StackMap locals: org.eclipse.jgit.lib.Ref
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
invokestatic org.eclipse.jgit.lib.Repository.shortenRefName:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 97: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "HEAD"
aload 10
ifnonnull 98
iconst_1
goto 99
StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevTree org.eclipse.jgit.dircache.DirCacheCheckout org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.lib.Ref java.lang.String
StackMap stack: org.eclipse.jgit.lib.Repository java.lang.String
98: iconst_0
StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevTree org.eclipse.jgit.dircache.DirCacheCheckout org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.lib.Ref java.lang.String
StackMap stack: org.eclipse.jgit.lib.Repository java.lang.String int
99: invokevirtual org.eclipse.jgit.lib.Repository.updateRef:(Ljava/lang/String;Z)Lorg/eclipse/jgit/lib/RefUpdate;
astore 12
start local 12 100: aload 12
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.forceRefUpdate:Z
invokevirtual org.eclipse.jgit.lib.RefUpdate.setForceUpdate:(Z)V
101: aload 12
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
invokevirtual org.eclipse.jgit.lib.RefUpdate.setRefLogMessage:(Ljava/lang/String;Z)V
102: aload 10
ifnull 105
103: aload 12
aload 10
invokeinterface org.eclipse.jgit.lib.Ref.getName:()Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.RefUpdate.link:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
astore 13
start local 13 104: goto 111
end local 13 105: StackMap locals: org.eclipse.jgit.lib.RefUpdate
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.orphan:Z
ifeq 109
106: aload 12
aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.getBranchName:()Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.RefUpdate.link:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
astore 13
start local 13 107: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ldc "HEAD"
invokevirtual org.eclipse.jgit.lib.Repository.exactRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 10
108: goto 111
end local 13 109: StackMap locals:
StackMap stack:
aload 12
aload 6
invokevirtual org.eclipse.jgit.lib.RefUpdate.setNewObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
110: aload 12
invokevirtual org.eclipse.jgit.lib.RefUpdate.forceUpdate:()Lorg/eclipse/jgit/lib/RefUpdate$Result;
astore 13
start local 13 111: StackMap locals: org.eclipse.jgit.lib.RefUpdate$Result
StackMap stack:
aload 0
iconst_0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.setCallable:(Z)V
112: iconst_0
istore 14
start local 14 113: invokestatic org.eclipse.jgit.api.CheckoutCommand.$SWITCH_TABLE$org$eclipse$jgit$lib$RefUpdate$Result:()[I
aload 13
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
iaload
tableswitch { // 3 - 6
3: 116
4: 114
5: 116
6: 116
default: 118
}
114: StackMap locals: int
StackMap stack:
iconst_1
istore 14
115: goto 118
116: StackMap locals:
StackMap stack:
iconst_1
istore 14
117: goto 118
118: StackMap locals:
StackMap stack:
iload 14
ifne 122
119: new org.eclipse.jgit.api.errors.JGitInternalException
dup
120: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.checkoutUnexpectedResult:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 13
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.name:()Ljava/lang/String;
aastore
121: 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
122: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.getToBeDeleted:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 129
123: aload 0
new org.eclipse.jgit.api.CheckoutResult
dup
getstatic org.eclipse.jgit.api.CheckoutResult$Status.NONDELETED:Lorg/eclipse/jgit/api/CheckoutResult$Status;
124: aload 8
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.getToBeDeleted:()Ljava/util/List;
125: new java.util.ArrayList
dup
aload 8
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.getUpdated:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
126: aload 8
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.getRemoved:()Ljava/util/List;
invokespecial org.eclipse.jgit.api.CheckoutResult.<init>:(Lorg/eclipse/jgit/api/CheckoutResult$Status;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
127: putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
128: goto 132
129: StackMap locals:
StackMap stack:
aload 0
new org.eclipse.jgit.api.CheckoutResult
dup
new java.util.ArrayList
dup
aload 8
130: invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.getUpdated:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
aload 8
invokevirtual org.eclipse.jgit.dircache.DirCacheCheckout.getRemoved:()Ljava/util/List;
invokespecial org.eclipse.jgit.api.CheckoutResult.<init>:(Ljava/util/List;Ljava/util/List;)V
131: putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
132: StackMap locals:
StackMap stack:
aload 10
astore 16
133: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
ifnonnull 135
134: aload 0
getstatic org.eclipse.jgit.api.CheckoutResult.ERROR_RESULT:Lorg/eclipse/jgit/api/CheckoutResult;
putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
135: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.lib.Ref java.lang.String java.lang.String org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevCommit org.eclipse.jgit.revwalk.RevTree org.eclipse.jgit.dircache.DirCacheCheckout org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.lib.Ref java.lang.String org.eclipse.jgit.lib.RefUpdate org.eclipse.jgit.lib.RefUpdate$Result int top org.eclipse.jgit.lib.Ref
StackMap stack:
aload 16
areturn
end local 14 end local 13 end local 12 end local 11 end local 10 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 136: StackMap locals: org.eclipse.jgit.api.CheckoutCommand
StackMap stack: java.io.IOException
astore 1
start local 1 137: new org.eclipse.jgit.api.errors.JGitInternalException
dup
aload 1
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 1
invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 138: StackMap locals:
StackMap stack: java.lang.Throwable
astore 15
139: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
ifnonnull 141
140: aload 0
getstatic org.eclipse.jgit.api.CheckoutResult.ERROR_RESULT:Lorg/eclipse/jgit/api/CheckoutResult;
putfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
141: StackMap locals: org.eclipse.jgit.api.CheckoutCommand top top top top top top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 15
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 142 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
12 22 3 git Lorg/eclipse/jgit/api/Git;
13 20 4 command Lorg/eclipse/jgit/api/CreateBranchCommand;
27 136 1 headRef Lorg/eclipse/jgit/lib/Ref;
32 136 2 shortHeadRef Ljava/lang/String;
33 136 3 refLogMessage Ljava/lang/String;
49 50 4 branch Lorg/eclipse/jgit/lib/ObjectId;
51 136 4 branch Lorg/eclipse/jgit/lib/ObjectId;
38 48 5 r Lorg/eclipse/jgit/lib/RefUpdate$Result;
56 136 5 headCommit Lorg/eclipse/jgit/revwalk/RevCommit;
57 136 6 newCommit Lorg/eclipse/jgit/revwalk/RevCommit;
59 66 9 revWalk Lorg/eclipse/jgit/revwalk/RevWalk;
60 64 10 headId Lorg/eclipse/jgit/lib/AnyObjectId;
73 136 7 headTree Lorg/eclipse/jgit/revwalk/RevTree;
77 89 8 dco Lorg/eclipse/jgit/dircache/DirCacheCheckout;
92 136 8 dco Lorg/eclipse/jgit/dircache/DirCacheCheckout;
74 136 9 dc Lorg/eclipse/jgit/dircache/DirCache;
85 89 10 e Lorg/eclipse/jgit/errors/CheckoutConflictException;
94 136 10 ref Lorg/eclipse/jgit/lib/Ref;
97 136 11 toName Ljava/lang/String;
100 136 12 refUpdate Lorg/eclipse/jgit/lib/RefUpdate;
104 105 13 updateResult Lorg/eclipse/jgit/lib/RefUpdate$Result;
107 109 13 updateResult Lorg/eclipse/jgit/lib/RefUpdate$Result;
111 136 13 updateResult Lorg/eclipse/jgit/lib/RefUpdate$Result;
113 136 14 ok Z
137 138 1 ioe Ljava/io/IOException;
Exception table:
from to target type
12 20 21 any
11 23 23 any
59 64 65 any
58 67 67 any
82 83 84 Class org.eclipse.jgit.errors.CheckoutConflictException
74 89 89 any
1 6 136 Class java.io.IOException
9 45 136 Class java.io.IOException
48 133 136 Class java.io.IOException
1 6 138 any
9 45 138 any
48 133 138 any
136 138 138 any
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.api.errors.RefAlreadyExistsException, org.eclipse.jgit.api.errors.RefNotFoundException, org.eclipse.jgit.api.errors.InvalidRefNameException, org.eclipse.jgit.api.errors.CheckoutConflictException
private java.lang.String getShortBranchName(org.eclipse.jgit.lib.Ref);
descriptor: (Lorg/eclipse/jgit/lib/Ref;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.eclipse.jgit.lib.Ref.isSymbolic:()Z
ifeq 2
1: aload 1
invokeinterface org.eclipse.jgit.lib.Ref.getTarget:()Lorg/eclipse/jgit/lib/Ref;
invokeinterface org.eclipse.jgit.lib.Ref.getName:()Ljava/lang/String;
invokestatic org.eclipse.jgit.lib.Repository.shortenRefName:(Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
5: StackMap locals: org.eclipse.jgit.lib.ObjectId
StackMap stack:
aload 2
invokevirtual org.eclipse.jgit.lib.ObjectId.getName:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 6 1 headRef Lorg/eclipse/jgit/lib/Ref;
3 6 2 id Lorg/eclipse/jgit/lib/ObjectId;
MethodParameters:
Name Flags
headRef
public org.eclipse.jgit.api.CheckoutCommand setProgressMonitor(org.eclipse.jgit.lib.ProgressMonitor);
descriptor: (Lorg/eclipse/jgit/lib/ProgressMonitor;)Lorg/eclipse/jgit/api/CheckoutCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic org.eclipse.jgit.lib.NullProgressMonitor.INSTANCE:Lorg/eclipse/jgit/lib/NullProgressMonitor;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.eclipse.jgit.api.CheckoutCommand.monitor:Lorg/eclipse/jgit/lib/ProgressMonitor;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 4 1 monitor Lorg/eclipse/jgit/lib/ProgressMonitor;
MethodParameters:
Name Flags
monitor
public org.eclipse.jgit.api.CheckoutCommand addPath(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.paths:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 3 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public org.eclipse.jgit.api.CheckoutCommand addPaths(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.paths:Ljava/util/List;
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 3 1 p Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Lorg/eclipse/jgit/api/CheckoutCommand;
MethodParameters:
Name Flags
p
public org.eclipse.jgit.api.CheckoutCommand setAllPaths(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkoutAllPaths: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/CheckoutCommand;
0 2 1 all Z
MethodParameters:
Name Flags
all
protected org.eclipse.jgit.api.CheckoutCommand checkoutPaths();
descriptor: ()Lorg/eclipse/jgit/api/CheckoutCommand;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=1
start local 0 0: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
1: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.lockDirCache:()Lorg/eclipse/jgit/dircache/DirCache;
astore 1
start local 1 2: aconst_null
astore 2
aconst_null
astore 3
3: new org.eclipse.jgit.revwalk.RevWalk
dup
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
invokespecial org.eclipse.jgit.revwalk.RevWalk.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
astore 4
start local 4 4: new org.eclipse.jgit.treewalk.TreeWalk
dup
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
5: aload 4
invokevirtual org.eclipse.jgit.revwalk.RevWalk.getObjectReader:()Lorg/eclipse/jgit/lib/ObjectReader;
6: invokespecial org.eclipse.jgit.treewalk.TreeWalk.<init>:(Lorg/eclipse/jgit/lib/Repository;Lorg/eclipse/jgit/lib/ObjectReader;)V
astore 5
start local 5 7: aload 5
iconst_1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.setRecursive:(Z)V
8: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.checkoutAllPaths:Z
ifne 10
9: aload 5
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.paths:Ljava/util/List;
invokestatic org.eclipse.jgit.treewalk.filter.PathFilterGroup.createFromStrings:(Ljava/util/Collection;)Lorg/eclipse/jgit/treewalk/filter/TreeFilter;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.setFilter:(Lorg/eclipse/jgit/treewalk/filter/TreeFilter;)V
10: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.dircache.DirCache java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.treewalk.TreeWalk
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.isCheckoutIndex:()Z
ifeq 12
11: aload 0
aload 5
aload 1
invokevirtual org.eclipse.jgit.api.CheckoutCommand.checkoutPathsFromIndex:(Lorg/eclipse/jgit/treewalk/TreeWalk;Lorg/eclipse/jgit/dircache/DirCache;)V
goto 14
12: StackMap locals:
StackMap stack:
aload 4
aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.getStartPointObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
astore 6
start local 6 13: aload 0
aload 5
aload 1
aload 6
invokevirtual org.eclipse.jgit.api.CheckoutCommand.checkoutPathsFromCommit:(Lorg/eclipse/jgit/treewalk/TreeWalk;Lorg/eclipse/jgit/dircache/DirCache;Lorg/eclipse/jgit/revwalk/RevCommit;)V
end local 6 14: StackMap locals:
StackMap stack:
aload 5
ifnull 17
aload 5
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.close:()V
goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
aload 5
ifnull 16
aload 5
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.close:()V
end local 5 StackMap locals:
StackMap stack:
16: aload 2
athrow
StackMap locals:
StackMap stack:
17: aload 4
ifnull 43
aload 4
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
goto 43
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 3
aload 2
ifnonnull 19
aload 3
astore 2
goto 20
StackMap locals:
StackMap stack:
19: aload 2
aload 3
if_acmpeq 20
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 4
ifnull 21
aload 4
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 4 StackMap locals:
StackMap stack:
21: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 3
aload 2
ifnonnull 23
aload 3
astore 2
goto 24
StackMap locals:
StackMap stack:
23: aload 2
aload 3
if_acmpeq 24
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
24: aload 2
athrow
StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.dircache.DirCache
StackMap stack: java.lang.Throwable
25: astore 7
26: aload 1
invokevirtual org.eclipse.jgit.dircache.DirCache.unlock:()V
27: goto 36
StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.dircache.DirCache top top top top top java.lang.Throwable
StackMap stack: java.lang.Throwable
28: astore 8
29: new org.eclipse.jgit.events.WorkingTreeModifiedEvent
dup
30: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
aconst_null
31: invokespecial org.eclipse.jgit.events.WorkingTreeModifiedEvent.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
astore 9
start local 9 32: aload 0
aconst_null
putfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
33: aload 9
invokevirtual org.eclipse.jgit.events.WorkingTreeModifiedEvent.isEmpty:()Z
ifne 35
34: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 9
invokevirtual org.eclipse.jgit.lib.Repository.fireEvent:(Lorg/eclipse/jgit/events/RepositoryEvent;)V
end local 9 35: StackMap locals: java.lang.Throwable
StackMap stack:
aload 8
athrow
36: StackMap locals:
StackMap stack:
new org.eclipse.jgit.events.WorkingTreeModifiedEvent
dup
37: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
aconst_null
38: invokespecial org.eclipse.jgit.events.WorkingTreeModifiedEvent.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
astore 9
start local 9 39: aload 0
aconst_null
putfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
40: aload 9
invokevirtual org.eclipse.jgit.events.WorkingTreeModifiedEvent.isEmpty:()Z
ifne 42
41: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 9
invokevirtual org.eclipse.jgit.lib.Repository.fireEvent:(Lorg/eclipse/jgit/events/RepositoryEvent;)V
end local 9 42: StackMap locals:
StackMap stack:
aload 7
athrow
43: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.dircache.DirCache
StackMap stack:
aload 1
invokevirtual org.eclipse.jgit.dircache.DirCache.unlock:()V
44: goto 53
StackMap locals:
StackMap stack: java.lang.Throwable
45: astore 8
46: new org.eclipse.jgit.events.WorkingTreeModifiedEvent
dup
47: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
aconst_null
48: invokespecial org.eclipse.jgit.events.WorkingTreeModifiedEvent.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
astore 9
start local 9 49: aload 0
aconst_null
putfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
50: aload 9
invokevirtual org.eclipse.jgit.events.WorkingTreeModifiedEvent.isEmpty:()Z
ifne 52
51: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 9
invokevirtual org.eclipse.jgit.lib.Repository.fireEvent:(Lorg/eclipse/jgit/events/RepositoryEvent;)V
end local 9 52: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.dircache.DirCache top top top top top top java.lang.Throwable
StackMap stack:
aload 8
athrow
53: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.dircache.DirCache
StackMap stack:
new org.eclipse.jgit.events.WorkingTreeModifiedEvent
dup
54: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
aconst_null
55: invokespecial org.eclipse.jgit.events.WorkingTreeModifiedEvent.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
astore 9
start local 9 56: aload 0
aconst_null
putfield org.eclipse.jgit.api.CheckoutCommand.actuallyModifiedPaths:Ljava/util/Set;
57: aload 9
invokevirtual org.eclipse.jgit.events.WorkingTreeModifiedEvent.isEmpty:()Z
ifne 59
58: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 9
invokevirtual org.eclipse.jgit.lib.Repository.fireEvent:(Lorg/eclipse/jgit/events/RepositoryEvent;)V
end local 9 59: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 60 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
2 60 1 dc Lorg/eclipse/jgit/dircache/DirCache;
4 21 4 revWalk Lorg/eclipse/jgit/revwalk/RevWalk;
7 16 5 treeWalk Lorg/eclipse/jgit/treewalk/TreeWalk;
13 14 6 commit Lorg/eclipse/jgit/revwalk/RevCommit;
32 35 9 event Lorg/eclipse/jgit/events/WorkingTreeModifiedEvent;
39 42 9 event Lorg/eclipse/jgit/events/WorkingTreeModifiedEvent;
49 52 9 event Lorg/eclipse/jgit/events/WorkingTreeModifiedEvent;
56 59 9 event Lorg/eclipse/jgit/events/WorkingTreeModifiedEvent;
Exception table:
from to target type
7 14 15 any
4 17 18 any
3 22 22 any
2 25 25 any
26 28 28 any
43 45 45 any
Exceptions:
throws java.io.IOException, org.eclipse.jgit.api.errors.RefNotFoundException
private void checkoutPathsFromIndex(org.eclipse.jgit.treewalk.TreeWalk, org.eclipse.jgit.dircache.DirCache);
descriptor: (Lorg/eclipse/jgit/treewalk/TreeWalk;Lorg/eclipse/jgit/dircache/DirCache;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=10, args_size=3
start local 0 start local 1 start local 2 0: new org.eclipse.jgit.dircache.DirCacheIterator
dup
aload 2
invokespecial org.eclipse.jgit.dircache.DirCacheIterator.<init>:(Lorg/eclipse/jgit/dircache/DirCache;)V
astore 3
start local 3 1: aload 1
aload 3
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.addTree:(Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;)I
pop
2: aconst_null
astore 4
start local 4 3: aload 1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getObjectReader:()Lorg/eclipse/jgit/lib/ObjectReader;
astore 5
start local 5 4: aload 2
invokevirtual org.eclipse.jgit.dircache.DirCache.editor:()Lorg/eclipse/jgit/dircache/DirCacheEditor;
astore 6
start local 6 5: goto 17
6: StackMap locals: org.eclipse.jgit.api.CheckoutCommand org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.dircache.DirCacheIterator java.lang.String org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.dircache.DirCacheEditor
StackMap stack:
aload 1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getPathString:()Ljava/lang/String;
astore 7
start local 7 7: aload 7
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: goto 17
9: StackMap locals: java.lang.String
StackMap stack:
aload 1
10: getstatic org.eclipse.jgit.treewalk.TreeWalk$OperationType.CHECKOUT_OP:Lorg/eclipse/jgit/treewalk/TreeWalk$OperationType;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getEolStreamType:(Lorg/eclipse/jgit/treewalk/TreeWalk$OperationType;)Lorg/eclipse/jgit/lib/CoreConfig$EolStreamType;
11: astore 8
start local 8 12: aload 1
13: ldc "smudge"
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getFilterCommand:(Ljava/lang/String;)Ljava/lang/String;
14: astore 9
start local 9 15: aload 6
new org.eclipse.jgit.api.CheckoutCommand$1
dup
aload 0
aload 7
aload 5
aload 8
aload 9
aload 7
invokespecial org.eclipse.jgit.api.CheckoutCommand$1.<init>:(Lorg/eclipse/jgit/api/CheckoutCommand;Ljava/lang/String;Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/lib/CoreConfig$EolStreamType;Ljava/lang/String;Ljava/lang/String;)V
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.add:(Lorg/eclipse/jgit/dircache/DirCacheEditor$PathEdit;)V
16: aload 7
astore 4
end local 9 end local 8 end local 7 17: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.next:()Z
ifne 6
18: aload 6
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.commit:()Z
pop
19: return
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 20 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 20 1 treeWalk Lorg/eclipse/jgit/treewalk/TreeWalk;
0 20 2 dc Lorg/eclipse/jgit/dircache/DirCache;
1 20 3 dci Lorg/eclipse/jgit/dircache/DirCacheIterator;
3 20 4 previousPath Ljava/lang/String;
4 20 5 r Lorg/eclipse/jgit/lib/ObjectReader;
5 20 6 editor Lorg/eclipse/jgit/dircache/DirCacheEditor;
7 17 7 path Ljava/lang/String;
12 17 8 eolStreamType Lorg/eclipse/jgit/lib/CoreConfig$EolStreamType;
15 17 9 filterCommand Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
treeWalk
dc
private void checkoutPathsFromCommit(org.eclipse.jgit.treewalk.TreeWalk, org.eclipse.jgit.dircache.DirCache, org.eclipse.jgit.revwalk.RevCommit);
descriptor: (Lorg/eclipse/jgit/treewalk/TreeWalk;Lorg/eclipse/jgit/dircache/DirCache;Lorg/eclipse/jgit/revwalk/RevCommit;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 3
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
1: aload 1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getObjectReader:()Lorg/eclipse/jgit/lib/ObjectReader;
astore 4
start local 4 2: aload 2
invokevirtual org.eclipse.jgit.dircache.DirCache.editor:()Lorg/eclipse/jgit/dircache/DirCacheEditor;
astore 5
start local 5 3: goto 14
4: StackMap locals: org.eclipse.jgit.lib.ObjectReader org.eclipse.jgit.dircache.DirCacheEditor
StackMap stack:
aload 1
iconst_0
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getObjectId:(I)Lorg/eclipse/jgit/lib/ObjectId;
astore 6
start local 6 5: aload 1
iconst_0
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getFileMode:(I)Lorg/eclipse/jgit/lib/FileMode;
astore 7
start local 7 6: aload 1
7: getstatic org.eclipse.jgit.treewalk.TreeWalk$OperationType.CHECKOUT_OP:Lorg/eclipse/jgit/treewalk/TreeWalk$OperationType;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getEolStreamType:(Lorg/eclipse/jgit/treewalk/TreeWalk$OperationType;)Lorg/eclipse/jgit/lib/CoreConfig$EolStreamType;
8: astore 8
start local 8 9: aload 1
10: ldc "smudge"
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getFilterCommand:(Ljava/lang/String;)Ljava/lang/String;
11: astore 9
start local 9 12: aload 1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getPathString:()Ljava/lang/String;
astore 10
start local 10 13: aload 5
new org.eclipse.jgit.api.CheckoutCommand$2
dup
aload 0
aload 10
aload 6
aload 7
aload 4
aload 8
aload 9
aload 10
invokespecial org.eclipse.jgit.api.CheckoutCommand$2.<init>:(Lorg/eclipse/jgit/api/CheckoutCommand;Ljava/lang/String;Lorg/eclipse/jgit/lib/ObjectId;Lorg/eclipse/jgit/lib/FileMode;Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/lib/CoreConfig$EolStreamType;Ljava/lang/String;Ljava/lang/String;)V
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.add:(Lorg/eclipse/jgit/dircache/DirCacheEditor$PathEdit;)V
end local 10 end local 9 end local 8 end local 7 end local 6 14: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.next:()Z
ifne 4
15: aload 5
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.commit:()Z
pop
16: 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 17 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 17 1 treeWalk Lorg/eclipse/jgit/treewalk/TreeWalk;
0 17 2 dc Lorg/eclipse/jgit/dircache/DirCache;
0 17 3 commit Lorg/eclipse/jgit/revwalk/RevCommit;
2 17 4 r Lorg/eclipse/jgit/lib/ObjectReader;
3 17 5 editor Lorg/eclipse/jgit/dircache/DirCacheEditor;
5 14 6 blobId Lorg/eclipse/jgit/lib/ObjectId;
6 14 7 mode Lorg/eclipse/jgit/lib/FileMode;
9 14 8 eolStreamType Lorg/eclipse/jgit/lib/CoreConfig$EolStreamType;
12 14 9 filterCommand Ljava/lang/String;
13 14 10 path Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
treeWalk
dc
commit
private void checkoutPath(org.eclipse.jgit.dircache.DirCacheEntry, org.eclipse.jgit.lib.ObjectReader, org.eclipse.jgit.dircache.DirCacheCheckout$CheckoutMetadata);
descriptor: (Lorg/eclipse/jgit/dircache/DirCacheEntry;Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/dircache/DirCacheCheckout$CheckoutMetadata;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 1
aload 2
iconst_1
1: aload 3
2: invokestatic org.eclipse.jgit.dircache.DirCacheCheckout.checkoutEntry:(Lorg/eclipse/jgit/lib/Repository;Lorg/eclipse/jgit/dircache/DirCacheEntry;Lorg/eclipse/jgit/lib/ObjectReader;ZLorg/eclipse/jgit/dircache/DirCacheCheckout$CheckoutMetadata;)V
3: goto 11
StackMap locals:
StackMap stack: java.io.IOException
4: astore 4
start local 4 5: 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.checkoutConflictWithFile:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 1
invokevirtual org.eclipse.jgit.dircache.DirCacheEntry.getPathString:()Ljava/lang/String;
aastore
8: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: aload 4
10: invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 12 1 entry Lorg/eclipse/jgit/dircache/DirCacheEntry;
0 12 2 reader Lorg/eclipse/jgit/lib/ObjectReader;
0 12 3 checkoutMetadata Lorg/eclipse/jgit/dircache/DirCacheCheckout$CheckoutMetadata;
5 11 4 e Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
MethodParameters:
Name Flags
entry
reader
checkoutMetadata
private boolean isCheckoutIndex();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startCommit:Lorg/eclipse/jgit/revwalk/RevCommit;
ifnonnull 1
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startPoint:Ljava/lang/String;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
private org.eclipse.jgit.lib.ObjectId getStartPointObjectId();
descriptor: ()Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startCommit:Lorg/eclipse/jgit/revwalk/RevCommit;
ifnull 2
1: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startCommit:Lorg/eclipse/jgit/revwalk/RevCommit;
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getId:()Lorg/eclipse/jgit/lib/ObjectId;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startPoint:Ljava/lang/String;
ifnull 3
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.startPoint:Ljava/lang/String;
goto 4
3: StackMap locals:
StackMap stack:
ldc "HEAD"
4: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 5: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 1
invokevirtual org.eclipse.jgit.lib.Repository.resolve:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/ObjectId;
astore 2
start local 2 6: aload 2
ifnonnull 10
7: new org.eclipse.jgit.api.errors.RefNotFoundException
dup
8: 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
9: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.eclipse.jgit.api.errors.RefNotFoundException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: java.lang.String org.eclipse.jgit.lib.ObjectId
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
5 11 1 startPointOrHead Ljava/lang/String;
6 11 2 result Lorg/eclipse/jgit/lib/ObjectId;
Exceptions:
throws org.eclipse.jgit.errors.AmbiguousObjectException, org.eclipse.jgit.api.errors.RefNotFoundException, java.io.IOException
private void processOptions();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.checkoutAllPaths:Z
ifne 1
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.paths:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.orphan:Z
ifeq 9
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
ifnull 4
3: new java.lang.StringBuilder
dup
ldc "refs/heads/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.eclipse.jgit.lib.Repository.isValidRefName:(Ljava/lang/String;)Z
ifne 9
4: StackMap locals:
StackMap stack:
new org.eclipse.jgit.api.errors.InvalidRefNameException
dup
5: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.branchNameInvalid:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
ifnonnull 6
ldc "<null>"
goto 7
StackMap locals: org.eclipse.jgit.api.CheckoutCommand
StackMap stack: new 4 new 4 java.lang.String java.lang.Object[] java.lang.Object[] int
6: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
StackMap locals: org.eclipse.jgit.api.CheckoutCommand
StackMap stack: new 4 new 4 java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
7: aastore
8: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.eclipse.jgit.api.errors.InvalidRefNameException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.orphan:Z
ifeq 15
10: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.getBranchName:()Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.Repository.exactRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 1
start local 1 11: aload 1
ifnull 15
12: new org.eclipse.jgit.api.errors.RefAlreadyExistsException
dup
13: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.refAlreadyExists:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
aastore
14: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.eclipse.jgit.api.errors.RefAlreadyExistsException.<init>:(Ljava/lang/String;)V
athrow
end local 1 15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
11 15 1 refToCheck Lorg/eclipse/jgit/lib/Ref;
Exceptions:
throws org.eclipse.jgit.api.errors.InvalidRefNameException, org.eclipse.jgit.api.errors.RefAlreadyExistsException, java.io.IOException
private java.lang.String getBranchName();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
ldc "refs/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "refs/heads/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
public org.eclipse.jgit.api.CheckoutCommand setName(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.CheckoutCommand.name: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/CheckoutCommand;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public org.eclipse.jgit.api.CheckoutCommand setCreateBranch(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
iload 1
putfield org.eclipse.jgit.api.CheckoutCommand.createBranch:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 3 1 createBranch Z
MethodParameters:
Name Flags
createBranch
public org.eclipse.jgit.api.CheckoutCommand setOrphan(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
iload 1
putfield org.eclipse.jgit.api.CheckoutCommand.orphan:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 3 1 orphan Z
MethodParameters:
Name Flags
orphan
public org.eclipse.jgit.api.CheckoutCommand setForce(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/CheckoutCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.eclipse.jgit.api.CheckoutCommand.setForceRefUpdate:(Z)Lorg/eclipse/jgit/api/CheckoutCommand;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 1 1 force Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
force
public org.eclipse.jgit.api.CheckoutCommand setForceRefUpdate(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
iload 1
putfield org.eclipse.jgit.api.CheckoutCommand.forceRefUpdate:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 3 1 forceRefUpdate Z
MethodParameters:
Name Flags
forceRefUpdate
public org.eclipse.jgit.api.CheckoutCommand setForced(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
iload 1
putfield org.eclipse.jgit.api.CheckoutCommand.forced:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 3 1 forced Z
MethodParameters:
Name Flags
forced
public org.eclipse.jgit.api.CheckoutCommand setStartPoint(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.CheckoutCommand.startPoint:Ljava/lang/String;
2: aload 0
aconst_null
putfield org.eclipse.jgit.api.CheckoutCommand.startCommit:Lorg/eclipse/jgit/revwalk/RevCommit;
3: aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.checkOptions:()V
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 5 1 startPoint Ljava/lang/String;
MethodParameters:
Name Flags
startPoint
public org.eclipse.jgit.api.CheckoutCommand setStartPoint(org.eclipse.jgit.revwalk.RevCommit);
descriptor: (Lorg/eclipse/jgit/revwalk/RevCommit;)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.CheckoutCommand.startCommit:Lorg/eclipse/jgit/revwalk/RevCommit;
2: aload 0
aconst_null
putfield org.eclipse.jgit.api.CheckoutCommand.startPoint:Ljava/lang/String;
3: aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.checkOptions:()V
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 5 1 startCommit Lorg/eclipse/jgit/revwalk/RevCommit;
MethodParameters:
Name Flags
startCommit
public org.eclipse.jgit.api.CheckoutCommand setUpstreamMode(org.eclipse.jgit.api.CreateBranchCommand$SetupUpstreamMode);
descriptor: (Lorg/eclipse/jgit/api/CreateBranchCommand$SetupUpstreamMode;)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.CheckoutCommand.upstreamMode:Lorg/eclipse/jgit/api/CreateBranchCommand$SetupUpstreamMode;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 3 1 mode Lorg/eclipse/jgit/api/CreateBranchCommand$SetupUpstreamMode;
MethodParameters:
Name Flags
mode
public org.eclipse.jgit.api.CheckoutCommand setStage(org.eclipse.jgit.api.CheckoutCommand$Stage);
descriptor: (Lorg/eclipse/jgit/api/CheckoutCommand$Stage;)Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.CheckoutCommand.checkoutStage:Lorg/eclipse/jgit/api/CheckoutCommand$Stage;
2: aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.checkOptions:()V
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
0 4 1 stage Lorg/eclipse/jgit/api/CheckoutCommand$Stage;
MethodParameters:
Name Flags
stage
public org.eclipse.jgit.api.CheckoutResult getResult();
descriptor: ()Lorg/eclipse/jgit/api/CheckoutResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
ifnonnull 2
1: getstatic org.eclipse.jgit.api.CheckoutResult.NOT_TRIED_RESULT:Lorg/eclipse/jgit/api/CheckoutResult;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.status:Lorg/eclipse/jgit/api/CheckoutResult;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
private void checkOptions();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.api.CheckoutCommand.checkoutStage:Lorg/eclipse/jgit/api/CheckoutCommand$Stage;
ifnull 4
aload 0
invokevirtual org.eclipse.jgit.api.CheckoutCommand.isCheckoutIndex:()Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.cannotCheckoutOursSwitchBranch:Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/api/CheckoutCommand;
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.CheckoutCommand.call:()Lorg/eclipse/jgit/lib/Ref;
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.CheckoutCommand.$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.CheckoutCommand.$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/Ref;>;
SourceFile: "CheckoutCommand.java"
NestMembers:
org.eclipse.jgit.api.CheckoutCommand$1 org.eclipse.jgit.api.CheckoutCommand$2 org.eclipse.jgit.api.CheckoutCommand$Stage
InnerClasses:
org.eclipse.jgit.api.CheckoutCommand$1
org.eclipse.jgit.api.CheckoutCommand$2
public final Stage = org.eclipse.jgit.api.CheckoutCommand$Stage of org.eclipse.jgit.api.CheckoutCommand
public final Status = org.eclipse.jgit.api.CheckoutResult$Status of org.eclipse.jgit.api.CheckoutResult
public final SetupUpstreamMode = org.eclipse.jgit.api.CreateBranchCommand$SetupUpstreamMode of org.eclipse.jgit.api.CreateBranchCommand
public CheckoutMetadata = org.eclipse.jgit.dircache.DirCacheCheckout$CheckoutMetadata of org.eclipse.jgit.dircache.DirCacheCheckout
public abstract PathEdit = org.eclipse.jgit.dircache.DirCacheEditor$PathEdit of org.eclipse.jgit.dircache.DirCacheEditor
public final EolStreamType = org.eclipse.jgit.lib.CoreConfig$EolStreamType of org.eclipse.jgit.lib.CoreConfig
public final Result = org.eclipse.jgit.lib.RefUpdate$Result of org.eclipse.jgit.lib.RefUpdate
public final OperationType = org.eclipse.jgit.treewalk.TreeWalk$OperationType of org.eclipse.jgit.treewalk.TreeWalk