final class jdk.incubator.http.HttpConnection$TrailingOperations
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.HttpConnection$TrailingOperations
super_class: java.lang.Object
{
private final java.util.Map<java.util.concurrent.CompletionStage<?>, java.lang.Boolean> operations;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/util/concurrent/CompletionStage<*>;Ljava/lang/Boolean;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
putfield jdk.incubator.http.HttpConnection$TrailingOperations.operations:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/HttpConnection$TrailingOperations;
void add(java.util.concurrent.CompletionStage<?>);
descriptor: (Ljava/util/concurrent/CompletionStage;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.HttpConnection$TrailingOperations.operations:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 1
aload 0
aload 1
invokedynamic accept(Ljdk/incubator/http/HttpConnection$TrailingOperations;Ljava/util/concurrent/CompletionStage;)Ljava/util/function/BiConsumer;
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;)V
jdk/incubator/http/HttpConnection$TrailingOperations.lambda$0(Ljava/util/concurrent/CompletionStage;Ljava/lang/Object;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Object;Ljava/lang/Throwable;)V
invokeinterface java.util.concurrent.CompletionStage.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
pop
2: aload 0
getfield jdk.incubator.http.HttpConnection$TrailingOperations.operations:Ljava/util/Map;
aload 1
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 2
monitorexit
4: goto 7
StackMap locals: jdk.incubator.http.HttpConnection$TrailingOperations java.util.concurrent.CompletionStage java.util.Map
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/HttpConnection$TrailingOperations;
0 8 1 cf Ljava/util/concurrent/CompletionStage<*>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Ljava/util/concurrent/CompletionStage<*>;)V
MethodParameters:
Name Flags
cf
boolean remove(java.util.concurrent.CompletionStage<?>);
descriptor: (Ljava/util/concurrent/CompletionStage;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.HttpConnection$TrailingOperations.operations:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield jdk.incubator.http.HttpConnection$TrailingOperations.operations:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: jdk.incubator.http.HttpConnection$TrailingOperations java.util.concurrent.CompletionStage java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/HttpConnection$TrailingOperations;
0 5 1 cf Ljava/util/concurrent/CompletionStage<*>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: (Ljava/util/concurrent/CompletionStage<*>;)Z
MethodParameters:
Name Flags
cf
private void lambda$0(java.util.concurrent.CompletionStage, java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/util/concurrent/CompletionStage;Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
invokevirtual jdk.incubator.http.HttpConnection$TrailingOperations.remove:(Ljava/util/concurrent/CompletionStage;)Z
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpConnection$TrailingOperations;
0 1 2 r Ljava/lang/Object;
0 1 3 t Ljava/lang/Throwable;
}
SourceFile: "HttpConnection.java"
NestHost: jdk.incubator.http.HttpConnection
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final TrailingOperations = jdk.incubator.http.HttpConnection$TrailingOperations of jdk.incubator.http.HttpConnection