class org.springframework.boot.cloud.CloudPlatform$2 extends org.springframework.boot.cloud.CloudPlatform
minor version: 0
major version: 59
flags: flags: (0x4020) ACC_SUPER, ACC_ANNOTATION
this_class: org.springframework.boot.cloud.CloudPlatform$2
super_class: org.springframework.boot.cloud.CloudPlatform
{
void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial org.springframework.boot.cloud.CloudPlatform.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/cloud/CloudPlatform$2;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public boolean isDetected(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "VCAP_APPLICATION"
invokeinterface org.springframework.core.env.Environment.containsProperty:(Ljava/lang/String;)Z
ifne 1
aload 1
ldc "VCAP_SERVICES"
invokeinterface org.springframework.core.env.Environment.containsProperty:(Ljava/lang/String;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/cloud/CloudPlatform$2;
0 2 1 environment Lorg/springframework/core/env/Environment;
MethodParameters:
Name Flags
environment
}
SourceFile: "CloudPlatform.java"
EnclosingMethod: org.springframework.boot.cloud.CloudPlatform
NestHost: org.springframework.boot.cloud.CloudPlatform
InnerClasses:
org.springframework.boot.cloud.CloudPlatform$2