public class org.eclipse.jgit.transport.PushCertificateStore implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.transport.PushCertificateStore
super_class: java.lang.Object
{
static final java.lang.String REF_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "refs/meta/push-certs"
private final org.eclipse.jgit.lib.Repository db;
descriptor: Lorg/eclipse/jgit/lib/Repository;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.eclipse.jgit.transport.PushCertificateStore$PendingCert> pending;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;>;
org.eclipse.jgit.lib.ObjectReader reader;
descriptor: Lorg/eclipse/jgit/lib/ObjectReader;
flags: (0x0000)
org.eclipse.jgit.revwalk.RevCommit commit;
descriptor: Lorg/eclipse/jgit/revwalk/RevCommit;
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$org$eclipse$jgit$lib$RefUpdate$Result;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/lib/Repository;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.transport.PushCertificateStore.db:Lorg/eclipse/jgit/lib/Repository;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
0 4 1 db Lorg/eclipse/jgit/lib/Repository;
MethodParameters:
Name Flags
db
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
ifnull 4
1: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
invokevirtual org.eclipse.jgit.lib.ObjectReader.close:()V
2: aload 0
aconst_null
putfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
3: aload 0
aconst_null
putfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
public org.eclipse.jgit.transport.PushCertificate get(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/transport/PushCertificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
ifnonnull 2
1: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.load:()V
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
3: aload 0
aload 1
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.newTreeWalk:(Ljava/lang/String;)Lorg/eclipse/jgit/treewalk/TreeWalk;
astore 4
start local 4 4: aload 4
invokestatic org.eclipse.jgit.transport.PushCertificateStore.read:(Lorg/eclipse/jgit/treewalk/TreeWalk;)Lorg/eclipse/jgit/transport/PushCertificate;
5: aload 4
ifnull 6
aload 4
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.close:()V
6: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore java.lang.String java.lang.Throwable java.lang.Throwable org.eclipse.jgit.treewalk.TreeWalk
StackMap stack: org.eclipse.jgit.transport.PushCertificate
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
8: aload 4
ifnull 9
aload 4
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.close:()V
end local 4 StackMap locals:
StackMap stack:
9: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
aload 2
ifnonnull 11
aload 3
astore 2
goto 12
StackMap locals:
StackMap stack:
11: aload 2
aload 3
if_acmpeq 12
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
0 13 1 refName Ljava/lang/String;
4 9 4 tw Lorg/eclipse/jgit/treewalk/TreeWalk;
Exception table:
from to target type
4 5 7 any
3 6 10 any
7 10 10 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
refName
public java.lang.Iterable<org.eclipse.jgit.transport.PushCertificate> getAll(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic iterator(Lorg/eclipse/jgit/transport/PushCertificateStore;Ljava/lang/String;)Ljava/lang/Iterable;
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/util/Iterator;
org/eclipse/jgit/transport/PushCertificateStore.lambda$0(Ljava/lang/String;)Ljava/util/Iterator; (7)
()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
0 1 1 refName Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/lang/Iterable<Lorg/eclipse/jgit/transport/PushCertificate;>;
MethodParameters:
Name Flags
refName
void load();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.close:()V
1: aload 0
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.db:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.newObjectReader:()Lorg/eclipse/jgit/lib/ObjectReader;
putfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
2: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.db:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.getRefDatabase:()Lorg/eclipse/jgit/lib/RefDatabase;
ldc "refs/meta/push-certs"
invokevirtual org.eclipse.jgit.lib.RefDatabase.exactRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;
astore 1
start local 1 3: aload 1
ifnonnull 5
4: return
5: StackMap locals: org.eclipse.jgit.lib.Ref
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
6: new org.eclipse.jgit.revwalk.RevWalk
dup
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
invokespecial org.eclipse.jgit.revwalk.RevWalk.<init>:(Lorg/eclipse/jgit/lib/ObjectReader;)V
astore 4
start local 4 7: aload 0
aload 4
aload 1
invokeinterface org.eclipse.jgit.lib.Ref.getObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.revwalk.RevWalk.parseCommit:(Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/revwalk/RevCommit;
putfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
8: aload 4
ifnull 14
aload 4
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
goto 14
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.Ref java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk
StackMap stack: java.lang.Throwable
9: astore 2
aload 4
ifnull 10
aload 4
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
3 15 1 ref Lorg/eclipse/jgit/lib/Ref;
7 10 4 rw Lorg/eclipse/jgit/revwalk/RevWalk;
Exception table:
from to target type
7 8 9 any
6 11 11 any
Exceptions:
throws java.io.IOException
static org.eclipse.jgit.transport.PushCertificate read(org.eclipse.jgit.treewalk.TreeWalk);
descriptor: (Lorg/eclipse/jgit/treewalk/TreeWalk;)Lorg/eclipse/jgit/transport/PushCertificate;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
iconst_0
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getRawMode:(I)I
ldc 32768
iand
ldc 32768
if_icmpeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getObjectReader:()Lorg/eclipse/jgit/lib/ObjectReader;
aload 0
iconst_0
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getObjectId:(I)Lorg/eclipse/jgit/lib/ObjectId;
iconst_3
invokevirtual org.eclipse.jgit.lib.ObjectReader.open:(Lorg/eclipse/jgit/lib/AnyObjectId;I)Lorg/eclipse/jgit/lib/ObjectLoader;
3: astore 1
start local 1 4: aconst_null
astore 2
aconst_null
astore 3
5: aload 1
invokevirtual org.eclipse.jgit.lib.ObjectLoader.openStream:()Lorg/eclipse/jgit/lib/ObjectStream;
astore 4
start local 4 6: new java.io.BufferedReader
dup
7: new java.io.InputStreamReader
dup
aload 4
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
8: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 5
start local 5 9: aload 5
invokestatic org.eclipse.jgit.transport.PushCertificateParser.fromReader:(Ljava/io/Reader;)Lorg/eclipse/jgit/transport/PushCertificate;
10: aload 5
ifnull 11
aload 5
invokevirtual java.io.Reader.close:()V
StackMap locals: org.eclipse.jgit.treewalk.TreeWalk org.eclipse.jgit.lib.ObjectLoader java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.Reader
StackMap stack: org.eclipse.jgit.transport.PushCertificate
11: aload 4
ifnull 12
aload 4
invokevirtual java.io.InputStream.close:()V
12: StackMap locals:
StackMap stack: org.eclipse.jgit.transport.PushCertificate
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 2
14: aload 5
ifnull 15
aload 5
invokevirtual java.io.Reader.close:()V
end local 5 StackMap locals:
StackMap stack:
15: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 3
aload 2
ifnonnull 17
aload 3
astore 2
goto 18
StackMap locals:
StackMap stack:
17: aload 2
aload 3
if_acmpeq 18
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 4
ifnull 19
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
19: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 3
aload 2
ifnonnull 21
aload 3
astore 2
goto 22
StackMap locals:
StackMap stack:
21: aload 2
aload 3
if_acmpeq 22
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 tw Lorg/eclipse/jgit/treewalk/TreeWalk;
4 23 1 loader Lorg/eclipse/jgit/lib/ObjectLoader;
6 19 4 in Ljava/io/InputStream;
9 15 5 r Ljava/io/Reader;
Exception table:
from to target type
9 10 13 any
6 11 16 any
13 16 16 any
5 12 20 any
13 20 20 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tw
public void put(org.eclipse.jgit.transport.PushCertificate, org.eclipse.jgit.lib.PersonIdent);
descriptor: (Lorg/eclipse/jgit/transport/PushCertificate;Lorg/eclipse/jgit/lib/PersonIdent;)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.transport.PushCertificateStore.put:(Lorg/eclipse/jgit/transport/PushCertificate;Lorg/eclipse/jgit/lib/PersonIdent;Ljava/util/Collection;)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/transport/PushCertificateStore;
0 2 1 cert Lorg/eclipse/jgit/transport/PushCertificate;
0 2 2 ident Lorg/eclipse/jgit/lib/PersonIdent;
MethodParameters:
Name Flags
cert
ident
public void put(org.eclipse.jgit.transport.PushCertificate, org.eclipse.jgit.lib.PersonIdent, java.util.Collection<org.eclipse.jgit.transport.ReceiveCommand>);
descriptor: (Lorg/eclipse/jgit/transport/PushCertificate;Lorg/eclipse/jgit/lib/PersonIdent;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
new org.eclipse.jgit.transport.PushCertificateStore$PendingCert
dup
aload 1
aload 2
aload 3
invokespecial org.eclipse.jgit.transport.PushCertificateStore$PendingCert.<init>:(Lorg/eclipse/jgit/transport/PushCertificate;Lorg/eclipse/jgit/lib/PersonIdent;Ljava/util/Collection;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
0 2 1 cert Lorg/eclipse/jgit/transport/PushCertificate;
0 2 2 ident Lorg/eclipse/jgit/lib/PersonIdent;
0 2 3 matching Ljava/util/Collection<Lorg/eclipse/jgit/transport/ReceiveCommand;>;
Signature: (Lorg/eclipse/jgit/transport/PushCertificate;Lorg/eclipse/jgit/lib/PersonIdent;Ljava/util/Collection<Lorg/eclipse/jgit/transport/ReceiveCommand;>;)V
MethodParameters:
Name Flags
cert
ident
matching
public org.eclipse.jgit.lib.RefUpdate$Result save();
descriptor: ()Lorg/eclipse/jgit/lib/RefUpdate$Result;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.write:()Lorg/eclipse/jgit/lib/ObjectId;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: getstatic org.eclipse.jgit.lib.RefUpdate$Result.NO_CHANGE:Lorg/eclipse/jgit/lib/RefUpdate$Result;
areturn
3: StackMap locals: org.eclipse.jgit.lib.ObjectId
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
4: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.db:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.newObjectInserter:()Lorg/eclipse/jgit/lib/ObjectInserter;
astore 4
start local 4 5: aload 0
aload 1
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.updateRef:(Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
astore 5
start local 5 6: invokestatic org.eclipse.jgit.transport.PushCertificateStore.$SWITCH_TABLE$org$eclipse$jgit$lib$RefUpdate$Result:()[I
aload 5
invokevirtual org.eclipse.jgit.lib.RefUpdate$Result.ordinal:()I
iaload
tableswitch { // 3 - 6
3: 7
4: 7
5: 9
6: 7
default: 9
}
7: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.lib.RefUpdate$Result
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
invokeinterface java.util.List.clear:()V
8: goto 9
9: StackMap locals:
StackMap stack:
aload 5
astore 7
10: aload 4
ifnull 11
aload 4
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
11: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.lib.RefUpdate$Result top org.eclipse.jgit.lib.RefUpdate$Result
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.close:()V
12: aload 7
areturn
end local 5 StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter
StackMap stack: java.lang.Throwable
13: astore 2
14: aload 4
ifnull 15
aload 4
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
end local 4 StackMap locals:
StackMap stack:
15: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 3
aload 2
ifnonnull 17
aload 3
astore 2
goto 18
StackMap locals:
StackMap stack:
17: aload 2
aload 3
if_acmpeq 18
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 2
athrow
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId
StackMap stack: java.lang.Throwable
19: astore 6
20: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.close:()V
21: aload 6
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
1 22 1 newId Lorg/eclipse/jgit/lib/ObjectId;
5 15 4 inserter Lorg/eclipse/jgit/lib/ObjectInserter;
6 13 5 result Lorg/eclipse/jgit/lib/RefUpdate$Result;
Exception table:
from to target type
5 10 13 any
4 11 16 any
13 16 16 any
3 11 19 any
13 19 19 any
Exceptions:
throws java.io.IOException
public boolean save(org.eclipse.jgit.lib.BatchRefUpdate);
descriptor: (Lorg/eclipse/jgit/lib/BatchRefUpdate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.write:()Lorg/eclipse/jgit/lib/ObjectId;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
invokevirtual org.eclipse.jgit.lib.ObjectId.equals:(Lorg/eclipse/jgit/lib/AnyObjectId;)Z
ifeq 3
2: StackMap locals: org.eclipse.jgit.lib.ObjectId
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
4: new org.eclipse.jgit.transport.ReceiveCommand
dup
5: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
ifnull 6
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
goto 7
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.lib.ObjectId
StackMap stack: org.eclipse.jgit.lib.BatchRefUpdate new 4 new 4
6: invokestatic org.eclipse.jgit.lib.ObjectId.zeroId:()Lorg/eclipse/jgit/lib/ObjectId;
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.BatchRefUpdate org.eclipse.jgit.lib.ObjectId
StackMap stack: org.eclipse.jgit.lib.BatchRefUpdate new 4 new 4 org.eclipse.jgit.lib.ObjectId
7: aload 2
ldc "refs/meta/push-certs"
invokespecial org.eclipse.jgit.transport.ReceiveCommand.<init>:(Lorg/eclipse/jgit/lib/ObjectId;Lorg/eclipse/jgit/lib/ObjectId;Ljava/lang/String;)V
8: invokevirtual org.eclipse.jgit.lib.BatchRefUpdate.addCommand:(Lorg/eclipse/jgit/transport/ReceiveCommand;)Lorg/eclipse/jgit/lib/BatchRefUpdate;
pop
9: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
0 10 1 batch Lorg/eclipse/jgit/lib/BatchRefUpdate;
1 10 2 newId Lorg/eclipse/jgit/lib/ObjectId;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
batch
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
private org.eclipse.jgit.lib.ObjectId write();
descriptor: ()Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
ifnonnull 4
3: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.load:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
invokestatic org.eclipse.jgit.transport.PushCertificateStore.sortPending:(Ljava/util/List;)V
5: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
astore 1
start local 1 6: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.newDirCache:()Lorg/eclipse/jgit/dircache/DirCache;
astore 2
start local 2 7: aconst_null
astore 3
aconst_null
astore 4
8: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.db:Lorg/eclipse/jgit/lib/Repository;
invokevirtual org.eclipse.jgit.lib.Repository.newObjectInserter:()Lorg/eclipse/jgit/lib/ObjectInserter;
astore 5
start local 5 9: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.dircache.DirCache java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter top java.util.Iterator
StackMap stack:
10: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.PushCertificateStore$PendingCert
astore 6
start local 6 11: aload 0
aload 5
aload 2
aload 6
aload 1
invokevirtual org.eclipse.jgit.transport.PushCertificateStore.saveCert:(Lorg/eclipse/jgit/lib/ObjectInserter;Lorg/eclipse/jgit/dircache/DirCache;Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/lib/ObjectId;
astore 1
end local 6 12: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 5
invokevirtual org.eclipse.jgit.lib.ObjectInserter.flush:()V
14: aload 1
15: aload 5
ifnull 16
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
16: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.dircache.DirCache java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectInserter
StackMap stack: org.eclipse.jgit.lib.ObjectId
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 3
18: aload 5
ifnull 19
aload 5
invokevirtual org.eclipse.jgit.lib.ObjectInserter.close:()V
end local 5 StackMap locals:
StackMap stack:
19: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 4
aload 3
ifnonnull 21
aload 4
astore 3
goto 22
StackMap locals:
StackMap stack:
21: aload 3
aload 4
if_acmpeq 22
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
6 23 1 curr Lorg/eclipse/jgit/lib/ObjectId;
7 23 2 dc Lorg/eclipse/jgit/dircache/DirCache;
9 19 5 inserter Lorg/eclipse/jgit/lib/ObjectInserter;
11 12 6 pc Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;
Exception table:
from to target type
9 15 17 any
8 16 20 any
17 20 20 any
Exceptions:
throws java.io.IOException
private static void sortPending(java.util.List<org.eclipse.jgit.transport.PushCertificateStore$PendingCert>);
descriptor: (Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic compare()Ljava/util/Comparator;
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;)I
org/eclipse/jgit/transport/PushCertificateStore.lambda$1(Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;)I (6)
(Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;)I
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pending Ljava/util/List<Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;>;
Signature: (Ljava/util/List<Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;>;)V
MethodParameters:
Name Flags
pending
private org.eclipse.jgit.dircache.DirCache newDirCache();
descriptor: ()Lorg/eclipse/jgit/dircache/DirCache;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
ifnull 2
1: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getTree:()Lorg/eclipse/jgit/revwalk/RevTree;
invokestatic org.eclipse.jgit.dircache.DirCache.read:(Lorg/eclipse/jgit/lib/ObjectReader;Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/dircache/DirCache;
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.eclipse.jgit.dircache.DirCache.newInCore:()Lorg/eclipse/jgit/dircache/DirCache;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
Exceptions:
throws java.io.IOException
private org.eclipse.jgit.lib.ObjectId saveCert(org.eclipse.jgit.lib.ObjectInserter, org.eclipse.jgit.dircache.DirCache, org.eclipse.jgit.transport.PushCertificateStore$PendingCert, org.eclipse.jgit.lib.ObjectId);
descriptor: (Lorg/eclipse/jgit/lib/ObjectInserter;Lorg/eclipse/jgit/dircache/DirCache;Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.matching:Ljava/util/Collection;
ifnull 8
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 2: aload 3
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.matching:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 6
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.transport.PushCertificateStore$PendingCert org.eclipse.jgit.lib.ObjectId java.util.Map top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
astore 6
start local 6 4: aload 5
aload 6
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 6
5: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 6 6: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: goto 9
end local 5 8: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.transport.PushCertificateStore$PendingCert org.eclipse.jgit.lib.ObjectId
StackMap stack:
aconst_null
astore 5
start local 5 9: StackMap locals: java.util.Map
StackMap stack:
aload 2
invokevirtual org.eclipse.jgit.dircache.DirCache.editor:()Lorg/eclipse/jgit/dircache/DirCacheEditor;
astore 6
start local 6 10: new java.lang.StringBuilder
dup
aload 3
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.cert:Lorg/eclipse/jgit/transport/PushCertificate;
invokevirtual org.eclipse.jgit.transport.PushCertificate.toText:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.cert:Lorg/eclipse/jgit/transport/PushCertificate;
invokevirtual org.eclipse.jgit.transport.PushCertificate.getSignature:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 11: aload 1
iconst_3
aload 7
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(I[B)Lorg/eclipse/jgit/lib/ObjectId;
astore 8
start local 8 12: iconst_0
istore 9
start local 9 13: aload 3
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.cert:Lorg/eclipse/jgit/transport/PushCertificate;
invokevirtual org.eclipse.jgit.transport.PushCertificate.getCommands:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 19
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.transport.PushCertificateStore$PendingCert org.eclipse.jgit.lib.ObjectId java.util.Map org.eclipse.jgit.dircache.DirCacheEditor java.lang.String org.eclipse.jgit.lib.ObjectId int top java.util.Iterator
StackMap stack:
14: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
astore 10
start local 10 15: aload 5
ifnull 17
aload 10
aload 5
aload 10
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
invokestatic org.eclipse.jgit.transport.PushCertificateStore.commandsEqual:(Lorg/eclipse/jgit/transport/ReceiveCommand;Lorg/eclipse/jgit/transport/ReceiveCommand;)Z
ifne 17
16: goto 19
17: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.transport.PushCertificateStore$PendingCert org.eclipse.jgit.lib.ObjectId java.util.Map org.eclipse.jgit.dircache.DirCacheEditor java.lang.String org.eclipse.jgit.lib.ObjectId int org.eclipse.jgit.transport.ReceiveCommand java.util.Iterator
StackMap stack:
iconst_1
istore 9
18: aload 6
new org.eclipse.jgit.transport.PushCertificateStore$2
dup
aload 0
aload 10
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
invokestatic org.eclipse.jgit.transport.PushCertificateStore.pathName:(Ljava/lang/String;)Ljava/lang/String;
aload 8
invokespecial org.eclipse.jgit.transport.PushCertificateStore$2.<init>:(Lorg/eclipse/jgit/transport/PushCertificateStore;Ljava/lang/String;Lorg/eclipse/jgit/lib/ObjectId;)V
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.add:(Lorg/eclipse/jgit/dircache/DirCacheEditor$PathEdit;)V
end local 10 19: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.transport.PushCertificateStore$PendingCert org.eclipse.jgit.lib.ObjectId java.util.Map org.eclipse.jgit.dircache.DirCacheEditor java.lang.String org.eclipse.jgit.lib.ObjectId int top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
20: iload 9
ifne 22
21: aload 4
areturn
22: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectInserter org.eclipse.jgit.dircache.DirCache org.eclipse.jgit.transport.PushCertificateStore$PendingCert org.eclipse.jgit.lib.ObjectId java.util.Map org.eclipse.jgit.dircache.DirCacheEditor java.lang.String org.eclipse.jgit.lib.ObjectId int
StackMap stack:
aload 6
invokevirtual org.eclipse.jgit.dircache.DirCacheEditor.finish:()V
23: new org.eclipse.jgit.lib.CommitBuilder
dup
invokespecial org.eclipse.jgit.lib.CommitBuilder.<init>:()V
astore 10
start local 10 24: aload 10
aload 3
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.ident:Lorg/eclipse/jgit/lib/PersonIdent;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setAuthor:(Lorg/eclipse/jgit/lib/PersonIdent;)V
25: aload 10
aload 3
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.ident:Lorg/eclipse/jgit/lib/PersonIdent;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setCommitter:(Lorg/eclipse/jgit/lib/PersonIdent;)V
26: aload 10
aload 2
aload 1
invokevirtual org.eclipse.jgit.dircache.DirCache.writeTree:(Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setTreeId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
27: aload 4
ifnull 30
28: aload 10
aload 4
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setParentId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
29: goto 31
30: StackMap locals: org.eclipse.jgit.lib.CommitBuilder
StackMap stack:
aload 10
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setParentIds:(Ljava/util/List;)V
31: StackMap locals:
StackMap stack:
aload 10
aload 3
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.cert:Lorg/eclipse/jgit/transport/PushCertificate;
invokestatic org.eclipse.jgit.transport.PushCertificateStore.buildMessage:(Lorg/eclipse/jgit/transport/PushCertificate;)Ljava/lang/String;
invokevirtual org.eclipse.jgit.lib.CommitBuilder.setMessage:(Ljava/lang/String;)V
32: aload 1
iconst_1
aload 10
invokevirtual org.eclipse.jgit.lib.CommitBuilder.build:()[B
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(I[B)Lorg/eclipse/jgit/lib/ObjectId;
areturn
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 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
0 33 1 inserter Lorg/eclipse/jgit/lib/ObjectInserter;
0 33 2 dc Lorg/eclipse/jgit/dircache/DirCache;
0 33 3 pc Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;
0 33 4 curr Lorg/eclipse/jgit/lib/ObjectId;
2 8 5 byRef Ljava/util/Map<Ljava/lang/String;Lorg/eclipse/jgit/transport/ReceiveCommand;>;
9 33 5 byRef Ljava/util/Map<Ljava/lang/String;Lorg/eclipse/jgit/transport/ReceiveCommand;>;
4 6 6 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
10 33 6 editor Lorg/eclipse/jgit/dircache/DirCacheEditor;
11 33 7 certText Ljava/lang/String;
12 33 8 certId Lorg/eclipse/jgit/lib/ObjectId;
13 33 9 any Z
15 19 10 cmd Lorg/eclipse/jgit/transport/ReceiveCommand;
24 33 10 cb Lorg/eclipse/jgit/lib/CommitBuilder;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inserter
dc
pc
curr
private static boolean commandsEqual(org.eclipse.jgit.transport.ReceiveCommand, org.eclipse.jgit.transport.ReceiveCommand);
descriptor: (Lorg/eclipse/jgit/transport/ReceiveCommand;Lorg/eclipse/jgit/transport/ReceiveCommand;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 3
1: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
4: aload 0
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getOldId:()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
ifeq 7
5: aload 0
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getNewId:()Lorg/eclipse/jgit/lib/ObjectId;
aload 1
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getNewId:()Lorg/eclipse/jgit/lib/ObjectId;
invokevirtual org.eclipse.jgit.lib.ObjectId.equals:(Lorg/eclipse/jgit/lib/AnyObjectId;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 c1 Lorg/eclipse/jgit/transport/ReceiveCommand;
0 8 1 c2 Lorg/eclipse/jgit/transport/ReceiveCommand;
MethodParameters:
Name Flags
c1
c2
private org.eclipse.jgit.lib.RefUpdate$Result updateRef(org.eclipse.jgit.lib.ObjectId);
descriptor: (Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.db:Lorg/eclipse/jgit/lib/Repository;
ldc "refs/meta/push-certs"
invokevirtual org.eclipse.jgit.lib.Repository.updateRef:(Ljava/lang/String;)Lorg/eclipse/jgit/lib/RefUpdate;
astore 2
start local 2 1: aload 2
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
ifnull 2
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
goto 3
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.lib.RefUpdate
StackMap stack: org.eclipse.jgit.lib.RefUpdate
2: invokestatic org.eclipse.jgit.lib.ObjectId.zeroId:()Lorg/eclipse/jgit/lib/ObjectId;
StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.lib.RefUpdate
StackMap stack: org.eclipse.jgit.lib.RefUpdate org.eclipse.jgit.lib.ObjectId
3: invokevirtual org.eclipse.jgit.lib.RefUpdate.setExpectedOldObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
4: aload 2
aload 1
invokevirtual org.eclipse.jgit.lib.RefUpdate.setNewObjectId:(Lorg/eclipse/jgit/lib/AnyObjectId;)V
5: aload 2
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.pending:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.PushCertificateStore$PendingCert
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.ident:Lorg/eclipse/jgit/lib/PersonIdent;
invokevirtual org.eclipse.jgit.lib.RefUpdate.setRefLogIdent:(Lorg/eclipse/jgit/lib/PersonIdent;)V
6: aload 2
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.storePushCertReflog:Ljava/lang/String;
iconst_0
invokevirtual org.eclipse.jgit.lib.RefUpdate.setRefLogMessage:(Ljava/lang/String;Z)V
7: aconst_null
astore 3
aconst_null
astore 4
8: new org.eclipse.jgit.revwalk.RevWalk
dup
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
invokespecial org.eclipse.jgit.revwalk.RevWalk.<init>:(Lorg/eclipse/jgit/lib/ObjectReader;)V
astore 5
start local 5 9: aload 2
aload 5
invokevirtual org.eclipse.jgit.lib.RefUpdate.update:(Lorg/eclipse/jgit/revwalk/RevWalk;)Lorg/eclipse/jgit/lib/RefUpdate$Result;
10: aload 5
ifnull 11
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
11: StackMap locals: org.eclipse.jgit.transport.PushCertificateStore org.eclipse.jgit.lib.ObjectId org.eclipse.jgit.lib.RefUpdate java.lang.Throwable java.lang.Throwable org.eclipse.jgit.revwalk.RevWalk
StackMap stack: org.eclipse.jgit.lib.RefUpdate$Result
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 3
13: aload 5
ifnull 14
aload 5
invokevirtual org.eclipse.jgit.revwalk.RevWalk.close:()V
end local 5 StackMap locals:
StackMap stack:
14: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 4
aload 3
ifnonnull 16
aload 4
astore 3
goto 17
StackMap locals:
StackMap stack:
16: aload 3
aload 4
if_acmpeq 17
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
0 18 1 newId Lorg/eclipse/jgit/lib/ObjectId;
1 18 2 ru Lorg/eclipse/jgit/lib/RefUpdate;
9 14 5 rw Lorg/eclipse/jgit/revwalk/RevWalk;
Exception table:
from to target type
9 10 12 any
8 11 15 any
12 15 15 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
newId
private org.eclipse.jgit.treewalk.TreeWalk newTreeWalk(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/treewalk/TreeWalk;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.reader:Lorg/eclipse/jgit/lib/ObjectReader;
aload 1
invokestatic org.eclipse.jgit.transport.PushCertificateStore.pathName:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray org.eclipse.jgit.lib.AnyObjectId
dup
iconst_0
aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore.commit:Lorg/eclipse/jgit/revwalk/RevCommit;
invokevirtual org.eclipse.jgit.revwalk.RevCommit.getTree:()Lorg/eclipse/jgit/revwalk/RevTree;
aastore
invokestatic org.eclipse.jgit.treewalk.TreeWalk.forPath:(Lorg/eclipse/jgit/lib/ObjectReader;Ljava/lang/String;[Lorg/eclipse/jgit/lib/AnyObjectId;)Lorg/eclipse/jgit/treewalk/TreeWalk;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
0 3 1 refName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
refName
static java.lang.String pathName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "@{cert}"
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 1 0 refName Ljava/lang/String;
MethodParameters:
Name Flags
refName
private static java.lang.String buildMessage(org.eclipse.jgit.transport.PushCertificate);
descriptor: (Lorg/eclipse/jgit/transport/PushCertificate;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, 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 0
invokevirtual org.eclipse.jgit.transport.PushCertificate.getCommands:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 7
2: aload 1
3: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.storePushCertOneRef:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificate.getCommands:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.ReceiveCommand
invokevirtual org.eclipse.jgit.transport.ReceiveCommand.getRefName:()Ljava/lang/String;
aastore
5: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 11
7: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
8: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.storePushCertMultipleRefs:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
9: aload 0
invokevirtual org.eclipse.jgit.transport.PushCertificate.getCommands:()Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 1
bipush 10
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 12 0 cert Lorg/eclipse/jgit/transport/PushCertificate;
1 12 1 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
cert
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.transport.PushCertificateStore.$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.transport.PushCertificateStore.$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
private java.util.Iterator lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 0: new org.eclipse.jgit.transport.PushCertificateStore$1
dup
aload 0
aload 1
invokespecial org.eclipse.jgit.transport.PushCertificateStore$1.<init>:(Lorg/eclipse/jgit/transport/PushCertificateStore;Ljava/lang/String;)V
1: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/transport/PushCertificateStore;
private static int lambda$1(org.eclipse.jgit.transport.PushCertificateStore$PendingCert, org.eclipse.jgit.transport.PushCertificateStore$PendingCert);
descriptor: (Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.ident:Lorg/eclipse/jgit/lib/PersonIdent;
invokevirtual org.eclipse.jgit.lib.PersonIdent.getWhen:()Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
aload 1
getfield org.eclipse.jgit.transport.PushCertificateStore$PendingCert.ident:Lorg/eclipse/jgit/lib/PersonIdent;
invokevirtual org.eclipse.jgit.lib.PersonIdent.getWhen:()Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
lsub
1: invokestatic java.lang.Long.signum:(J)I
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;
0 3 1 b Lorg/eclipse/jgit/transport/PushCertificateStore$PendingCert;
}
SourceFile: "PushCertificateStore.java"
NestMembers:
org.eclipse.jgit.transport.PushCertificateStore$1 org.eclipse.jgit.transport.PushCertificateStore$2 org.eclipse.jgit.transport.PushCertificateStore$PendingCert
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract PathEdit = org.eclipse.jgit.dircache.DirCacheEditor$PathEdit of org.eclipse.jgit.dircache.DirCacheEditor
public final Result = org.eclipse.jgit.lib.RefUpdate$Result of org.eclipse.jgit.lib.RefUpdate
org.eclipse.jgit.transport.PushCertificateStore$1
org.eclipse.jgit.transport.PushCertificateStore$2
private PendingCert = org.eclipse.jgit.transport.PushCertificateStore$PendingCert of org.eclipse.jgit.transport.PushCertificateStore