public class org.eclipse.jgit.transport.AdvertiseRefsHookChain implements org.eclipse.jgit.transport.AdvertiseRefsHook
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.transport.AdvertiseRefsHookChain
super_class: java.lang.Object
{
private final org.eclipse.jgit.transport.AdvertiseRefsHook[] hooks;
descriptor: [Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int count;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static org.eclipse.jgit.transport.AdvertiseRefsHook newChain(java.util.List<? extends org.eclipse.jgit.transport.AdvertiseRefsHook>);
descriptor: (Ljava/util/List;)Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.size:()I
anewarray org.eclipse.jgit.transport.AdvertiseRefsHook
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: java.util.List org.eclipse.jgit.transport.AdvertiseRefsHook[] int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.transport.AdvertiseRefsHook
astore 3
start local 3 4: aload 3
getstatic org.eclipse.jgit.transport.AdvertiseRefsHook.DEFAULT:Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
if_acmpeq 6
5: aload 1
iload 2
iinc 2 1
aload 3
aastore
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iload 2
tableswitch { // 0 - 1
0: 8
1: 9
default: 10
}
8: StackMap locals: java.util.List org.eclipse.jgit.transport.AdvertiseRefsHook[] int
StackMap stack:
getstatic org.eclipse.jgit.transport.AdvertiseRefsHook.DEFAULT:Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
areturn
9: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
areturn
10: StackMap locals:
StackMap stack:
new org.eclipse.jgit.transport.AdvertiseRefsHookChain
dup
aload 1
iload 2
invokespecial org.eclipse.jgit.transport.AdvertiseRefsHookChain.<init>:([Lorg/eclipse/jgit/transport/AdvertiseRefsHook;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 hooks Ljava/util/List<+Lorg/eclipse/jgit/transport/AdvertiseRefsHook;>;
1 11 1 newHooks [Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
2 11 2 i I
4 6 3 hook Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
Signature: (Ljava/util/List<+Lorg/eclipse/jgit/transport/AdvertiseRefsHook;>;)Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
MethodParameters:
Name Flags
hooks
public void advertiseRefs(org.eclipse.jgit.transport.ReceivePack);
descriptor: (Lorg/eclipse/jgit/transport/ReceivePack;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.AdvertiseRefsHookChain.hooks:[Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
iload 2
aaload
aload 1
invokeinterface org.eclipse.jgit.transport.AdvertiseRefsHook.advertiseRefs:(Lorg/eclipse/jgit/transport/ReceivePack;)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 0
getfield org.eclipse.jgit.transport.AdvertiseRefsHookChain.count:I
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/transport/AdvertiseRefsHookChain;
0 6 1 rp Lorg/eclipse/jgit/transport/ReceivePack;
1 5 2 i I
Exceptions:
throws org.eclipse.jgit.transport.ServiceMayNotContinueException
MethodParameters:
Name Flags
rp
public void advertiseRefs(org.eclipse.jgit.transport.UploadPack);
descriptor: (Lorg/eclipse/jgit/transport/UploadPack;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jgit.transport.AdvertiseRefsHookChain.hooks:[Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
iload 2
aaload
aload 1
invokeinterface org.eclipse.jgit.transport.AdvertiseRefsHook.advertiseRefs:(Lorg/eclipse/jgit/transport/UploadPack;)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 0
getfield org.eclipse.jgit.transport.AdvertiseRefsHookChain.count:I
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/transport/AdvertiseRefsHookChain;
0 6 1 rp Lorg/eclipse/jgit/transport/UploadPack;
1 5 2 i I
Exceptions:
throws org.eclipse.jgit.transport.ServiceMayNotContinueException
MethodParameters:
Name Flags
rp
private void <init>(org.eclipse.jgit.transport.AdvertiseRefsHook[], int);
descriptor: ([Lorg/eclipse/jgit/transport/AdvertiseRefsHook;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.transport.AdvertiseRefsHookChain.hooks:[Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
2: aload 0
iload 2
putfield org.eclipse.jgit.transport.AdvertiseRefsHookChain.count:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/transport/AdvertiseRefsHookChain;
0 4 1 hooks [Lorg/eclipse/jgit/transport/AdvertiseRefsHook;
0 4 2 count I
MethodParameters:
Name Flags
hooks
count
}
SourceFile: "AdvertiseRefsHookChain.java"