public class org.eclipse.jgit.api.LsRemoteCommand extends org.eclipse.jgit.api.TransportCommand<org.eclipse.jgit.api.LsRemoteCommand, java.util.Collection<org.eclipse.jgit.lib.Ref>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.api.LsRemoteCommand
super_class: org.eclipse.jgit.api.TransportCommand
{
private java.lang.String remote;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean heads;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean tags;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String uploadPack;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.eclipse.jgit.lib.Repository);
descriptor: (Lorg/eclipse/jgit/lib/Repository;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.eclipse.jgit.api.TransportCommand.<init>:(Lorg/eclipse/jgit/lib/Repository;)V
1: aload 0
ldc "origin"
putfield org.eclipse.jgit.api.LsRemoteCommand.remote:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/LsRemoteCommand;
0 3 1 repo Lorg/eclipse/jgit/lib/Repository;
MethodParameters:
Name Flags
repo
public org.eclipse.jgit.api.LsRemoteCommand setRemote(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/LsRemoteCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jgit.api.LsRemoteCommand.checkCallable:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.api.LsRemoteCommand.remote:Ljava/lang/String;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/api/LsRemoteCommand;
0 3 1 remote Ljava/lang/String;
MethodParameters:
Name Flags
remote
public org.eclipse.jgit.api.LsRemoteCommand setHeads(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/LsRemoteCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jgit.api.LsRemoteCommand.heads:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/LsRemoteCommand;
0 2 1 heads Z
MethodParameters:
Name Flags
heads
public org.eclipse.jgit.api.LsRemoteCommand setTags(boolean);
descriptor: (Z)Lorg/eclipse/jgit/api/LsRemoteCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jgit.api.LsRemoteCommand.tags:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/LsRemoteCommand;
0 2 1 tags Z
MethodParameters:
Name Flags
tags
public org.eclipse.jgit.api.LsRemoteCommand setUploadPack(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jgit/api/LsRemoteCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jgit.api.LsRemoteCommand.uploadPack:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/api/LsRemoteCommand;
0 2 1 uploadPack Ljava/lang/String;
MethodParameters:
Name Flags
uploadPack
public java.util.Collection<org.eclipse.jgit.lib.Ref> call();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.LsRemoteCommand.execute:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/api/LsRemoteCommand;
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.api.errors.InvalidRemoteException, org.eclipse.jgit.api.errors.TransportException
Signature: ()Ljava/util/Collection<Lorg/eclipse/jgit/lib/Ref;>;
public java.util.Map<java.lang.String, org.eclipse.jgit.lib.Ref> callAsMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.LsRemoteCommand.execute:()Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/api/LsRemoteCommand;
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.api.errors.InvalidRemoteException, org.eclipse.jgit.api.errors.TransportException
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/eclipse/jgit/lib/Ref;>;
private java.util.Map<java.lang.String, org.eclipse.jgit.lib.Ref> execute();
descriptor: ()Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.api.LsRemoteCommand.checkCallable:()V
1: aconst_null
astore 1
aconst_null
astore 2
2: aload 0
getfield org.eclipse.jgit.api.LsRemoteCommand.repo:Lorg/eclipse/jgit/lib/Repository;
ifnull 4
3: aload 0
getfield org.eclipse.jgit.api.LsRemoteCommand.repo:Lorg/eclipse/jgit/lib/Repository;
aload 0
getfield org.eclipse.jgit.api.LsRemoteCommand.remote:Ljava/lang/String;
invokestatic org.eclipse.jgit.transport.Transport.open:(Lorg/eclipse/jgit/lib/Repository;Ljava/lang/String;)Lorg/eclipse/jgit/transport/Transport;
goto 5
4: StackMap locals: java.lang.Throwable java.lang.Throwable
StackMap stack:
new org.eclipse.jgit.transport.URIish
dup
aload 0
getfield org.eclipse.jgit.api.LsRemoteCommand.remote:Ljava/lang/String;
invokespecial org.eclipse.jgit.transport.URIish.<init>:(Ljava/lang/String;)V
invokestatic org.eclipse.jgit.transport.Transport.open:(Lorg/eclipse/jgit/transport/URIish;)Lorg/eclipse/jgit/transport/Transport;
5: StackMap locals:
StackMap stack: org.eclipse.jgit.transport.Transport
astore 3
start local 3 6: aload 3
aload 0
getfield org.eclipse.jgit.api.LsRemoteCommand.uploadPack:Ljava/lang/String;
invokevirtual org.eclipse.jgit.transport.Transport.setOptionUploadPack:(Ljava/lang/String;)V
7: aload 0
aload 3
invokevirtual org.eclipse.jgit.api.LsRemoteCommand.configure:(Lorg/eclipse/jgit/transport/Transport;)Lorg/eclipse/jgit/api/GitCommand;
pop
8: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 9: aload 0
getfield org.eclipse.jgit.api.LsRemoteCommand.tags:Z
ifeq 13
10: aload 4
new org.eclipse.jgit.transport.RefSpec
dup
11: ldc "refs/tags/*:refs/remotes/origin/tags/*"
invokespecial org.eclipse.jgit.transport.RefSpec.<init>:(Ljava/lang/String;)V
12: invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals: org.eclipse.jgit.transport.Transport java.util.Collection
StackMap stack:
aload 0
getfield org.eclipse.jgit.api.LsRemoteCommand.heads:Z
ifeq 15
14: aload 4
new org.eclipse.jgit.transport.RefSpec
dup
ldc "refs/heads/*:refs/remotes/origin/*"
invokespecial org.eclipse.jgit.transport.RefSpec.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
15: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 6
start local 6 16: aconst_null
astore 7
aconst_null
astore 8
17: aload 3
invokevirtual org.eclipse.jgit.transport.Transport.openFetch:()Lorg/eclipse/jgit/transport/FetchConnection;
astore 9
start local 9 18: aload 9
invokeinterface org.eclipse.jgit.transport.FetchConnection.getRefs:()Ljava/util/Collection;
astore 5
start local 5 19: aload 4
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 25
20: aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 11
goto 23
StackMap locals: org.eclipse.jgit.api.LsRemoteCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.Transport java.util.Collection java.util.Collection java.util.Map java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.FetchConnection top java.util.Iterator
StackMap stack:
21: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.lib.Ref
astore 10
start local 10 22: aload 6
aload 10
invokeinterface org.eclipse.jgit.lib.Ref.getName:()Ljava/lang/String;
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 23: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
24: goto 34
25: StackMap locals: org.eclipse.jgit.api.LsRemoteCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.Transport java.util.Collection java.util.Collection java.util.Map java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.FetchConnection
StackMap stack:
aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 11
goto 33
StackMap locals: org.eclipse.jgit.api.LsRemoteCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.Transport java.util.Collection java.util.Collection java.util.Map java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.FetchConnection top java.util.Iterator
StackMap stack:
26: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.lib.Ref
astore 10
start local 10 27: aload 4
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 13
goto 32
StackMap locals: org.eclipse.jgit.api.LsRemoteCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.Transport java.util.Collection java.util.Collection java.util.Map java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.FetchConnection org.eclipse.jgit.lib.Ref java.util.Iterator top java.util.Iterator
StackMap stack:
28: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.RefSpec
astore 12
start local 12 29: aload 12
aload 10
invokevirtual org.eclipse.jgit.transport.RefSpec.matchSource:(Lorg/eclipse/jgit/lib/Ref;)Z
ifeq 32
30: aload 6
aload 10
invokeinterface org.eclipse.jgit.lib.Ref.getName:()Ljava/lang/String;
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: goto 33
end local 12 32: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 28
end local 10 33: StackMap locals: org.eclipse.jgit.api.LsRemoteCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.Transport java.util.Collection java.util.Collection java.util.Map java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.FetchConnection top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
34: StackMap locals: org.eclipse.jgit.api.LsRemoteCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.Transport java.util.Collection java.util.Collection java.util.Map java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.FetchConnection
StackMap stack:
aload 6
35: aload 9
ifnull 36
aload 9
invokeinterface org.eclipse.jgit.transport.FetchConnection.close:()V
36: StackMap locals:
StackMap stack: java.util.Map
aload 3
ifnull 37
aload 3
invokevirtual org.eclipse.jgit.transport.Transport.close:()V
37: StackMap locals:
StackMap stack: java.util.Map
areturn
end local 5 StackMap locals: org.eclipse.jgit.api.LsRemoteCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.Transport java.util.Collection top java.util.Map java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.FetchConnection
StackMap stack: java.lang.Throwable
38: astore 7
39: aload 9
ifnull 40
aload 9
invokeinterface org.eclipse.jgit.transport.FetchConnection.close:()V
end local 9 StackMap locals:
StackMap stack:
40: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
41: astore 8
aload 7
ifnonnull 42
aload 8
astore 7
goto 43
StackMap locals:
StackMap stack:
42: aload 7
aload 8
if_acmpeq 43
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
43: aload 7
athrow
end local 6 end local 4 StackMap locals: org.eclipse.jgit.api.LsRemoteCommand java.lang.Throwable java.lang.Throwable org.eclipse.jgit.transport.Transport
StackMap stack: java.lang.Throwable
44: astore 1
45: aload 3
ifnull 46
aload 3
invokevirtual org.eclipse.jgit.transport.Transport.close:()V
end local 3 StackMap locals:
StackMap stack:
46: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
47: astore 2
aload 1
ifnonnull 48
aload 2
astore 1
goto 49
StackMap locals:
StackMap stack:
48: aload 1
aload 2
if_acmpeq 49
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
49: aload 1
athrow
StackMap locals: org.eclipse.jgit.api.LsRemoteCommand
StackMap stack: java.net.URISyntaxException
50: astore 1
start local 1 51: new org.eclipse.jgit.api.errors.InvalidRemoteException
dup
52: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.invalidRemote:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jgit.api.LsRemoteCommand.remote:Ljava/lang/String;
aastore
53: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
54: aload 1
55: invokespecial org.eclipse.jgit.api.errors.InvalidRemoteException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 56: StackMap locals:
StackMap stack: org.eclipse.jgit.errors.NotSupportedException
astore 1
start local 1 57: new org.eclipse.jgit.api.errors.JGitInternalException
dup
58: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.exceptionCaughtDuringExecutionOfLsRemoteCommand:Ljava/lang/String;
59: aload 1
60: invokespecial org.eclipse.jgit.api.errors.JGitInternalException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 61: StackMap locals:
StackMap stack: org.eclipse.jgit.errors.TransportException
astore 1
start local 1 62: new org.eclipse.jgit.api.errors.TransportException
dup
63: aload 1
invokevirtual org.eclipse.jgit.errors.TransportException.getMessage:()Ljava/lang/String;
64: aload 1
65: invokespecial org.eclipse.jgit.api.errors.TransportException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 66 0 this Lorg/eclipse/jgit/api/LsRemoteCommand;
6 46 3 transport Lorg/eclipse/jgit/transport/Transport;
9 44 4 refSpecs Ljava/util/Collection<Lorg/eclipse/jgit/transport/RefSpec;>;
19 38 5 refs Ljava/util/Collection<Lorg/eclipse/jgit/lib/Ref;>;
16 44 6 refmap Ljava/util/Map<Ljava/lang/String;Lorg/eclipse/jgit/lib/Ref;>;
18 40 9 fc Lorg/eclipse/jgit/transport/FetchConnection;
22 23 10 r Lorg/eclipse/jgit/lib/Ref;
27 33 10 r Lorg/eclipse/jgit/lib/Ref;
29 32 12 rs Lorg/eclipse/jgit/transport/RefSpec;
51 56 1 e Ljava/net/URISyntaxException;
57 61 1 e Lorg/eclipse/jgit/errors/NotSupportedException;
62 66 1 e Lorg/eclipse/jgit/errors/TransportException;
Exception table:
from to target type
18 35 38 any
17 36 41 any
38 41 41 any
6 36 44 any
38 44 44 any
2 37 47 any
38 47 47 any
1 37 50 Class java.net.URISyntaxException
38 50 50 Class java.net.URISyntaxException
1 37 56 Class org.eclipse.jgit.errors.NotSupportedException
38 50 56 Class org.eclipse.jgit.errors.NotSupportedException
1 37 61 Class org.eclipse.jgit.errors.TransportException
38 50 61 Class org.eclipse.jgit.errors.TransportException
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.api.errors.InvalidRemoteException, org.eclipse.jgit.api.errors.TransportException
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/eclipse/jgit/lib/Ref;>;
public java.lang.Object call();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.jgit.api.LsRemoteCommand.call:()Ljava/util/Collection;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.eclipse.jgit.api.errors.GitAPIException
}
Signature: Lorg/eclipse/jgit/api/TransportCommand<Lorg/eclipse/jgit/api/LsRemoteCommand;Ljava/util/Collection<Lorg/eclipse/jgit/lib/Ref;>;>;
SourceFile: "LsRemoteCommand.java"