public class org.springframework.context.expression.BeanFactoryResolver implements org.springframework.expression.BeanResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.context.expression.BeanFactoryResolver
super_class: java.lang.Object
{
private final org.springframework.beans.factory.BeanFactory beanFactory;
descriptor: Lorg/springframework/beans/factory/BeanFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.beans.factory.BeanFactory);
descriptor: (Lorg/springframework/beans/factory/BeanFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.springframework.context.expression.BeanFactoryResolver this
start local 1 // org.springframework.beans.factory.BeanFactory beanFactory
0: .line 42
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 43
aload 1 /* beanFactory */
ldc "BeanFactory must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: .line 44
aload 0 /* this */
aload 1 /* beanFactory */
putfield org.springframework.context.expression.BeanFactoryResolver.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
3: .line 45
return
end local 1 // org.springframework.beans.factory.BeanFactory beanFactory
end local 0 // org.springframework.context.expression.BeanFactoryResolver this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/expression/BeanFactoryResolver;
0 4 1 beanFactory Lorg/springframework/beans/factory/BeanFactory;
MethodParameters:
Name Flags
beanFactory
public java.lang.Object resolve(org.springframework.expression.EvaluationContext, java.lang.String);
descriptor: (Lorg/springframework/expression/EvaluationContext;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 // org.springframework.context.expression.BeanFactoryResolver this
start local 1 // org.springframework.expression.EvaluationContext context
start local 2 // java.lang.String beanName
0: .line 51
aload 0 /* this */
getfield org.springframework.context.expression.BeanFactoryResolver.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
aload 2 /* beanName */
invokeinterface org.springframework.beans.factory.BeanFactory.getBean:(Ljava/lang/String;)Ljava/lang/Object;
1: areturn
2: .line 53
StackMap locals:
StackMap stack: org.springframework.beans.BeansException
astore 3 /* ex */
start local 3 // org.springframework.beans.BeansException ex
3: .line 54
new org.springframework.expression.AccessException
dup
ldc "Could not resolve bean reference against BeanFactory"
aload 3 /* ex */
invokespecial org.springframework.expression.AccessException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 // org.springframework.beans.BeansException ex
end local 2 // java.lang.String beanName
end local 1 // org.springframework.expression.EvaluationContext context
end local 0 // org.springframework.context.expression.BeanFactoryResolver this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/expression/BeanFactoryResolver;
0 4 1 context Lorg/springframework/expression/EvaluationContext;
0 4 2 beanName Ljava/lang/String;
3 4 3 ex Lorg/springframework/beans/BeansException;
Exception table:
from to target type
0 1 2 Class org.springframework.beans.BeansException
Exceptions:
throws org.springframework.expression.AccessException
MethodParameters:
Name Flags
context
beanName
}
SourceFile: "BeanFactoryResolver.java"