public class examples.ConfigYamlExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.ConfigYamlExamples
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 // examples.ConfigYamlExamples this
0: .line 29
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // examples.ConfigYamlExamples this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/ConfigYamlExamples;
public void example1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 // examples.ConfigYamlExamples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 33
new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: .line 34
ldc "file"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: .line 35
ldc "yaml"
invokevirtual io.vertx.config.ConfigStoreOptions.setFormat:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
3: .line 36
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
4: .line 37
ldc "path"
ldc "my-config.yaml"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
5: .line 36
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
6: .line 33
astore 2 /* store */
start local 2 // io.vertx.config.ConfigStoreOptions store
7: .line 40
aload 1 /* vertx */
8: .line 41
new io.vertx.config.ConfigRetrieverOptions
dup
invokespecial io.vertx.config.ConfigRetrieverOptions.<init>:()V
aload 2 /* store */
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
9: .line 40
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)Lio/vertx/config/ConfigRetriever;
pop
10: .line 42
return
end local 2 // io.vertx.config.ConfigStoreOptions store
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.ConfigYamlExamples this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lexamples/ConfigYamlExamples;
0 11 1 vertx Lio/vertx/core/Vertx;
7 11 2 store Lio/vertx/config/ConfigStoreOptions;
MethodParameters:
Name Flags
vertx
}
SourceFile: "ConfigYamlExamples.java"