public abstract class org.springframework.beans.factory.BeanFactoryUtils
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.beans.factory.BeanFactoryUtils
super_class: java.lang.Object
{
public static final java.lang.String GENERATED_BEAN_NAME_SEPARATOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "#"
private static final java.util.Map<java.lang.String, java.lang.String> transformedBeanNameCache;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic org.springframework.beans.factory.BeanFactoryUtils.transformedBeanNameCache:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/BeanFactoryUtils;
public static boolean isFactoryDereference(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
ldc "&"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
public static java.lang.String transformedBeanName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "'name' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
ldc "&"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
2: aload 0
areturn
3: StackMap locals:
StackMap stack:
getstatic org.springframework.beans.factory.BeanFactoryUtils.transformedBeanNameCache:Ljava/util/Map;
aload 0
invokedynamic apply()Ljava/util/function/Function;
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;
org/springframework/beans/factory/BeanFactoryUtils.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static boolean isGeneratedBeanName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
ldc "#"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
public static java.lang.String originalBeanName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "'name' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
ldc "#"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 2: iload 1
iconst_m1
if_icmpeq 3
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 4
StackMap locals: int
StackMap stack:
3: aload 0
StackMap locals:
StackMap stack: java.lang.String
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 name Ljava/lang/String;
2 5 1 separatorIndex I
MethodParameters:
Name Flags
name
public static int countBeansIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.beans.factory.BeanFactoryUtils.beanNamesIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;)[Ljava/lang/String;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
MethodParameters:
Name Flags
lbf
public static java.lang.String[] beanNamesIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/lang/Object;
invokestatic org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
MethodParameters:
Name Flags
lbf
public static java.lang.String[] beanNamesForTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, org.springframework.core.ResolvableType);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Lorg/springframework/core/ResolvableType;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeanNamesForType:(Lorg/springframework/core/ResolvableType;)[Ljava/lang/String;
astore 2
start local 2 2: aload 0
instanceof org.springframework.beans.factory.HierarchicalBeanFactory
ifeq 8
3: aload 0
checkcast org.springframework.beans.factory.HierarchicalBeanFactory
astore 3
start local 3 4: aload 3
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
instanceof org.springframework.beans.factory.ListableBeanFactory
ifeq 8
5: aload 3
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
checkcast org.springframework.beans.factory.ListableBeanFactory
aload 1
6: invokestatic org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Lorg/springframework/core/ResolvableType;)[Ljava/lang/String;
astore 4
start local 4 7: aload 2
aload 4
aload 3
invokestatic org.springframework.beans.factory.BeanFactoryUtils.mergeNamesWithParent:([Ljava/lang/String;[Ljava/lang/String;Lorg/springframework/beans/factory/HierarchicalBeanFactory;)[Ljava/lang/String;
astore 2
end local 4 end local 3 8: StackMap locals: java.lang.String[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 9 1 type Lorg/springframework/core/ResolvableType;
2 9 2 result [Ljava/lang/String;
4 8 3 hbf Lorg/springframework/beans/factory/HierarchicalBeanFactory;
7 8 4 parentResult [Ljava/lang/String;
MethodParameters:
Name Flags
lbf
type
public static java.lang.String[] beanNamesForTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, org.springframework.core.ResolvableType, boolean, boolean);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Lorg/springframework/core/ResolvableType;ZZ)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
iload 2
iload 3
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeanNamesForType:(Lorg/springframework/core/ResolvableType;ZZ)[Ljava/lang/String;
astore 4
start local 4 2: aload 0
instanceof org.springframework.beans.factory.HierarchicalBeanFactory
ifeq 8
3: aload 0
checkcast org.springframework.beans.factory.HierarchicalBeanFactory
astore 5
start local 5 4: aload 5
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
instanceof org.springframework.beans.factory.ListableBeanFactory
ifeq 8
5: aload 5
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
checkcast org.springframework.beans.factory.ListableBeanFactory
aload 1
iload 2
iload 3
6: invokestatic org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Lorg/springframework/core/ResolvableType;ZZ)[Ljava/lang/String;
astore 6
start local 6 7: aload 4
aload 6
aload 5
invokestatic org.springframework.beans.factory.BeanFactoryUtils.mergeNamesWithParent:([Ljava/lang/String;[Ljava/lang/String;Lorg/springframework/beans/factory/HierarchicalBeanFactory;)[Ljava/lang/String;
astore 4
end local 6 end local 5 8: StackMap locals: java.lang.String[]
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 9 1 type Lorg/springframework/core/ResolvableType;
0 9 2 includeNonSingletons Z
0 9 3 allowEagerInit Z
2 9 4 result [Ljava/lang/String;
4 8 5 hbf Lorg/springframework/beans/factory/HierarchicalBeanFactory;
7 8 6 parentResult [Ljava/lang/String;
MethodParameters:
Name Flags
lbf
type
includeNonSingletons
allowEagerInit
public static java.lang.String[] beanNamesForTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<?>);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeanNamesForType:(Ljava/lang/Class;)[Ljava/lang/String;
astore 2
start local 2 2: aload 0
instanceof org.springframework.beans.factory.HierarchicalBeanFactory
ifeq 8
3: aload 0
checkcast org.springframework.beans.factory.HierarchicalBeanFactory
astore 3
start local 3 4: aload 3
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
instanceof org.springframework.beans.factory.ListableBeanFactory
ifeq 8
5: aload 3
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
checkcast org.springframework.beans.factory.ListableBeanFactory
aload 1
6: invokestatic org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)[Ljava/lang/String;
astore 4
start local 4 7: aload 2
aload 4
aload 3
invokestatic org.springframework.beans.factory.BeanFactoryUtils.mergeNamesWithParent:([Ljava/lang/String;[Ljava/lang/String;Lorg/springframework/beans/factory/HierarchicalBeanFactory;)[Ljava/lang/String;
astore 2
end local 4 end local 3 8: StackMap locals: java.lang.String[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 9 1 type Ljava/lang/Class<*>;
2 9 2 result [Ljava/lang/String;
4 8 3 hbf Lorg/springframework/beans/factory/HierarchicalBeanFactory;
7 8 4 parentResult [Ljava/lang/String;
Signature: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<*>;)[Ljava/lang/String;
MethodParameters:
Name Flags
lbf
type
public static java.lang.String[] beanNamesForTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<?>, boolean, boolean);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;ZZ)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
iload 2
iload 3
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeanNamesForType:(Ljava/lang/Class;ZZ)[Ljava/lang/String;
astore 4
start local 4 2: aload 0
instanceof org.springframework.beans.factory.HierarchicalBeanFactory
ifeq 8
3: aload 0
checkcast org.springframework.beans.factory.HierarchicalBeanFactory
astore 5
start local 5 4: aload 5
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
instanceof org.springframework.beans.factory.ListableBeanFactory
ifeq 8
5: aload 5
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
checkcast org.springframework.beans.factory.ListableBeanFactory
aload 1
iload 2
iload 3
6: invokestatic org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;ZZ)[Ljava/lang/String;
astore 6
start local 6 7: aload 4
aload 6
aload 5
invokestatic org.springframework.beans.factory.BeanFactoryUtils.mergeNamesWithParent:([Ljava/lang/String;[Ljava/lang/String;Lorg/springframework/beans/factory/HierarchicalBeanFactory;)[Ljava/lang/String;
astore 4
end local 6 end local 5 8: StackMap locals: java.lang.String[]
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 9 1 type Ljava/lang/Class<*>;
0 9 2 includeNonSingletons Z
0 9 3 allowEagerInit Z
2 9 4 result [Ljava/lang/String;
4 8 5 hbf Lorg/springframework/beans/factory/HierarchicalBeanFactory;
7 8 6 parentResult [Ljava/lang/String;
Signature: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<*>;ZZ)[Ljava/lang/String;
MethodParameters:
Name Flags
lbf
type
includeNonSingletons
allowEagerInit
public static java.lang.String[] beanNamesForAnnotationIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeanNamesForAnnotation:(Ljava/lang/Class;)[Ljava/lang/String;
astore 2
start local 2 2: aload 0
instanceof org.springframework.beans.factory.HierarchicalBeanFactory
ifeq 8
3: aload 0
checkcast org.springframework.beans.factory.HierarchicalBeanFactory
astore 3
start local 3 4: aload 3
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
instanceof org.springframework.beans.factory.ListableBeanFactory
ifeq 8
5: aload 3
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
checkcast org.springframework.beans.factory.ListableBeanFactory
aload 1
6: invokestatic org.springframework.beans.factory.BeanFactoryUtils.beanNamesForAnnotationIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)[Ljava/lang/String;
astore 4
start local 4 7: aload 2
aload 4
aload 3
invokestatic org.springframework.beans.factory.BeanFactoryUtils.mergeNamesWithParent:([Ljava/lang/String;[Ljava/lang/String;Lorg/springframework/beans/factory/HierarchicalBeanFactory;)[Ljava/lang/String;
astore 2
end local 4 end local 3 8: StackMap locals: java.lang.String[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 9 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
2 9 2 result [Ljava/lang/String;
4 8 3 hbf Lorg/springframework/beans/factory/HierarchicalBeanFactory;
7 8 4 parentResult [Ljava/lang/String;
Signature: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)[Ljava/lang/String;
MethodParameters:
Name Flags
lbf
annotationType
public static <T> java.util.Map<java.lang.String, T> beansOfTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<T>);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: new java.util.LinkedHashMap
dup
iconst_4
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 2
start local 2 2: aload 2
aload 0
aload 1
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeansOfType:(Ljava/lang/Class;)Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
3: aload 0
instanceof org.springframework.beans.factory.HierarchicalBeanFactory
ifeq 9
4: aload 0
checkcast org.springframework.beans.factory.HierarchicalBeanFactory
astore 3
start local 3 5: aload 3
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
instanceof org.springframework.beans.factory.ListableBeanFactory
ifeq 9
6: aload 3
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
checkcast org.springframework.beans.factory.ListableBeanFactory
aload 1
7: invokestatic org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)Ljava/util/Map;
astore 4
start local 4 8: aload 4
aload 2
aload 3
invokedynamic accept(Ljava/util/Map;Lorg/springframework/beans/factory/HierarchicalBeanFactory;)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/beans/factory/BeanFactoryUtils.lambda$1(Ljava/util/Map;Lorg/springframework/beans/factory/HierarchicalBeanFactory;Ljava/lang/String;Ljava/lang/Object;)V (6)
(Ljava/lang/String;Ljava/lang/Object;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
end local 4 end local 3 9: StackMap locals: java.util.Map
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 10 1 type Ljava/lang/Class<TT;>;
2 10 2 result Ljava/util/Map<Ljava/lang/String;TT;>;
5 9 3 hbf Lorg/springframework/beans/factory/HierarchicalBeanFactory;
8 9 4 parentResult Ljava/util/Map<Ljava/lang/String;TT;>;
Exceptions:
throws org.springframework.beans.BeansException
Signature: <T:Ljava/lang/Object;>(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<TT;>;)Ljava/util/Map<Ljava/lang/String;TT;>;
MethodParameters:
Name Flags
lbf
type
public static <T> java.util.Map<java.lang.String, T> beansOfTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<T>, boolean, boolean);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;ZZ)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: new java.util.LinkedHashMap
dup
iconst_4
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 4
start local 4 2: aload 4
aload 0
aload 1
iload 2
iload 3
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeansOfType:(Ljava/lang/Class;ZZ)Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
3: aload 0
instanceof org.springframework.beans.factory.HierarchicalBeanFactory
ifeq 9
4: aload 0
checkcast org.springframework.beans.factory.HierarchicalBeanFactory
astore 5
start local 5 5: aload 5
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
instanceof org.springframework.beans.factory.ListableBeanFactory
ifeq 9
6: aload 5
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.getParentBeanFactory:()Lorg/springframework/beans/factory/BeanFactory;
checkcast org.springframework.beans.factory.ListableBeanFactory
aload 1
iload 2
iload 3
7: invokestatic org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;ZZ)Ljava/util/Map;
astore 6
start local 6 8: aload 6
aload 4
aload 5
invokedynamic accept(Ljava/util/Map;Lorg/springframework/beans/factory/HierarchicalBeanFactory;)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/beans/factory/BeanFactoryUtils.lambda$2(Ljava/util/Map;Lorg/springframework/beans/factory/HierarchicalBeanFactory;Ljava/lang/String;Ljava/lang/Object;)V (6)
(Ljava/lang/String;Ljava/lang/Object;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
end local 6 end local 5 9: StackMap locals: java.util.Map
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 10 1 type Ljava/lang/Class<TT;>;
0 10 2 includeNonSingletons Z
0 10 3 allowEagerInit Z
2 10 4 result Ljava/util/Map<Ljava/lang/String;TT;>;
5 9 5 hbf Lorg/springframework/beans/factory/HierarchicalBeanFactory;
8 9 6 parentResult Ljava/util/Map<Ljava/lang/String;TT;>;
Exceptions:
throws org.springframework.beans.BeansException
Signature: <T:Ljava/lang/Object;>(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<TT;>;ZZ)Ljava/util/Map<Ljava/lang/String;TT;>;
MethodParameters:
Name Flags
lbf
type
includeNonSingletons
allowEagerInit
public static <T> T beanOfTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<T>);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)Ljava/util/Map;
astore 2
start local 2 1: aload 1
aload 2
invokestatic org.springframework.beans.factory.BeanFactoryUtils.uniqueBean:(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 2 1 type Ljava/lang/Class<TT;>;
1 2 2 beansOfType Ljava/util/Map<Ljava/lang/String;TT;>;
Exceptions:
throws org.springframework.beans.BeansException
Signature: <T:Ljava/lang/Object;>(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
lbf
type
public static <T> T beanOfTypeIncludingAncestors(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<T>, boolean, );
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;ZZ)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokestatic org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors:(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;ZZ)Ljava/util/Map;
astore 4
start local 4 1: aload 1
aload 4
invokestatic org.springframework.beans.factory.BeanFactoryUtils.uniqueBean:(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 2 1 type Ljava/lang/Class<TT;>;
0 2 2 includeNonSingletons Z
0 2 3 allowEagerInit Z
1 2 4 beansOfType Ljava/util/Map<Ljava/lang/String;TT;>;
Exceptions:
throws org.springframework.beans.BeansException
Signature: <T:Ljava/lang/Object;>(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<TT;>;ZZ)TT;
MethodParameters:
Name Flags
lbf
type
includeNonSingletons
allowEagerInit
public static <T> T beanOfType(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<T>);
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeansOfType:(Ljava/lang/Class;)Ljava/util/Map;
astore 2
start local 2 2: aload 1
aload 2
invokestatic org.springframework.beans.factory.BeanFactoryUtils.uniqueBean:(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 3 1 type Ljava/lang/Class<TT;>;
2 3 2 beansOfType Ljava/util/Map<Ljava/lang/String;TT;>;
Exceptions:
throws org.springframework.beans.BeansException
Signature: <T:Ljava/lang/Object;>(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
lbf
type
public static <T> T beanOfType(org.springframework.beans.factory.ListableBeanFactory, java.lang.Class<T>, boolean, );
descriptor: (Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;ZZ)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "ListableBeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
iload 2
iload 3
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeansOfType:(Ljava/lang/Class;ZZ)Ljava/util/Map;
astore 4
start local 4 2: aload 1
aload 4
invokestatic org.springframework.beans.factory.BeanFactoryUtils.uniqueBean:(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 lbf Lorg/springframework/beans/factory/ListableBeanFactory;
0 3 1 type Ljava/lang/Class<TT;>;
0 3 2 includeNonSingletons Z
0 3 3 allowEagerInit Z
2 3 4 beansOfType Ljava/util/Map<Ljava/lang/String;TT;>;
Exceptions:
throws org.springframework.beans.BeansException
Signature: <T:Ljava/lang/Object;>(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class<TT;>;ZZ)TT;
MethodParameters:
Name Flags
lbf
type
includeNonSingletons
allowEagerInit
private static java.lang.String[] mergeNamesWithParent(java.lang.String[], java.lang.String[], org.springframework.beans.factory.HierarchicalBeanFactory);
descriptor: ([Ljava/lang/String;[Ljava/lang/String;Lorg/springframework/beans/factory/HierarchicalBeanFactory;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 0
arraylength
aload 1
arraylength
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 3: aload 3
aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: java.lang.String[] java.lang.String[] org.springframework.beans.factory.HierarchicalBeanFactory java.util.List top int int java.lang.String[]
StackMap stack:
5: aload 7
iload 5
aaload
astore 4
start local 4 6: aload 3
aload 4
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 8
aload 2
aload 4
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.containsLocalBean:(Ljava/lang/String;)Z
ifne 8
7: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 5
10: aload 3
invokestatic org.springframework.util.StringUtils.toStringArray:(Ljava/util/Collection;)[Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 result [Ljava/lang/String;
0 11 1 parentResult [Ljava/lang/String;
0 11 2 hbf Lorg/springframework/beans/factory/HierarchicalBeanFactory;
3 11 3 merged Ljava/util/List<Ljava/lang/String;>;
6 8 4 beanName Ljava/lang/String;
MethodParameters:
Name Flags
result
parentResult
hbf
private static <T> T uniqueBean(java.lang.Class<T>, java.util.Map<java.lang.String, T>);
descriptor: (Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.size:()I
istore 2
start local 2 1: iload 2
iconst_1
if_icmpne 3
2: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
areturn
3: StackMap locals: int
StackMap stack:
iload 2
iconst_1
if_icmple 5
4: new org.springframework.beans.factory.NoUniqueBeanDefinitionException
dup
aload 0
aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial org.springframework.beans.factory.NoUniqueBeanDefinitionException.<init>:(Ljava/lang/Class;Ljava/util/Collection;)V
athrow
5: StackMap locals:
StackMap stack:
new org.springframework.beans.factory.NoSuchBeanDefinitionException
dup
aload 0
invokespecial org.springframework.beans.factory.NoSuchBeanDefinitionException.<init>:(Ljava/lang/Class;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 type Ljava/lang/Class<TT;>;
0 6 1 matchingBeans Ljava/util/Map<Ljava/lang/String;TT;>;
1 6 2 count I
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/util/Map<Ljava/lang/String;TT;>;)TT;
MethodParameters:
Name Flags
type
matchingBeans
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
ldc "&"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
1: aload 0
ldc "&"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 0
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 beanName Ljava/lang/String;
private static void lambda$1(java.util.Map, org.springframework.beans.factory.HierarchicalBeanFactory, java.lang.String, java.lang.Object);
descriptor: (Ljava/util/Map;Lorg/springframework/beans/factory/HierarchicalBeanFactory;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 2 start local 3 0: aload 0
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 2
aload 1
aload 2
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.containsLocalBean:(Ljava/lang/String;)Z
ifne 2
1: aload 0
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 beanName Ljava/lang/String;
0 3 3 beanInstance TT;
private static void lambda$2(java.util.Map, org.springframework.beans.factory.HierarchicalBeanFactory, java.lang.String, java.lang.Object);
descriptor: (Ljava/util/Map;Lorg/springframework/beans/factory/HierarchicalBeanFactory;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 2 start local 3 0: aload 0
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 2
aload 1
aload 2
invokeinterface org.springframework.beans.factory.HierarchicalBeanFactory.containsLocalBean:(Ljava/lang/String;)Z
ifne 2
1: aload 0
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 beanName Ljava/lang/String;
0 3 3 beanInstance TT;
}
SourceFile: "BeanFactoryUtils.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles