public class org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor
super_class: java.lang.Object
{
private static final java.lang.String VCAP_APPLICATION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "VCAP_APPLICATION"
private static final java.lang.String VCAP_SERVICES;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "VCAP_SERVICES"
private final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean switchableLogger;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int order;
descriptor: I
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -2147483639
putfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.order:I
2: aload 0
new org.springframework.boot.logging.DeferredLog
dup
invokespecial org.springframework.boot.logging.DeferredLog.<init>:()V
putfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.logger:Lorg/apache/commons/logging/Log;
3: aload 0
iconst_1
putfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.switchableLogger:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public void <init>(org.apache.commons.logging.Log);
descriptor: (Lorg/apache/commons/logging/Log;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -2147483639
putfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.order:I
2: aload 0
aload 1
putfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.logger:Lorg/apache/commons/logging/Log;
3: aload 0
iconst_0
putfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.switchableLogger:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 5 1 logger Lorg/apache/commons/logging/Log;
MethodParameters:
Name Flags
logger
public void setOrder(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.order:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 2 1 order I
MethodParameters:
Name Flags
order
public int getOrder();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.order:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment, org.springframework.boot.SpringApplication);
descriptor: (Lorg/springframework/core/env/ConfigurableEnvironment;Lorg/springframework/boot/SpringApplication;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.springframework.boot.cloud.CloudPlatform.CLOUD_FOUNDRY:Lorg/springframework/boot/cloud/CloudPlatform;
aload 1
invokevirtual org.springframework.boot.cloud.CloudPlatform.isActive:(Lorg/springframework/core/env/Environment;)Z
ifeq 12
1: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 3
start local 3 2: invokestatic org.springframework.boot.json.JsonParserFactory.getJsonParser:()Lorg/springframework/boot/json/JsonParser;
astore 4
start local 4 3: aload 0
aload 3
aload 0
aload 1
aload 4
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.getPropertiesFromApplication:(Lorg/springframework/core/env/Environment;Lorg/springframework/boot/json/JsonParser;)Ljava/util/Properties;
ldc "vcap.application."
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.addWithPrefix:(Ljava/util/Properties;Ljava/util/Properties;Ljava/lang/String;)V
4: aload 0
aload 3
aload 0
aload 1
aload 4
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.getPropertiesFromServices:(Lorg/springframework/core/env/Environment;Lorg/springframework/boot/json/JsonParser;)Ljava/util/Properties;
ldc "vcap.services."
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.addWithPrefix:(Ljava/util/Properties;Ljava/util/Properties;Ljava/lang/String;)V
5: aload 1
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
astore 5
start local 5 6: aload 5
ldc "commandLineArgs"
invokevirtual org.springframework.core.env.MutablePropertySources.contains:(Ljava/lang/String;)Z
ifeq 11
7: aload 5
ldc "commandLineArgs"
8: new org.springframework.core.env.PropertiesPropertySource
dup
ldc "vcap"
aload 3
invokespecial org.springframework.core.env.PropertiesPropertySource.<init>:(Ljava/lang/String;Ljava/util/Properties;)V
9: invokevirtual org.springframework.core.env.MutablePropertySources.addAfter:(Ljava/lang/String;Lorg/springframework/core/env/PropertySource;)V
10: goto 12
11: StackMap locals: java.util.Properties org.springframework.boot.json.JsonParser org.springframework.core.env.MutablePropertySources
StackMap stack:
aload 5
new org.springframework.core.env.PropertiesPropertySource
dup
ldc "vcap"
aload 3
invokespecial org.springframework.core.env.PropertiesPropertySource.<init>:(Ljava/lang/String;Ljava/util/Properties;)V
invokevirtual org.springframework.core.env.MutablePropertySources.addFirst:(Lorg/springframework/core/env/PropertySource;)V
end local 5 end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 13 1 environment Lorg/springframework/core/env/ConfigurableEnvironment;
0 13 2 application Lorg/springframework/boot/SpringApplication;
2 12 3 properties Ljava/util/Properties;
3 12 4 jsonParser Lorg/springframework/boot/json/JsonParser;
6 12 5 propertySources Lorg/springframework/core/env/MutablePropertySources;
MethodParameters:
Name Flags
environment
application
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationPreparedEvent);
descriptor: (Lorg/springframework/boot/context/event/ApplicationPreparedEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.switchableLogger:Z
ifeq 2
1: aload 0
getfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.logger:Lorg/apache/commons/logging/Log;
checkcast org.springframework.boot.logging.DeferredLog
ldc Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
invokevirtual org.springframework.boot.logging.DeferredLog.switchTo:(Ljava/lang/Class;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 3 1 event Lorg/springframework/boot/context/event/ApplicationPreparedEvent;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
event
private void addWithPrefix(java.util.Properties, java.util.Properties, java.lang.String);
descriptor: (Ljava/util/Properties;Ljava/util/Properties;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.util.Properties.stringPropertyNames:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.util.Properties java.util.Properties java.lang.String top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 2: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 3: aload 1
aload 6
aload 2
aload 4
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
end local 6 end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 6 1 properties Ljava/util/Properties;
0 6 2 other Ljava/util/Properties;
0 6 3 prefix Ljava/lang/String;
2 4 4 key Ljava/lang/String;
3 4 6 prefixed Ljava/lang/String;
MethodParameters:
Name Flags
properties
other
prefix
private java.util.Properties getPropertiesFromApplication(org.springframework.core.env.Environment, org.springframework.boot.json.JsonParser);
descriptor: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/json/JsonParser;)Ljava/util/Properties;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 3
start local 3 1: aload 1
ldc "VCAP_APPLICATION"
ldc "{}"
invokeinterface org.springframework.core.env.Environment.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: aload 2
aload 4
invokeinterface org.springframework.boot.json.JsonParser.parseMap:(Ljava/lang/String;)Ljava/util/Map;
astore 5
start local 5 3: aload 0
aload 3
aload 5
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.extractPropertiesFromApplication:(Ljava/util/Properties;Ljava/util/Map;)V
end local 5 end local 4 4: goto 7
5: StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor org.springframework.core.env.Environment org.springframework.boot.json.JsonParser java.util.Properties
StackMap stack: java.lang.Exception
astore 4
start local 4 6: aload 0
getfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.logger:Lorg/apache/commons/logging/Log;
ldc "Could not parse VCAP_APPLICATION"
aload 4
invokeinterface org.apache.commons.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 8 1 environment Lorg/springframework/core/env/Environment;
0 8 2 parser Lorg/springframework/boot/json/JsonParser;
1 8 3 properties Ljava/util/Properties;
2 4 4 property Ljava/lang/String;
3 4 5 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
6 7 4 ex Ljava/lang/Exception;
Exception table:
from to target type
1 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
environment
parser
private java.util.Properties getPropertiesFromServices(org.springframework.core.env.Environment, org.springframework.boot.json.JsonParser);
descriptor: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/json/JsonParser;)Ljava/util/Properties;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 3
start local 3 1: aload 1
ldc "VCAP_SERVICES"
ldc "{}"
invokeinterface org.springframework.core.env.Environment.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: aload 2
aload 4
invokeinterface org.springframework.boot.json.JsonParser.parseMap:(Ljava/lang/String;)Ljava/util/Map;
astore 5
start local 5 3: aload 0
aload 3
aload 5
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.extractPropertiesFromServices:(Ljava/util/Properties;Ljava/util/Map;)V
end local 5 end local 4 4: goto 7
5: StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor org.springframework.core.env.Environment org.springframework.boot.json.JsonParser java.util.Properties
StackMap stack: java.lang.Exception
astore 4
start local 4 6: aload 0
getfield org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.logger:Lorg/apache/commons/logging/Log;
ldc "Could not parse VCAP_SERVICES"
aload 4
invokeinterface org.apache.commons.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 8 1 environment Lorg/springframework/core/env/Environment;
0 8 2 parser Lorg/springframework/boot/json/JsonParser;
1 8 3 properties Ljava/util/Properties;
2 4 4 property Ljava/lang/String;
3 4 5 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
6 7 4 ex Ljava/lang/Exception;
Exception table:
from to target type
1 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
environment
parser
private void extractPropertiesFromApplication(java.util.Properties, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Properties;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 2
1: aload 0
aload 1
aload 2
ldc ""
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.flatten:(Ljava/util/Properties;Ljava/util/Map;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 3 1 properties Ljava/util/Properties;
0 3 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljava/util/Properties;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
properties
map
private void extractPropertiesFromServices(java.util.Properties, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Properties;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 13
1: aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.util.Properties java.util.Map top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 3: aload 3
checkcast java.util.List
astore 5
start local 5 4: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.util.Properties java.util.Map java.lang.Object java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 6
start local 6 6: aload 6
checkcast java.util.Map
astore 8
start local 8 7: aload 8
ldc "name"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 8: aload 9
ifnonnull 10
9: aload 8
ldc "label"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 9
10: StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.util.Properties java.util.Map java.lang.Object java.util.Iterator java.util.List java.lang.Object java.util.Iterator java.util.Map java.lang.String
StackMap stack:
aload 0
aload 1
aload 8
aload 9
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.flatten:(Ljava/util/Properties;Ljava/util/Map;Ljava/lang/String;)V
end local 9 end local 8 end local 6 11: StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.util.Properties java.util.Map java.lang.Object java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 5 end local 3 12: StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.util.Properties java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
13: StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.util.Properties java.util.Map
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 14 1 properties Ljava/util/Properties;
0 14 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
3 12 3 services Ljava/lang/Object;
4 12 5 list Ljava/util/List<Ljava/lang/Object;>;
6 11 6 object Ljava/lang/Object;
7 11 8 service Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
8 11 9 key Ljava/lang/String;
Signature: (Ljava/util/Properties;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
properties
map
private void flatten(java.util.Properties, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String);
descriptor: (Ljava/util/Properties;Ljava/util/Map;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 0
aload 3
aload 1
invokedynamic accept(Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;Ljava/lang/String;Ljava/util/Properties;)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
org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.lambda$0(Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;Ljava/lang/Object;)V (7)
(Ljava/lang/String;Ljava/lang/Object;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 2 1 properties Ljava/util/Properties;
0 2 2 input Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
0 2 3 path Ljava/lang/String;
Signature: (Ljava/util/Properties;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
properties
input
path
private java.lang.String getPropertyName(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifne 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 2
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 5 1 path Ljava/lang/String;
0 5 2 key Ljava/lang/String;
MethodParameters:
Name Flags
path
key
public void onApplicationEvent(org.springframework.context.ApplicationEvent);
descriptor: (Lorg/springframework/context/ApplicationEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.springframework.boot.context.event.ApplicationPreparedEvent
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.onApplicationEvent:(Lorg/springframework/boot/context/event/ApplicationPreparedEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(java.lang.String, java.util.Properties, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=11, args_size=5
start local 0 start local 3 start local 4 0: aload 0
aload 1
aload 3
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.getPropertyName:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 1: aload 4
instanceof java.util.Map
ifeq 4
2: aload 0
aload 2
aload 4
checkcast java.util.Map
aload 5
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.flatten:(Ljava/util/Properties;Ljava/util/Map;Ljava/lang/String;)V
3: goto 26
4: StackMap locals: java.lang.String
StackMap stack:
aload 4
instanceof java.util.Collection
ifeq 14
5: aload 4
checkcast java.util.Collection
astore 6
start local 6 6: aload 2
aload 5
aload 6
invokestatic org.springframework.util.StringUtils.collectionToCommaDelimitedString:(Ljava/util/Collection;)Ljava/lang/String;
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: iconst_0
istore 7
start local 7 8: aload 6
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 9
goto 12
StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.lang.String java.util.Properties java.lang.String java.lang.Object java.lang.String java.util.Collection int top java.util.Iterator
StackMap stack:
9: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 8
start local 8 10: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
iinc 7 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 11: aload 0
aload 2
aload 10
aload 8
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
aload 5
invokevirtual org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor.flatten:(Ljava/util/Properties;Ljava/util/Map;Ljava/lang/String;)V
end local 10 end local 8 12: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 7 end local 6 13: goto 26
14: StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.lang.String java.util.Properties java.lang.String java.lang.Object java.lang.String
StackMap stack:
aload 4
instanceof java.lang.String
ifeq 17
15: aload 2
aload 5
aload 4
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: goto 26
17: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.Number
ifeq 20
18: aload 2
aload 5
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: goto 26
20: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.Boolean
ifeq 23
21: aload 2
aload 5
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: goto 26
23: StackMap locals:
StackMap stack:
aload 2
aload 5
aload 4
ifnull 24
aload 4
goto 25
StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.lang.String java.util.Properties java.lang.String java.lang.Object java.lang.String
StackMap stack: java.util.Properties java.lang.String
24: ldc ""
StackMap locals: org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor java.lang.String java.util.Properties java.lang.String java.lang.Object java.lang.String
StackMap stack: java.util.Properties java.lang.String java.lang.Object
25: invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 26: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor;
0 27 3 key Ljava/lang/String;
0 27 4 value Ljava/lang/Object;
1 26 5 name Ljava/lang/String;
6 13 6 collection Ljava/util/Collection<Ljava/lang/Object;>;
8 13 7 count I
10 12 8 item Ljava/lang/Object;
11 12 10 itemKey Ljava/lang/String;
}
Signature: Ljava/lang/Object;Lorg/springframework/boot/env/EnvironmentPostProcessor;Lorg/springframework/core/Ordered;Lorg/springframework/context/ApplicationListener<Lorg/springframework/boot/context/event/ApplicationPreparedEvent;>;
SourceFile: "CloudFoundryVcapEnvironmentPostProcessor.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles