public class org.eclipse.jgit.lib.BatchRefUpdate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.lib.BatchRefUpdate
super_class: java.lang.Object
{
protected static final java.time.Duration MAX_WAIT;
descriptor: Ljava/time/Duration;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private final org.eclipse.jgit.lib.RefDatabase refdb;
descriptor: Lorg/eclipse/jgit/lib/RefDatabase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.eclipse.jgit.transport.ReceiveCommand> commands;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/eclipse/jgit/transport/ReceiveCommand;>;
private boolean allowNonFastForwards;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jgit.lib.PersonIdent refLogIdent;
descriptor: Lorg/eclipse/jgit/lib/PersonIdent;
flags: (0x0002) ACC_PRIVATE
private java.lang.String refLogMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean refLogIncludeResult;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean forceRefLog;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jgit.transport.PushCertificate pushCert;
descriptor: Lorg/eclipse/jgit/transport/PushCertificate;
flags: (0x0002) ACC_PRIVATE
private boolean atomic;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.String> pushOptions;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private java.util.List<org.eclipse.jgit.util.time.ProposedTimestamp> timestamps;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/eclipse/jgit/util/time/ProposedTimestamp;>;
private static volatile int[] $SWITCH_TABLE$org$eclipse$jgit$transport$ReceiveCommand$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc 5
invokestatic java.time.Duration.ofSeconds:(J)Ljava/time/Duration;
putstatic org.eclipse.jgit.lib.BatchRefUpdate.MAX_WAIT:Ljava/time/Duration;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.eclipse.jgit.lib.RefDatabase);
descriptor: (Lorg/eclipse/jgit/lib/RefDatabase;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.lib.BatchRefUpdate.refdb:Lorg/eclipse/jgit/lib/RefDatabase;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
3: aload 0
aload 1
invokevirtual org.eclipse.jgit.lib.RefDatabase.performsAtomicTransactions:()Z
putfield org.eclipse.jgit.lib.BatchRefUpdate.atomic:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 5 1 refdb Lorg/eclipse/jgit/lib/RefDatabase;
MethodParameters:
Name Flags
refdb
public boolean isAllowNonFastForwards();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.allowNonFastForwards:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
public org.eclipse.jgit.lib.BatchRefUpdate setAllowNonFastForwards(boolean);
descriptor: (Z)Lorg/eclipse/jgit/lib/BatchRefUpdate;
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.lib.BatchRefUpdate.allowNonFastForwards:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 allow Z
MethodParameters:
Name Flags
allow
public org.eclipse.jgit.lib.PersonIdent getRefLogIdent();
descriptor: ()Lorg/eclipse/jgit/lib/PersonIdent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.refLogIdent:Lorg/eclipse/jgit/lib/PersonIdent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
public org.eclipse.jgit.lib.BatchRefUpdate setRefLogIdent(org.eclipse.jgit.lib.PersonIdent);
descriptor: (Lorg/eclipse/jgit/lib/PersonIdent;)Lorg/eclipse/jgit/lib/BatchRefUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.lib.BatchRefUpdate.refLogIdent:Lorg/eclipse/jgit/lib/PersonIdent;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 pi Lorg/eclipse/jgit/lib/PersonIdent;
MethodParameters:
Name Flags
pi
public java.lang.String getRefLogMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.refLogMessage:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
RuntimeVisibleAnnotations:
org.eclipse.jgit.annotations.Nullable()
public boolean isRefLogIncludingResult();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.refLogIncludeResult:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
public org.eclipse.jgit.lib.BatchRefUpdate setRefLogMessage(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/eclipse/jgit/lib/BatchRefUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
iload 2
ifne 2
1: aload 0
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.disableRefLog:()Lorg/eclipse/jgit/lib/BatchRefUpdate;
pop
goto 8
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
iload 2
ifeq 6
3: aload 0
ldc ""
putfield org.eclipse.jgit.lib.BatchRefUpdate.refLogMessage:Ljava/lang/String;
4: aload 0
iconst_1
putfield org.eclipse.jgit.lib.BatchRefUpdate.refLogIncludeResult:Z
5: goto 8
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.eclipse.jgit.lib.BatchRefUpdate.refLogMessage:Ljava/lang/String;
7: aload 0
iload 2
putfield org.eclipse.jgit.lib.BatchRefUpdate.refLogIncludeResult:Z
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 9 1 msg Ljava/lang/String;
0 9 2 appendStatus Z
MethodParameters:
Name Flags
msg
appendStatus
public org.eclipse.jgit.lib.BatchRefUpdate disableRefLog();
descriptor: ()Lorg/eclipse/jgit/lib/BatchRefUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.eclipse.jgit.lib.BatchRefUpdate.refLogMessage:Ljava/lang/String;
1: aload 0
iconst_0
putfield org.eclipse.jgit.lib.BatchRefUpdate.refLogIncludeResult:Z
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
public org.eclipse.jgit.lib.BatchRefUpdate setForceRefLog(boolean);
descriptor: (Z)Lorg/eclipse/jgit/lib/BatchRefUpdate;
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.lib.BatchRefUpdate.forceRefLog:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 force Z
MethodParameters:
Name Flags
force
public boolean isRefLogDisabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.refLogMessage: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/lib/BatchRefUpdate;
protected boolean isForceRefLog();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.forceRefLog:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
public org.eclipse.jgit.lib.BatchRefUpdate setAtomic(boolean);
descriptor: (Z)Lorg/eclipse/jgit/lib/BatchRefUpdate;
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.lib.BatchRefUpdate.atomic:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 atomic Z
MethodParameters:
Name Flags
atomic
public boolean isAtomic();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.atomic:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
public void setPushCertificate(org.eclipse.jgit.transport.PushCertificate);
descriptor: (Lorg/eclipse/jgit/transport/PushCertificate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.lib.BatchRefUpdate.pushCert:Lorg/eclipse/jgit/transport/PushCertificate;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 cert Lorg/eclipse/jgit/transport/PushCertificate;
MethodParameters:
Name Flags
cert
protected org.eclipse.jgit.transport.PushCertificate getPushCertificate();
descriptor: ()Lorg/eclipse/jgit/transport/PushCertificate;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.pushCert:Lorg/eclipse/jgit/transport/PushCertificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
public java.util.List<org.eclipse.jgit.transport.ReceiveCommand> getCommands();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
Signature: ()Ljava/util/List<Lorg/eclipse/jgit/transport/ReceiveCommand;>;
public org.eclipse.jgit.lib.BatchRefUpdate addCommand(org.eclipse.jgit.transport.ReceiveCommand);
descriptor: (Lorg/eclipse/jgit/transport/ReceiveCommand;)Lorg/eclipse/jgit/lib/BatchRefUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
MethodParameters:
Name Flags
cmd
public org.eclipse.jgit.lib.BatchRefUpdate addCommand(org.eclipse.jgit.transport.ReceiveCommand[]);
descriptor: ([Lorg/eclipse/jgit/transport/ReceiveCommand;)Lorg/eclipse/jgit/lib/BatchRefUpdate;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.addCommand:(Ljava/util/Collection;)Lorg/eclipse/jgit/lib/BatchRefUpdate;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 1 1 cmd [Lorg/eclipse/jgit/transport/ReceiveCommand;
MethodParameters:
Name Flags
cmd
public org.eclipse.jgit.lib.BatchRefUpdate addCommand(java.util.Collection<org.eclipse.jgit.transport.ReceiveCommand>);
descriptor: (Ljava/util/Collection;)Lorg/eclipse/jgit/lib/BatchRefUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 cmd Ljava/util/Collection<Lorg/eclipse/jgit/transport/ReceiveCommand;>;
Signature: (Ljava/util/Collection<Lorg/eclipse/jgit/transport/ReceiveCommand;>;)Lorg/eclipse/jgit/lib/BatchRefUpdate;
MethodParameters:
Name Flags
cmd
public java.util.List<java.lang.String> getPushOptions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.pushOptions:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
org.eclipse.jgit.annotations.Nullable()
protected void setPushOptions(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.lib.BatchRefUpdate.pushOptions:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 options Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
options
public java.util.List<org.eclipse.jgit.util.time.ProposedTimestamp> getProposedTimestamps();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.timestamps:Ljava/util/List;
ifnull 2
1: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.timestamps:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
Signature: ()Ljava/util/List<Lorg/eclipse/jgit/util/time/ProposedTimestamp;>;
public org.eclipse.jgit.lib.BatchRefUpdate addProposedTimestamp(org.eclipse.jgit.util.time.ProposedTimestamp);
descriptor: (Lorg/eclipse/jgit/util/time/ProposedTimestamp;)Lorg/eclipse/jgit/lib/BatchRefUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.timestamps:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.eclipse.jgit.lib.BatchRefUpdate.timestamps:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.timestamps:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 4 1 ts Lorg/eclipse/jgit/util/time/ProposedTimestamp;
MethodParameters:
Name Flags
ts
public void execute(org.eclipse.jgit.revwalk.RevWalk, org.eclipse.jgit.lib.ProgressMonitor, java.util.List<java.lang.String>);
descriptor: (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ProgressMonitor;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.atomic:Z
ifeq 9
aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.refdb:Lorg/eclipse/jgit/lib/RefDatabase;
invokevirtual org.eclipse.jgit.lib.RefDatabase.performsAtomicTransactions:()Z
ifne 9
1: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
astore 4
start local 4 3: aload 4
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getResult:()Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.NOT_ATTEMPTED:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
if_acmpne 7
4: aload 4
getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.REJECTED_OTHER_REASON:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
5: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.atomicRefUpdatesNotSupported:Ljava/lang/String;
6: invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/transport/ReceiveCommand$Result;Ljava/lang/String;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: return
9: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List
StackMap stack:
aload 0
getstatic org.eclipse.jgit.lib.BatchRefUpdate.MAX_WAIT:Ljava/time/Duration;
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.blockUntilTimestamps:(Ljava/time/Duration;)Z
ifne 11
10: return
11: StackMap locals:
StackMap stack:
aload 3
ifnull 13
12: aload 0
aload 3
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.setPushOptions:(Ljava/util/List;)V
13: StackMap locals:
StackMap stack:
aload 2
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.updatingReferences:Ljava/lang/String;
aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokeinterface org.eclipse.jgit.lib.ProgressMonitor.beginTask:(Ljava/lang/String;I)V
14: new java.util.ArrayList
dup
15: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
invokeinterface java.util.List.size:()I
16: invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 17: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 41
StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List top java.util.Iterator
StackMap stack:
18: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
astore 5
start local 5 19: aload 5
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getResult:()Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.NOT_ATTEMPTED:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
if_acmpne 41
20: aload 1
aload 5
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getOldId:()Lorg/eclipse/jgit/lib/ObjectId;
invokestatic org.eclipse.jgit.lib.BatchRefUpdate.isMissing:(Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ObjectId;)Z
ifne 22
21: aload 1
aload 5
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getNewId:()Lorg/eclipse/jgit/lib/ObjectId;
invokestatic org.eclipse.jgit.lib.BatchRefUpdate.isMissing:(Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ObjectId;)Z
ifeq 24
22: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List org.eclipse.jgit.transport.ReceiveCommand java.util.Iterator
StackMap stack:
aload 5
getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.REJECTED_MISSING_OBJECT:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/transport/ReceiveCommand$Result;)V
23: goto 41
24: StackMap locals:
StackMap stack:
aload 5
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.updateType:(Lorg/eclipse/jgit/revwalk/RevWalk;)V
25: invokestatic org.eclipse.jgit.lib.BatchRefUpdate.$SWITCH_TABLE$org$eclipse$jgit$transport$ReceiveCommand$Type:()[I
aload 5
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getType:()Lorg/eclipse/jgit/transport/ReceiveCommand$Type;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand$Type.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 26
2: 28
3: 28
4: 30
default: 33
}
26: StackMap locals:
StackMap stack:
aload 4
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: goto 41
28: StackMap locals:
StackMap stack:
aload 4
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: goto 41
30: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.newUpdate:(Lorg/eclipse/jgit/transport/ReceiveCommand;)Lorg/eclipse/jgit/lib/RefUpdate;
astore 7
start local 7 31: aload 2
iconst_1
invokeinterface org.eclipse.jgit.lib.ProgressMonitor.update:(I)V
32: aload 5
aload 7
aload 1
invokevirtual org.eclipse.jgit.lib.RefUpdate.delete:(Lorg/eclipse/jgit/revwalk/RevWalk;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/lib/RefUpdate$Result;)V
end local 7 33: StackMap locals:
StackMap stack:
goto 41
StackMap locals:
StackMap stack: java.io.IOException
34: astore 7
start local 7 35: aload 5
36: getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.REJECTED_OTHER_REASON:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
37: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.lockError:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
38: aload 7
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aastore
39: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
40: invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/transport/ReceiveCommand$Result;Ljava/lang/String;)V
end local 7 end local 5 41: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
42: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 82
43: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.refdb:Lorg/eclipse/jgit/lib/RefDatabase;
invokevirtual org.eclipse.jgit.lib.RefDatabase.getRefs:()Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
44: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/eclipse/jgit/lib/Ref.getName()Ljava/lang/String; (9 itf)
(Lorg/eclipse/jgit/lib/Ref;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
45: invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
java/util/HashSet.<init>()V (8)
()Ljava/util/HashSet;
invokestatic java.util.stream.Collectors.toCollection:(Ljava/util/function/Supplier;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Collection
46: astore 5
start local 5 47: aload 5
invokestatic org.eclipse.jgit.lib.BatchRefUpdate.getTakenPrefixes:(Ljava/util/Collection;)Ljava/util/Collection;
astore 6
start local 6 48: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 81
StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
49: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
astore 7
start local 7 50: aload 7
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getResult:()Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.NOT_ATTEMPTED:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
if_acmpne 80
51: aload 7
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.updateType:(Lorg/eclipse/jgit/revwalk/RevWalk;)V
52: aload 0
aload 7
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.newUpdate:(Lorg/eclipse/jgit/transport/ReceiveCommand;)Lorg/eclipse/jgit/lib/RefUpdate;
astore 9
start local 9 53: invokestatic org.eclipse.jgit.lib.BatchRefUpdate.$SWITCH_TABLE$org$eclipse$jgit$transport$ReceiveCommand$Type:()[I
aload 7
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getType:()Lorg/eclipse/jgit/transport/ReceiveCommand$Type;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand$Type.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 58
2: 55
3: 55
4: 54
default: 71
}
54: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List java.util.Collection java.util.Collection org.eclipse.jgit.transport.ReceiveCommand java.util.Iterator org.eclipse.jgit.lib.RefUpdate
StackMap stack:
goto 80
55: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.newUpdate:(Lorg/eclipse/jgit/transport/ReceiveCommand;)Lorg/eclipse/jgit/lib/RefUpdate;
astore 10
start local 10 56: aload 7
aload 10
aload 1
invokevirtual org.eclipse.jgit.lib.RefUpdate.update:(Lorg/eclipse/jgit/revwalk/RevWalk;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/lib/RefUpdate$Result;)V
57: goto 80
end local 10 58: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
invokestatic org.eclipse.jgit.lib.BatchRefUpdate.getPrefixes:(Ljava/lang/String;)Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 12
goto 63
StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List java.util.Collection java.util.Collection org.eclipse.jgit.transport.ReceiveCommand java.util.Iterator org.eclipse.jgit.lib.RefUpdate top top java.util.Iterator
StackMap stack:
59: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 60: aload 5
aload 11
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 63
61: aload 7
getstatic org.eclipse.jgit.lib.RefUpdate$Result.LOCK_FAILURE:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/lib/RefUpdate$Result;)V
62: goto 80
end local 11 63: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 59
64: aload 6
aload 7
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 67
65: aload 7
getstatic org.eclipse.jgit.lib.RefUpdate$Result.LOCK_FAILURE:Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/lib/RefUpdate$Result;)V
66: goto 80
67: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List java.util.Collection java.util.Collection org.eclipse.jgit.transport.ReceiveCommand java.util.Iterator org.eclipse.jgit.lib.RefUpdate
StackMap stack:
aload 9
iconst_0
invokevirtual org.eclipse.jgit.lib.RefUpdate.setCheckConflicting:(Z)V
68: aload 6
aload 7
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
invokestatic org.eclipse.jgit.lib.BatchRefUpdate.getPrefixes:(Ljava/lang/String;)Ljava/util/Collection;
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
69: aload 5
aload 7
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
70: aload 7
aload 9
aload 1
invokevirtual org.eclipse.jgit.lib.RefUpdate.update:(Lorg/eclipse/jgit/revwalk/RevWalk;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/lib/RefUpdate$Result;)V
end local 9 71: StackMap locals:
StackMap stack:
goto 80
StackMap locals:
StackMap stack: java.io.IOException
72: astore 9
start local 9 73: aload 7
getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.REJECTED_OTHER_REASON:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
74: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.lockError:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aastore
75: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/transport/ReceiveCommand$Result;Ljava/lang/String;)V
end local 9 76: aload 2
iconst_1
invokeinterface org.eclipse.jgit.lib.ProgressMonitor.update:(I)V
goto 81
77: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
78: aload 2
iconst_1
invokeinterface org.eclipse.jgit.lib.ProgressMonitor.update:(I)V
79: aload 13
athrow
80: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokeinterface org.eclipse.jgit.lib.ProgressMonitor.update:(I)V
end local 7 81: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 49
end local 6 end local 5 82: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.revwalk.RevWalk org.eclipse.jgit.lib.ProgressMonitor java.util.List java.util.List
StackMap stack:
aload 2
invokeinterface org.eclipse.jgit.lib.ProgressMonitor.endTask:()V
83: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 84 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 84 1 walk Lorg/eclipse/jgit/revwalk/RevWalk;
0 84 2 monitor Lorg/eclipse/jgit/lib/ProgressMonitor;
0 84 3 options Ljava/util/List<Ljava/lang/String;>;
3 7 4 c Lorg/eclipse/jgit/transport/ReceiveCommand;
17 84 4 commands2 Ljava/util/List<Lorg/eclipse/jgit/transport/ReceiveCommand;>;
19 41 5 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
31 33 7 rud Lorg/eclipse/jgit/lib/RefUpdate;
35 41 7 err Ljava/io/IOException;
47 82 5 takenNames Ljava/util/Collection<Ljava/lang/String;>;
48 82 6 takenPrefixes Ljava/util/Collection<Ljava/lang/String;>;
50 81 7 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
53 71 9 ru Lorg/eclipse/jgit/lib/RefUpdate;
56 58 10 ruu Lorg/eclipse/jgit/lib/RefUpdate;
60 63 11 prefix Ljava/lang/String;
73 76 9 err Ljava/io/IOException;
Exception table:
from to target type
19 23 34 Class java.io.IOException
24 33 34 Class java.io.IOException
50 71 72 Class java.io.IOException
50 76 77 any
Exceptions:
throws java.io.IOException
Signature: (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ProgressMonitor;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
walk
monitor
options
private static boolean isMissing(org.eclipse.jgit.revwalk.RevWalk, org.eclipse.jgit.lib.ObjectId);
descriptor: (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ObjectId;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.eclipse.jgit.lib.ObjectId.zeroId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.ObjectId.equals:(Lorg/eclipse/jgit/lib/AnyObjectId;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseAny:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevObject;
pop
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack: org.eclipse.jgit.errors.MissingObjectException
pop
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 walk Lorg/eclipse/jgit/revwalk/RevWalk;
0 6 1 id Lorg/eclipse/jgit/lib/ObjectId;
Exception table:
from to target type
2 3 4 Class org.eclipse.jgit.errors.MissingObjectException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
walk
id
protected boolean blockUntilTimestamps(java.time.Duration);
descriptor: (Ljava/time/Duration;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.timestamps:Ljava/util/List;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.timestamps:Ljava/util/List;
aload 1
invokestatic org.eclipse.jgit.util.time.ProposedTimestamp.blockUntil:(Ljava/lang/Iterable;Ljava/time/Duration;)V
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack: java.lang.Exception
pop
5: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.timeIsUncertain:Ljava/lang/String;
astore 2
start local 2 6: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate java.time.Duration java.lang.String top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
astore 3
start local 3 8: aload 3
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getResult:()Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.NOT_ATTEMPTED:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
if_acmpne 10
9: aload 3
getstatic org.eclipse.jgit.transport.ReceiveCommand$Result.REJECTED_OTHER_REASON:Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
aload 2
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.setResult:(Lorg/eclipse/jgit/transport/ReceiveCommand$Result;Ljava/lang/String;)V
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 12 1 maxWait Ljava/time/Duration;
6 12 2 msg Ljava/lang/String;
8 10 3 c Lorg/eclipse/jgit/transport/ReceiveCommand;
Exception table:
from to target type
2 3 4 Class java.util.concurrent.TimeoutException
2 3 4 Class java.lang.InterruptedException
MethodParameters:
Name Flags
maxWait
public void execute(org.eclipse.jgit.revwalk.RevWalk, org.eclipse.jgit.lib.ProgressMonitor);
descriptor: (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ProgressMonitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.execute:(Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ProgressMonitor;Ljava/util/List;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 2 1 walk Lorg/eclipse/jgit/revwalk/RevWalk;
0 2 2 monitor Lorg/eclipse/jgit/lib/ProgressMonitor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
walk
monitor
private static java.util.Collection<java.lang.String> getTakenPrefixes(java.util.Collection<java.lang.String>);
descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 2
aload 1
invokestatic org.eclipse.jgit.lib.BatchRefUpdate.addPrefixesTo:(Ljava/lang/String;Ljava/util/Collection;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 names Ljava/util/Collection<Ljava/lang/String;>;
1 6 1 ref Ljava/util/Collection<Ljava/lang/String;>;
3 4 2 name Ljava/lang/String;
Signature: (Ljava/util/Collection<Ljava/lang/String;>;)Ljava/util/Collection<Ljava/lang/String;>;
MethodParameters:
Name Flags
names
protected static java.util.Collection<java.lang.String> getPrefixes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.eclipse.jgit.lib.BatchRefUpdate.addPrefixesTo:(Ljava/lang/String;Ljava/util/Collection;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
1 3 1 ret Ljava/util/Collection<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/Collection<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
protected static void addPrefixesTo(java.lang.String, java.util.Collection<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/Collection;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 1
aload 0
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
3: aload 0
bipush 47
iload 2
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 2
4: StackMap locals:
StackMap stack:
iload 2
ifgt 2
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
0 6 1 out Ljava/util/Collection<Ljava/lang/String;>;
1 6 2 p1 I
Signature: (Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
name
out
protected org.eclipse.jgit.lib.RefUpdate newUpdate(org.eclipse.jgit.transport.ReceiveCommand);
descriptor: (Lorg/eclipse/jgit/transport/ReceiveCommand;)Lorg/eclipse/jgit/lib/RefUpdate;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.refdb:Lorg/eclipse/jgit/lib/RefDatabase;
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
iconst_0
invokevirtual org.eclipse.jgit.lib.RefDatabase.newUpdate:(Ljava/lang/String;Z)Lorg/eclipse/jgit/lib/RefUpdate;
astore 2
start local 2 1: aload 0
aload 1
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.isRefLogDisabled:(Lorg/eclipse/jgit/transport/ReceiveCommand;)Z
ifeq 4
2: aload 2
invokevirtual org.eclipse.jgit.lib.RefUpdate.disableRefLog:()V
3: goto 7
4: StackMap locals: org.eclipse.jgit.lib.RefUpdate
StackMap stack:
aload 2
aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.refLogIdent:Lorg/eclipse/jgit/lib/PersonIdent;
invokevirtual org.eclipse.jgit.lib.RefUpdate.setRefLogIdent:(Lorg/eclipse/jgit/lib/PersonIdent;)V
5: aload 2
aload 0
aload 1
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.getRefLogMessage:(Lorg/eclipse/jgit/transport/ReceiveCommand;)Ljava/lang/String;
aload 0
aload 1
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.isRefLogIncludingResult:(Lorg/eclipse/jgit/transport/ReceiveCommand;)Z
invokevirtual org.eclipse.jgit.lib.RefUpdate.setRefLogMessage:(Ljava/lang/String;Z)V
6: aload 2
aload 0
aload 1
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.isForceRefLog:(Lorg/eclipse/jgit/transport/ReceiveCommand;)Z
invokevirtual org.eclipse.jgit.lib.RefUpdate.setForceRefLog:(Z)V
7: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.pushCert:Lorg/eclipse/jgit/transport/PushCertificate;
invokevirtual org.eclipse.jgit.lib.RefUpdate.setPushCertificate:(Lorg/eclipse/jgit/transport/PushCertificate;)V
8: invokestatic org.eclipse.jgit.lib.BatchRefUpdate.$SWITCH_TABLE$org$eclipse$jgit$transport$ReceiveCommand$Type:()[I
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getType:()Lorg/eclipse/jgit/transport/ReceiveCommand$Type;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand$Type.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 13
2: 13
3: 13
4: 9
default: 13
}
9: StackMap locals:
StackMap stack:
invokestatic org.eclipse.jgit.lib.ObjectId.zeroId:()Lorg/eclipse/jgit/lib/ObjectId;
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getOldId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.ObjectId.equals:(Lorg/eclipse/jgit/lib/AnyObjectId;)Z
ifne 11
10: aload 2
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getOldId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.RefUpdate.setExpectedOldObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
11: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokevirtual org.eclipse.jgit.lib.RefUpdate.setForceUpdate:(Z)V
12: aload 2
areturn
13: StackMap locals:
StackMap stack:
aload 2
aload 0
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.isAllowNonFastForwards:()Z
invokevirtual org.eclipse.jgit.lib.RefUpdate.setForceUpdate:(Z)V
14: aload 2
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getOldId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.RefUpdate.setExpectedOldObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
15: aload 2
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getNewId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.RefUpdate.setNewObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
16: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 17 1 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
1 17 2 ru Lorg/eclipse/jgit/lib/RefUpdate;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cmd
protected boolean isRefLogDisabled(org.eclipse.jgit.transport.ReceiveCommand);
descriptor: (Lorg/eclipse/jgit/transport/ReceiveCommand;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.hasCustomRefLog:()Z
ifeq 1
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.isRefLogDisabled:()Z
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.isRefLogDisabled:()Z
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 3 1 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
MethodParameters:
Name Flags
cmd
protected java.lang.String getRefLogMessage(org.eclipse.jgit.transport.ReceiveCommand);
descriptor: (Lorg/eclipse/jgit/transport/ReceiveCommand;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.hasCustomRefLog:()Z
ifeq 1
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefLogMessage:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.getRefLogMessage:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 3 1 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
MethodParameters:
Name Flags
cmd
protected boolean isRefLogIncludingResult(org.eclipse.jgit.transport.ReceiveCommand);
descriptor: (Lorg/eclipse/jgit/transport/ReceiveCommand;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.hasCustomRefLog:()Z
ifeq 2
1: aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.isRefLogIncludingResult:()Z
goto 3
StackMap locals:
StackMap stack:
2: aload 0
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.isRefLogIncludingResult:()Z
3: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 4 1 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
MethodParameters:
Name Flags
cmd
protected boolean isForceRefLog(org.eclipse.jgit.transport.ReceiveCommand);
descriptor: (Lorg/eclipse/jgit/transport/ReceiveCommand;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.isForceRefLog:()Ljava/lang/Boolean;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
goto 3
2: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.isForceRefLog:()Z
3: StackMap locals:
StackMap stack: int
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
0 4 1 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
1 4 2 isForceRefLog Ljava/lang/Boolean;
MethodParameters:
Name Flags
cmd
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 0
getfield org.eclipse.jgit.lib.BatchRefUpdate.commands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate java.lang.StringBuilder top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
astore 2
start local 2 7: aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
9: aload 1
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getResult:()Lorg/eclipse/jgit/transport/ReceiveCommand$Result;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: aload 2
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getMessage:()Ljava/lang/String;
ifnull 12
11: aload 1
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate java.lang.StringBuilder org.eclipse.jgit.transport.ReceiveCommand java.util.Iterator
StackMap stack:
aload 1
ldc ")\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 13: StackMap locals: org.eclipse.jgit.lib.BatchRefUpdate java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jgit/lib/BatchRefUpdate;
1 15 1 r Ljava/lang/StringBuilder;
7 13 2 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
static int[] $SWITCH_TABLE$org$eclipse$jgit$transport$ReceiveCommand$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jgit.lib.BatchRefUpdate.$SWITCH_TABLE$org$eclipse$jgit$transport$ReceiveCommand$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jgit.transport.ReceiveCommand$Type.values:()[Lorg/eclipse/jgit/transport/ReceiveCommand$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jgit.transport.ReceiveCommand$Type.CREATE:Lorg/eclipse/jgit/transport/ReceiveCommand$Type;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand$Type.ordinal:()I
iconst_1
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.transport.ReceiveCommand$Type.DELETE:Lorg/eclipse/jgit/transport/ReceiveCommand$Type;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand$Type.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jgit.transport.ReceiveCommand$Type.UPDATE:Lorg/eclipse/jgit/transport/ReceiveCommand$Type;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand$Type.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jgit.transport.ReceiveCommand$Type.UPDATE_NONFASTFORWARD:Lorg/eclipse/jgit/transport/ReceiveCommand$Type;
invokevirtual org.eclipse.jgit.transport.ReceiveCommand$Type.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.eclipse.jgit.lib.BatchRefUpdate.$SWITCH_TABLE$org$eclipse$jgit$transport$ReceiveCommand$Type:[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
}
SourceFile: "BatchRefUpdate.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Result = org.eclipse.jgit.lib.RefUpdate$Result of org.eclipse.jgit.lib.RefUpdate
public final Result = org.eclipse.jgit.transport.ReceiveCommand$Result of org.eclipse.jgit.transport.ReceiveCommand
public final Type = org.eclipse.jgit.transport.ReceiveCommand$Type of org.eclipse.jgit.transport.ReceiveCommand