public class io.vertx.config.impl.spi.EnvVariablesConfigStore implements io.vertx.config.spi.ConfigStoreFactory, io.vertx.config.spi.ConfigStore
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.config.impl.spi.EnvVariablesConfigStore
super_class: java.lang.Object
{
private final boolean rawData;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<java.lang.String> keys;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private io.vertx.core.json.JsonObject cached;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aconst_null
invokespecial io.vertx.config.impl.spi.EnvVariablesConfigStore.<init>:(ZLio/vertx/core/json/JsonArray;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/config/impl/spi/EnvVariablesConfigStore;
public void <init>(boolean, io.vertx.core.json.JsonArray);
descriptor: (ZLio/vertx/core/json/JsonArray;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield io.vertx.config.impl.spi.EnvVariablesConfigStore.rawData:Z
2: aload 0
aload 2
ifnonnull 3
aconst_null
goto 4
StackMap locals: io.vertx.config.impl.spi.EnvVariablesConfigStore int io.vertx.core.json.JsonArray
StackMap stack: io.vertx.config.impl.spi.EnvVariablesConfigStore
3: new java.util.HashSet
dup
aload 2
invokevirtual io.vertx.core.json.JsonArray.getList:()Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
StackMap locals: io.vertx.config.impl.spi.EnvVariablesConfigStore int io.vertx.core.json.JsonArray
StackMap stack: io.vertx.config.impl.spi.EnvVariablesConfigStore java.util.HashSet
4: putfield io.vertx.config.impl.spi.EnvVariablesConfigStore.keys:Ljava/util/Set;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/config/impl/spi/EnvVariablesConfigStore;
0 6 1 rawData Z
0 6 2 keys Lio/vertx/core/json/JsonArray;
MethodParameters:
Name Flags
rawData
keys
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: ldc "env"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/impl/spi/EnvVariablesConfigStore;
public io.vertx.config.spi.ConfigStore create(io.vertx.core.Vertx, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;)Lio/vertx/config/spi/ConfigStore;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.config.impl.spi.EnvVariablesConfigStore
dup
aload 2
ldc "raw-data"
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 2
ldc "keys"
invokevirtual io.vertx.core.json.JsonObject.getJsonArray:(Ljava/lang/String;)Lio/vertx/core/json/JsonArray;
invokespecial io.vertx.config.impl.spi.EnvVariablesConfigStore.<init>:(ZLio/vertx/core/json/JsonArray;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/impl/spi/EnvVariablesConfigStore;
0 1 1 vertx Lio/vertx/core/Vertx;
0 1 2 configuration Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
vertx
configuration
public void get(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.config.impl.spi.EnvVariablesConfigStore.cached:Lio/vertx/core/json/JsonObject;
ifnonnull 2
1: aload 0
invokestatic java.lang.System.getenv:()Ljava/util/Map;
aload 0
getfield io.vertx.config.impl.spi.EnvVariablesConfigStore.rawData:Z
aload 0
getfield io.vertx.config.impl.spi.EnvVariablesConfigStore.keys:Ljava/util/Set;
invokestatic io.vertx.config.impl.spi.EnvVariablesConfigStore.all:(Ljava/util/Map;ZLjava/util/Set;)Lio/vertx/core/json/JsonObject;
putfield io.vertx.config.impl.spi.EnvVariablesConfigStore.cached:Lio/vertx/core/json/JsonObject;
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.vertx.config.impl.spi.EnvVariablesConfigStore.cached:Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.encode:()Ljava/lang/String;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/config/impl/spi/EnvVariablesConfigStore;
0 4 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;)V
MethodParameters:
Name Flags
completionHandler
private static io.vertx.core.json.JsonObject all(java.util.Map<java.lang.String, java.lang.String>, boolean, java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Map;ZLjava/util/Set;)Lio/vertx/core/json/JsonObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 3
start local 3 1: aload 2
ifnonnull 2
aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
goto 3
StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.util.Set
3: astore 4
start local 4 4: aload 0
aload 4
aload 3
iload 1
invokedynamic accept(Ljava/util/Collection;Lio/vertx/core/json/JsonObject;Z)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
io/vertx/config/impl/spi/EnvVariablesConfigStore.lambda$0(Ljava/util/Collection;Lio/vertx/core/json/JsonObject;ZLjava/lang/String;Ljava/lang/String;)V (6)
(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
5: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 env Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 6 1 rawData Z
0 6 2 keys Ljava/util/Set<Ljava/lang/String;>;
1 6 3 json Lio/vertx/core/json/JsonObject;
4 6 4 localKeys Ljava/util/Collection;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;ZLjava/util/Set<Ljava/lang/String;>;)Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
env
rawData
keys
private static void lambda$0(java.util.Collection, io.vertx.core.json.JsonObject, boolean, java.lang.String, java.lang.String);
descriptor: (Ljava/util/Collection;Lio/vertx/core/json/JsonObject;ZLjava/lang/String;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=5
start local 3 start local 4 0: aload 0
aload 3
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 2
1: aload 1
aload 3
aload 4
iload 2
invokestatic io.vertx.config.spi.utils.JsonObjectHelper.put:(Lio/vertx/core/json/JsonObject;Ljava/lang/String;Ljava/lang/String;Z)V
2: StackMap locals:
StackMap stack:
return
end local 4 end local 3 LocalVariableTable:
Start End Slot Name Signature
0 3 3 key Ljava/lang/String;
0 3 4 value Ljava/lang/String;
}
SourceFile: "EnvVariablesConfigStore.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles