public class org.springframework.boot.context.config.Profiles implements java.lang.Iterable<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.context.config.Profiles
super_class: java.lang.Object
{
public static final java.lang.String INCLUDE_PROFILES_PROPERTY_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "spring.profiles.include"
private static final org.springframework.boot.context.properties.bind.Bindable<org.springframework.util.MultiValueMap<java.lang.String, java.lang.String>> STRING_STRINGS_MAP;
descriptor: Lorg/springframework/boot/context/properties/bind/Bindable;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/springframework/boot/context/properties/bind/Bindable<Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;>;
private static final java.util.Set<java.lang.String> UNSET_ACTIVE;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> UNSET_DEFAULT;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final org.springframework.util.MultiValueMap<java.lang.String, java.lang.String> groups;
descriptor: Lorg/springframework/util/MultiValueMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Ljava/lang/String;>;
private final java.util.List<java.lang.String> activeProfiles;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.util.List<java.lang.String> defaultProfiles;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Lorg/springframework/util/MultiValueMap;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljava/lang/String;
aastore
invokestatic org.springframework.core.ResolvableType.forClassWithGenerics:(Ljava/lang/Class;[Ljava/lang/Class;)Lorg/springframework/core/ResolvableType;
invokestatic org.springframework.boot.context.properties.bind.Bindable.of:(Lorg/springframework/core/ResolvableType;)Lorg/springframework/boot/context/properties/bind/Bindable;
1: putstatic org.springframework.boot.context.config.Profiles.STRING_STRINGS_MAP:Lorg/springframework/boot/context/properties/bind/Bindable;
2: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putstatic org.springframework.boot.context.config.Profiles.UNSET_ACTIVE:Ljava/util/Set;
3: ldc "default"
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
putstatic org.springframework.boot.context.config.Profiles.UNSET_DEFAULT:Ljava/util/Set;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.springframework.core.env.Environment, org.springframework.boot.context.properties.bind.Binder, java.util.Collection<java.lang.String>);
descriptor: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
ldc "spring.profiles.group"
getstatic org.springframework.boot.context.config.Profiles.STRING_STRINGS_MAP:Lorg/springframework/boot/context/properties/bind/Bindable;
invokevirtual org.springframework.boot.context.properties.bind.Binder.bind:(Ljava/lang/String;Lorg/springframework/boot/context/properties/bind/Bindable;)Lorg/springframework/boot/context/properties/bind/BindResult;
invokedynamic get()Ljava/util/function/Supplier;
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;
org/springframework/util/LinkedMultiValueMap.<init>()V (8)
()Lorg/springframework/util/MultiValueMap;
invokevirtual org.springframework.boot.context.properties.bind.BindResult.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.springframework.util.MultiValueMap
putfield org.springframework.boot.context.config.Profiles.groups:Lorg/springframework/util/MultiValueMap;
2: aload 0
aload 0
aload 0
aload 1
aload 2
aload 3
invokevirtual org.springframework.boot.context.config.Profiles.getActivatedProfiles:(Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/Collection;)Ljava/util/List;
invokevirtual org.springframework.boot.context.config.Profiles.expandProfiles:(Ljava/util/List;)Ljava/util/List;
putfield org.springframework.boot.context.config.Profiles.activeProfiles:Ljava/util/List;
3: aload 0
aload 0
aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.config.Profiles.getDefaultProfiles:(Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;)Ljava/util/List;
invokevirtual org.springframework.boot.context.config.Profiles.expandProfiles:(Ljava/util/List;)Ljava/util/List;
putfield org.springframework.boot.context.config.Profiles.defaultProfiles:Ljava/util/List;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/config/Profiles;
0 5 1 environment Lorg/springframework/core/env/Environment;
0 5 2 binder Lorg/springframework/boot/context/properties/bind/Binder;
0 5 3 additionalProfiles Ljava/util/Collection<Ljava/lang/String;>;
Signature: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
environment
binder
additionalProfiles
private java.util.List<java.lang.String> getActivatedProfiles(org.springframework.core.env.Environment, org.springframework.boot.context.properties.bind.Binder, java.util.Collection<java.lang.String>);
descriptor: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/Collection;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
aload 1
aload 2
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/core/env/Environment;)Ljava/util/function/Supplier;
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;
org/springframework/core/env/Environment.getActiveProfiles()[Ljava/lang/String; (9 itf)
()[Ljava/lang/String;
1: ldc "spring.profiles.active"
getstatic org.springframework.boot.context.config.Profiles.UNSET_ACTIVE:Ljava/util/Set;
2: invokevirtual org.springframework.boot.context.config.Profiles.get:(Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/function/Supplier;Ljava/lang/String;Ljava/util/Set;)[Ljava/lang/String;
3: aload 3
4: invokevirtual org.springframework.boot.context.config.Profiles.asUniqueItemList:([Ljava/lang/String;Ljava/util/Collection;)Ljava/util/List;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/config/Profiles;
0 5 1 environment Lorg/springframework/core/env/Environment;
0 5 2 binder Lorg/springframework/boot/context/properties/bind/Binder;
0 5 3 additionalProfiles Ljava/util/Collection<Ljava/lang/String;>;
Signature: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/Collection<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
environment
binder
additionalProfiles
private java.util.List<java.lang.String> getDefaultProfiles(org.springframework.core.env.Environment, org.springframework.boot.context.properties.bind.Binder);
descriptor: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 1
aload 2
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/core/env/Environment;)Ljava/util/function/Supplier;
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;
org/springframework/core/env/Environment.getDefaultProfiles()[Ljava/lang/String; (9 itf)
()[Ljava/lang/String;
1: ldc "spring.profiles.default"
getstatic org.springframework.boot.context.config.Profiles.UNSET_DEFAULT:Ljava/util/Set;
2: invokevirtual org.springframework.boot.context.config.Profiles.get:(Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/function/Supplier;Ljava/lang/String;Ljava/util/Set;)[Ljava/lang/String;
invokevirtual org.springframework.boot.context.config.Profiles.asUniqueItemList:([Ljava/lang/String;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/Profiles;
0 3 1 environment Lorg/springframework/core/env/Environment;
0 3 2 binder Lorg/springframework/boot/context/properties/bind/Binder;
Signature: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
environment
binder
private java.lang.String[] get(org.springframework.core.env.Environment, org.springframework.boot.context.properties.bind.Binder, java.util.function.Supplier<java.lang.String[]>, java.lang.String, java.util.Set<java.lang.String>);
descriptor: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/function/Supplier;Ljava/lang/String;Ljava/util/Set;)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 4
invokeinterface org.springframework.core.env.Environment.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 1: aload 0
aload 3
aload 6
aload 5
invokevirtual org.springframework.boot.context.config.Profiles.hasExplicit:(Ljava/util/function/Supplier;Ljava/lang/String;Ljava/util/Set;)Z
ifeq 3
2: aload 3
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 4
ldc [Ljava/lang/String;
invokevirtual org.springframework.boot.context.properties.bind.Binder.bind:(Ljava/lang/String;Ljava/lang/Class;)Lorg/springframework/boot/context/properties/bind/BindResult;
aload 5
invokestatic org.springframework.util.StringUtils.toStringArray:(Ljava/util/Collection;)[Ljava/lang/String;
invokevirtual org.springframework.boot.context.properties.bind.BindResult.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/config/Profiles;
0 4 1 environment Lorg/springframework/core/env/Environment;
0 4 2 binder Lorg/springframework/boot/context/properties/bind/Binder;
0 4 3 supplier Ljava/util/function/Supplier<[Ljava/lang/String;>;
0 4 4 propertyName Ljava/lang/String;
0 4 5 unset Ljava/util/Set<Ljava/lang/String;>;
1 4 6 propertyValue Ljava/lang/String;
Signature: (Lorg/springframework/core/env/Environment;Lorg/springframework/boot/context/properties/bind/Binder;Ljava/util/function/Supplier<[Ljava/lang/String;>;Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;)[Ljava/lang/String;
MethodParameters:
Name Flags
environment
binder
supplier
propertyName
unset
private boolean hasExplicit(java.util.function.Supplier<java.lang.String[]>, java.lang.String, java.util.Set<java.lang.String>);
descriptor: (Ljava/util/function/Supplier;Ljava/lang/String;Ljava/util/Set;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.LinkedHashSet
dup
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 1: aload 2
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifne 5
2: aload 3
aload 4
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifeq 3
iconst_0
goto 4
StackMap locals: java.util.Set
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ireturn
5: StackMap locals:
StackMap stack:
aload 2
invokestatic org.springframework.util.StringUtils.trimAllWhitespace:(Ljava/lang/String;)Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.commaDelimitedListToSet:(Ljava/lang/String;)Ljava/util/Set;
6: astore 5
start local 5 7: aload 5
aload 4
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifeq 8
iconst_0
goto 9
StackMap locals: java.util.Set
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/boot/context/config/Profiles;
0 10 1 supplier Ljava/util/function/Supplier<[Ljava/lang/String;>;
0 10 2 propertyValue Ljava/lang/String;
0 10 3 unset Ljava/util/Set<Ljava/lang/String;>;
1 10 4 profiles Ljava/util/Set<Ljava/lang/String;>;
7 10 5 propertyProfiles Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/function/Supplier<[Ljava/lang/String;>;Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
supplier
propertyValue
unset
private java.util.List<java.lang.String> expandProfiles(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 2
start local 2 1: aload 0
aload 1
invokevirtual org.springframework.boot.context.config.Profiles.asReversedList:(Ljava/util/List;)Ljava/util/List;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/Deque;)Ljava/util/function/Consumer;
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;)V
java/util/Deque.push(Ljava/lang/Object;)V (9 itf)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
2: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 4
start local 4 3: goto 7
4: StackMap locals: org.springframework.boot.context.config.Profiles java.util.List java.util.Deque top java.util.Set
StackMap stack:
aload 2
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: aload 4
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifeq 7
6: aload 0
aload 0
getfield org.springframework.boot.context.config.Profiles.groups:Lorg/springframework/util/MultiValueMap;
aload 5
invokeinterface org.springframework.util.MultiValueMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.springframework.boot.context.config.Profiles.asReversedList:(Ljava/util/List;)Ljava/util/List;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/Deque;)Ljava/util/function/Consumer;
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;)V
java/util/Deque.push(Ljava/lang/Object;)V (9 itf)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
end local 5 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 4
8: aload 0
aload 4
invokestatic org.springframework.util.StringUtils.toStringArray:(Ljava/util/Collection;)[Ljava/lang/String;
invokevirtual org.springframework.boot.context.config.Profiles.asUniqueItemList:([Ljava/lang/String;)Ljava/util/List;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/boot/context/config/Profiles;
0 9 1 profiles Ljava/util/List<Ljava/lang/String;>;
1 9 2 stack Ljava/util/Deque<Ljava/lang/String;>;
3 9 4 expandedProfiles Ljava/util/Set<Ljava/lang/String;>;
5 7 5 current Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
profiles
private java.util.List<java.lang.String> asReversedList(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifeq 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 3: aload 2
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/config/Profiles;
0 5 1 list Ljava/util/List<Ljava/lang/String;>;
3 5 2 reversed Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
list
private java.util.List<java.lang.String> asUniqueItemList(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.springframework.boot.context.config.Profiles.asUniqueItemList:([Ljava/lang/String;Ljava/util/Collection;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/Profiles;
0 1 1 array [Ljava/lang/String;
Signature: ([Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
array
private java.util.List<java.lang.String> asUniqueItemList(java.lang.String[], java.util.Collection<java.lang.String>);
descriptor: ([Ljava/lang/String;Ljava/util/Collection;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.LinkedHashSet
dup
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 1: aload 2
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifne 3
2: aload 3
aload 2
invokevirtual java.util.LinkedHashSet.addAll:(Ljava/util/Collection;)Z
pop
3: StackMap locals: java.util.LinkedHashSet
StackMap stack:
new java.util.ArrayList
dup
aload 3
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/config/Profiles;
0 4 1 array [Ljava/lang/String;
0 4 2 additional Ljava/util/Collection<Ljava/lang/String;>;
1 4 3 uniqueItems Ljava/util/LinkedHashSet<Ljava/lang/String;>;
Signature: ([Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
array
additional
public java.util.Iterator<java.lang.String> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.boot.context.config.Profiles.getAccepted:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/Profiles;
Signature: ()Ljava/util/Iterator<Ljava/lang/String;>;
public java.util.List<java.lang.String> getActive();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.config.Profiles.activeProfiles:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/Profiles;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getDefault();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.config.Profiles.defaultProfiles:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/Profiles;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getAccepted();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.config.Profiles.activeProfiles:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 1
aload 0
getfield org.springframework.boot.context.config.Profiles.activeProfiles:Ljava/util/List;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.springframework.boot.context.config.Profiles.defaultProfiles:Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/Profiles;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public boolean isAccepted(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.boot.context.config.Profiles.getAccepted:()Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/Profiles;
0 1 1 profile Ljava/lang/String;
MethodParameters:
Name Flags
profile
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.springframework.core.style.ToStringCreator
dup
aload 0
invokespecial org.springframework.core.style.ToStringCreator.<init>:(Ljava/lang/Object;)V
astore 1
start local 1 1: aload 1
ldc "active"
aload 0
invokevirtual org.springframework.boot.context.config.Profiles.getActive:()Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual org.springframework.core.style.ToStringCreator.append:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/core/style/ToStringCreator;
pop
2: aload 1
ldc "default"
aload 0
invokevirtual org.springframework.boot.context.config.Profiles.getDefault:()Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual org.springframework.core.style.ToStringCreator.append:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/core/style/ToStringCreator;
pop
3: aload 1
ldc "accepted"
aload 0
invokevirtual org.springframework.boot.context.config.Profiles.getAccepted:()Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual org.springframework.core.style.ToStringCreator.append:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/core/style/ToStringCreator;
pop
4: aload 1
invokevirtual org.springframework.core.style.ToStringCreator.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/config/Profiles;
1 5 1 creator Lorg/springframework/core/style/ToStringCreator;
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Ljava/lang/String;>;
SourceFile: "Profiles.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles