public class org.springframework.aop.config.MethodLocatingFactoryBean implements org.springframework.beans.factory.FactoryBean<java.lang.reflect.Method>, org.springframework.beans.factory.BeanFactoryAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.aop.config.MethodLocatingFactoryBean
super_class: java.lang.Object
{
private java.lang.String targetBeanName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.String methodName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.reflect.Method method;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
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/aop/config/MethodLocatingFactoryBean;
public void setTargetBeanName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.aop.config.MethodLocatingFactoryBean.targetBeanName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/config/MethodLocatingFactoryBean;
0 2 1 targetBeanName Ljava/lang/String;
MethodParameters:
Name Flags
targetBeanName
public void setMethodName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.aop.config.MethodLocatingFactoryBean.methodName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/config/MethodLocatingFactoryBean;
0 2 1 methodName Ljava/lang/String;
MethodParameters:
Name Flags
methodName
public void setBeanFactory(org.springframework.beans.factory.BeanFactory);
descriptor: (Lorg/springframework/beans/factory/BeanFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.targetBeanName:Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "Property 'targetBeanName' is required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.methodName:Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "Property 'methodName' is required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.targetBeanName:Ljava/lang/String;
invokeinterface org.springframework.beans.factory.BeanFactory.getType:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 5: aload 2
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Can't determine type of bean with name '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.targetBeanName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.methodName:Ljava/lang/String;
aload 2
invokestatic org.springframework.beans.BeanUtils.resolveSignature:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield org.springframework.aop.config.MethodLocatingFactoryBean.method:Ljava/lang/reflect/Method;
8: aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.method:Ljava/lang/reflect/Method;
ifnonnull 12
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unable to locate method ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.methodName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc "] on bean ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.targetBeanName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/aop/config/MethodLocatingFactoryBean;
0 13 1 beanFactory Lorg/springframework/beans/factory/BeanFactory;
5 13 2 beanClass Ljava/lang/Class<*>;
MethodParameters:
Name Flags
beanFactory
public java.lang.reflect.Method getObject();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.config.MethodLocatingFactoryBean.method:Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/config/MethodLocatingFactoryBean;
Exceptions:
throws java.lang.Exception
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.Class<java.lang.reflect.Method> getObjectType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/config/MethodLocatingFactoryBean;
Signature: ()Ljava/lang/Class<Ljava/lang/reflect/Method;>;
public boolean isSingleton();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/config/MethodLocatingFactoryBean;
public java.lang.Object getObject();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.aop.config.MethodLocatingFactoryBean.getObject:()Ljava/lang/reflect/Method;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lorg/springframework/beans/factory/FactoryBean<Ljava/lang/reflect/Method;>;Lorg/springframework/beans/factory/BeanFactoryAware;
SourceFile: "MethodLocatingFactoryBean.java"