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=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 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
<X extends java.lang.Throwable> void forEach(sun.nio.ch.MembershipRegistry$ThrowingConsumer<sun.nio.ch.MembershipKeyImpl, X>) throws X;
descriptor: (Lsun/nio/ch/MembershipRegistry$ThrowingConsumer;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 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.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: sun.nio.ch.MembershipRegistry sun.nio.ch.MembershipRegistry$ThrowingConsumer top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: sun.nio.ch.MembershipRegistry sun.nio.ch.MembershipRegistry$ThrowingConsumer java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.ch.MembershipKeyImpl
astore 4
start local 4 5: aload 1
aload 4
invokeinterface sun.nio.ch.MembershipRegistry$ThrowingConsumer.accept:(Ljava/lang/Object;)V
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 7: StackMap locals: sun.nio.ch.MembershipRegistry sun.nio.ch.MembershipRegistry$ThrowingConsumer top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: StackMap locals: sun.nio.ch.MembershipRegistry sun.nio.ch.MembershipRegistry$ThrowingConsumer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/MembershipRegistry;
0 9 1 action Lsun/nio/ch/MembershipRegistry$ThrowingConsumer<Lsun/nio/ch/MembershipKeyImpl;TX;>;
3 7 2 keys Ljava/util/List<Lsun/nio/ch/MembershipKeyImpl;>;
5 6 4 key Lsun/nio/ch/MembershipKeyImpl;
Exceptions:
throws java.lang.Throwable
Signature: <X:Ljava/lang/Throwable;>(Lsun/nio/ch/MembershipRegistry$ThrowingConsumer<Lsun/nio/ch/MembershipKeyImpl;TX;>;)V^TX;
MethodParameters:
Name Flags
action
void invalidateAll();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic accept()Lsun/nio/ch/MembershipRegistry$ThrowingConsumer;
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;)V
sun/nio/ch/MembershipKeyImpl.invalidate()V (5)
(Lsun/nio/ch/MembershipKeyImpl;)V
invokevirtual sun.nio.ch.MembershipRegistry.forEach:(Lsun/nio/ch/MembershipRegistry$ThrowingConsumer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/MembershipRegistry;
}
SourceFile: "MembershipRegistry.java"
NestMembers:
sun.nio.ch.MembershipRegistry$ThrowingConsumer
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
abstract ThrowingConsumer = sun.nio.ch.MembershipRegistry$ThrowingConsumer of sun.nio.ch.MembershipRegistry