public class io.vertx.servicediscovery.consul.ImportedConsulService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.servicediscovery.consul.ImportedConsulService
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.servicediscovery.Record record;
descriptor: Lio/vertx/servicediscovery/Record;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, java.lang.String, io.vertx.servicediscovery.Record);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/servicediscovery/Record;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
aload 1
putfield io.vertx.servicediscovery.consul.ImportedConsulService.name:Ljava/lang/String;
5: aload 0
aload 3
putfield io.vertx.servicediscovery.consul.ImportedConsulService.record:Lio/vertx/servicediscovery/Record;
6: aload 0
aload 2
putfield io.vertx.servicediscovery.consul.ImportedConsulService.id:Ljava/lang/String;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/servicediscovery/consul/ImportedConsulService;
0 8 1 name Ljava/lang/String;
0 8 2 id Ljava/lang/String;
0 8 3 record Lio/vertx/servicediscovery/Record;
MethodParameters:
Name Flags
name
id
record
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.servicediscovery.consul.ImportedConsulService.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/servicediscovery/consul/ImportedConsulService;
public io.vertx.servicediscovery.consul.ImportedConsulService register(io.vertx.servicediscovery.spi.ServicePublisher, io.vertx.core.Promise<io.vertx.servicediscovery.consul.ImportedConsulService>);
descriptor: (Lio/vertx/servicediscovery/spi/ServicePublisher;Lio/vertx/core/Promise;)Lio/vertx/servicediscovery/consul/ImportedConsulService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield io.vertx.servicediscovery.consul.ImportedConsulService.record:Lio/vertx/servicediscovery/Record;
aload 0
aload 2
invokedynamic handle(Lio/vertx/servicediscovery/consul/ImportedConsulService;Lio/vertx/core/Promise;)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
io/vertx/servicediscovery/consul/ImportedConsulService.lambda$0(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.spi.ServicePublisher.publish:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/servicediscovery/consul/ImportedConsulService;
0 2 1 publisher Lio/vertx/servicediscovery/spi/ServicePublisher;
0 2 2 completion Lio/vertx/core/Promise<Lio/vertx/servicediscovery/consul/ImportedConsulService;>;
Signature: (Lio/vertx/servicediscovery/spi/ServicePublisher;Lio/vertx/core/Promise<Lio/vertx/servicediscovery/consul/ImportedConsulService;>;)Lio/vertx/servicediscovery/consul/ImportedConsulService;
MethodParameters:
Name Flags
publisher
completion
public void unregister(io.vertx.servicediscovery.spi.ServicePublisher, io.vertx.core.Promise<java.lang.Void>);
descriptor: (Lio/vertx/servicediscovery/spi/ServicePublisher;Lio/vertx/core/Promise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.servicediscovery.consul.ImportedConsulService.record:Lio/vertx/servicediscovery/Record;
invokevirtual io.vertx.servicediscovery.Record.getRegistration:()Ljava/lang/String;
ifnull 3
1: aload 1
aload 0
getfield io.vertx.servicediscovery.consul.ImportedConsulService.record:Lio/vertx/servicediscovery/Record;
invokevirtual io.vertx.servicediscovery.Record.getRegistration:()Ljava/lang/String;
aload 0
aload 2
invokedynamic handle(Lio/vertx/servicediscovery/consul/ImportedConsulService;Lio/vertx/core/Promise;)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
io/vertx/servicediscovery/consul/ImportedConsulService.lambda$1(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.spi.ServicePublisher.unpublish:(Ljava/lang/String;Lio/vertx/core/Handler;)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 2
ifnull 5
4: aload 2
ldc "Record not published"
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/servicediscovery/consul/ImportedConsulService;
0 6 1 publiher Lio/vertx/servicediscovery/spi/ServicePublisher;
0 6 2 completion Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/servicediscovery/spi/ServicePublisher;Lio/vertx/core/Promise<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
publiher
completion
java.lang.String id();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.servicediscovery.consul.ImportedConsulService.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/servicediscovery/consul/ImportedConsulService;
private void lambda$0(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
getfield io.vertx.servicediscovery.consul.ImportedConsulService.record:Lio/vertx/servicediscovery/Record;
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokevirtual io.vertx.servicediscovery.Record.getRegistration:()Ljava/lang/String;
invokevirtual io.vertx.servicediscovery.Record.setRegistration:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
pop
2: aload 1
aload 0
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/servicediscovery/consul/ImportedConsulService;
0 6 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
private void lambda$1(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 2
1: aload 0
getfield io.vertx.servicediscovery.consul.ImportedConsulService.record:Lio/vertx/servicediscovery/Record;
aconst_null
invokevirtual io.vertx.servicediscovery.Record.setRegistration:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
pop
2: StackMap locals:
StackMap stack:
aload 1
ifnull 4
3: aload 1
invokeinterface io.vertx.core.Promise.complete:()V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/servicediscovery/consul/ImportedConsulService;
0 5 2 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
SourceFile: "ImportedConsulService.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles