class sun.nio.ch.MembershipRegistry
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.MembershipRegistry
super_class: java.lang.Object
{
private java.util.Map<java.net.InetAddress, java.util.List<sun.nio.ch.MembershipKeyImpl>> groups;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/net/InetAddress;Ljava/util/List<Lsun/nio/ch/MembershipKeyImpl;>;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/MembershipRegistry;
java.nio.channels.MembershipKey checkMembership(java.net.InetAddress, java.net.NetworkInterface, java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;Ljava/net/NetworkInterface;Ljava/net/InetAddress;)Ljava/nio/channels/MembershipKey;
flags: (0x0000)
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
ifnull 15
1: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 2: aload 4
ifnull 15
3: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: sun.nio.ch.MembershipRegistry java.net.InetAddress java.net.NetworkInterface java.net.InetAddress java.util.List top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.ch.MembershipKeyImpl
astore 5
start local 5 5: aload 5
invokevirtual sun.nio.ch.MembershipKeyImpl.networkInterface:()Ljava/net/NetworkInterface;
aload 2
invokevirtual java.net.NetworkInterface.equals:(Ljava/lang/Object;)Z
ifeq 14
6: aload 3
ifnonnull 10
7: aload 5
invokevirtual sun.nio.ch.MembershipKeyImpl.sourceAddress:()Ljava/net/InetAddress;
ifnonnull 9
8: aload 5
areturn
9: StackMap locals: sun.nio.ch.MembershipRegistry java.net.InetAddress java.net.NetworkInterface java.net.InetAddress java.util.List sun.nio.ch.MembershipKeyImpl java.util.Iterator
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Already a member to receive all packets"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.nio.ch.MembershipKeyImpl.sourceAddress:()Ljava/net/InetAddress;
ifnonnull 12
11: new java.lang.IllegalStateException
dup
ldc "Already have source-specific membership"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual sun.nio.ch.MembershipKeyImpl.sourceAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
ifeq 14
13: aload 5
areturn
end local 5 14: StackMap locals: sun.nio.ch.MembershipRegistry java.net.InetAddress java.net.NetworkInterface java.net.InetAddress java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 4 15: StackMap locals: sun.nio.ch.MembershipRegistry java.net.InetAddress java.net.NetworkInterface java.net.InetAddress
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/nio/ch/MembershipRegistry;
0 16 1 group Ljava/net/InetAddress;
0 16 2 interf Ljava/net/NetworkInterface;
0 16 3 source Ljava/net/InetAddress;
2 15 4 keys Ljava/util/List<Lsun/nio/ch/MembershipKeyImpl;>;
5 14 5 key Lsun/nio/ch/MembershipKeyImpl;
MethodParameters:
Name Flags
group
interf
source
void add(sun.nio.ch.MembershipKeyImpl);
descriptor: (Lsun/nio/ch/MembershipKeyImpl;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.nio.ch.MembershipKeyImpl.group:()Ljava/net/InetAddress;
astore 2
start local 2 1: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
ifnonnull 5
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
3: aconst_null
astore 3
start local 3 4: goto 6
end local 3 5: StackMap locals: java.net.InetAddress
StackMap stack:
aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 6: StackMap locals: java.util.List
StackMap stack:
aload 3
ifnonnull 9
7: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 3
8: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
aload 3
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/ch/MembershipRegistry;
0 11 1 key Lsun/nio/ch/MembershipKeyImpl;
1 11 2 group Ljava/net/InetAddress;
4 5 3 keys Ljava/util/List<Lsun/nio/ch/MembershipKeyImpl;>;
6 11 3 keys Ljava/util/List<Lsun/nio/ch/MembershipKeyImpl;>;
MethodParameters:
Name Flags
key
void remove(sun.nio.ch.MembershipKeyImpl);
descriptor: (Lsun/nio/ch/MembershipKeyImpl;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.nio.ch.MembershipKeyImpl.group:()Ljava/net/InetAddress;
astore 2
start local 2 1: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 2: aload 3
ifnull 11
3: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 4: goto 8
5: StackMap locals: java.net.InetAddress java.util.List java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
aload 1
if_acmpne 8
6: aload 4
invokeinterface java.util.Iterator.remove:()V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 11
10: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/ch/MembershipRegistry;
0 12 1 key Lsun/nio/ch/MembershipKeyImpl;
1 12 2 group Ljava/net/InetAddress;
2 12 3 keys Ljava/util/List<Lsun/nio/ch/MembershipKeyImpl;>;
4 11 4 i Ljava/util/Iterator<Lsun/nio/ch/MembershipKeyImpl;>;
MethodParameters:
Name Flags
key
void invalidateAll();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
ifnull 8
1: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: sun.nio.ch.MembershipRegistry top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.InetAddress
astore 1
start local 1 3: aload 0
getfield sun.nio.ch.MembershipRegistry.groups:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: sun.nio.ch.MembershipRegistry java.net.InetAddress java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.ch.MembershipKeyImpl
astore 3
start local 3 5: aload 3
invokevirtual sun.nio.ch.MembershipKeyImpl.invalidate:()V
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 1 7: StackMap locals: sun.nio.ch.MembershipRegistry top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: StackMap locals: sun.nio.ch.MembershipRegistry
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/MembershipRegistry;
3 7 1 group Ljava/net/InetAddress;
5 6 3 key Lsun/nio/ch/MembershipKeyImpl;
}
SourceFile: "MembershipRegistry.java"