class org.springframework.context.annotation.ProfileCondition implements org.springframework.context.annotation.Condition
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.context.annotation.ProfileCondition
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // org.springframework.context.annotation.ProfileCondition this
0: .line 32
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.springframework.context.annotation.ProfileCondition this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/annotation/ProfileCondition;
public boolean matches(org.springframework.context.annotation.ConditionContext, org.springframework.core.type.AnnotatedTypeMetadata);
descriptor: (Lorg/springframework/context/annotation/ConditionContext;Lorg/springframework/core/type/AnnotatedTypeMetadata;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=3
start local 0 // org.springframework.context.annotation.ProfileCondition this
start local 1 // org.springframework.context.annotation.ConditionContext context
start local 2 // org.springframework.core.type.AnnotatedTypeMetadata metadata
0: .line 36
aload 2 /* metadata */
ldc Lorg/springframework/context/annotation/Profile;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.springframework.core.type.AnnotatedTypeMetadata.getAllAnnotationAttributes:(Ljava/lang/String;)Lorg/springframework/util/MultiValueMap;
astore 3 /* attrs */
start local 3 // org.springframework.util.MultiValueMap attrs
1: .line 37
aload 3 /* attrs */
ifnull 8
2: .line 38
aload 3 /* attrs */
ldc "value"
invokeinterface org.springframework.util.MultiValueMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.springframework.context.annotation.ProfileCondition org.springframework.context.annotation.ConditionContext org.springframework.core.type.AnnotatedTypeMetadata org.springframework.util.MultiValueMap top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4 /* value */
start local 4 // java.lang.Object value
4: .line 39
aload 1 /* context */
invokeinterface org.springframework.context.annotation.ConditionContext.getEnvironment:()Lorg/springframework/core/env/Environment;
aload 4 /* value */
checkcast java.lang.String[]
invokestatic org.springframework.core.env.Profiles.of:([Ljava/lang/String;)Lorg/springframework/core/env/Profiles;
invokeinterface org.springframework.core.env.Environment.acceptsProfiles:(Lorg/springframework/core/env/Profiles;)Z
ifeq 6
5: .line 40
iconst_1
ireturn
end local 4 // java.lang.Object value
6: .line 38
StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: .line 43
iconst_0
ireturn
8: .line 45
StackMap locals: org.springframework.context.annotation.ProfileCondition org.springframework.context.annotation.ConditionContext org.springframework.core.type.AnnotatedTypeMetadata org.springframework.util.MultiValueMap
StackMap stack:
iconst_1
ireturn
end local 3 // org.springframework.util.MultiValueMap attrs
end local 2 // org.springframework.core.type.AnnotatedTypeMetadata metadata
end local 1 // org.springframework.context.annotation.ConditionContext context
end local 0 // org.springframework.context.annotation.ProfileCondition this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/context/annotation/ProfileCondition;
0 9 1 context Lorg/springframework/context/annotation/ConditionContext;
0 9 2 metadata Lorg/springframework/core/type/AnnotatedTypeMetadata;
1 9 3 attrs Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/Object;>;
4 6 4 value Ljava/lang/Object;
MethodParameters:
Name Flags
context
metadata
}
SourceFile: "ProfileCondition.java"