public class examples.limited.EventBusServiceJavaExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.limited.EventBusServiceJavaExamples
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/limited/EventBusServiceJavaExamples;
public void example1(io.vertx.servicediscovery.ServiceDiscovery);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: ldc "some-eventbus-service"
1: ldc "address"
2: ldc Lexamples/MyService;
3: invokestatic io.vertx.servicediscovery.types.EventBusService.createRecord:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Lio/vertx/servicediscovery/Record;
astore 2
start local 2 4: aload 1
aload 2
invokedynamic handle()Lio/vertx/core/Handler;
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
examples/limited/EventBusServiceJavaExamples.lambda$0(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.publish:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/limited/EventBusServiceJavaExamples;
0 6 1 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
4 6 2 record Lio/vertx/servicediscovery/Record;
MethodParameters:
Name Flags
discovery
public void example2(io.vertx.servicediscovery.ServiceDiscovery);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "name"
ldc "some-eventbus-service"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
aload 1
invokedynamic handle(Lio/vertx/servicediscovery/ServiceDiscovery;)Lio/vertx/core/Handler;
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
examples/limited/EventBusServiceJavaExamples.lambda$1(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/limited/EventBusServiceJavaExamples;
0 2 1 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
MethodParameters:
Name Flags
discovery
public void example3(io.vertx.servicediscovery.ServiceDiscovery);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lexamples/MyService;
aload 1
invokedynamic handle(Lio/vertx/servicediscovery/ServiceDiscovery;)Lio/vertx/core/Handler;
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
examples/limited/EventBusServiceJavaExamples.lambda$2(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokestatic io.vertx.servicediscovery.types.EventBusService.getProxy:(Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/lang/Class;Lio/vertx/core/Handler;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/limited/EventBusServiceJavaExamples;
0 2 1 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
MethodParameters:
Name Flags
discovery
private static void lambda$0(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
private static void lambda$1(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
ifnull 4
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getReference:(Lio/vertx/servicediscovery/Record;)Lio/vertx/servicediscovery/ServiceReference;
astore 2
start local 2 2: aload 2
ldc Lexamples/MyService;
invokeinterface io.vertx.servicediscovery.ServiceReference.getAs:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast examples.MyService
pop
3: aload 2
invokeinterface io.vertx.servicediscovery.ServiceReference.release:()V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 ar Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
2 4 2 reference Lio/vertx/servicediscovery/ServiceReference;
private static void lambda$2(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast examples.MyService
astore 2
start local 2 2: aload 0
aload 2
invokestatic io.vertx.servicediscovery.ServiceDiscovery.releaseServiceObject:(Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/lang/Object;)V
end local 2 3: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 ar Lio/vertx/core/AsyncResult<Lexamples/MyService;>;
2 3 2 service Lexamples/MyService;
}
SourceFile: "EventBusServiceJavaExamples.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles