public class org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader extends org.springframework.beans.factory.support.AbstractBeanDefinitionReader implements groovy.lang.GroovyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
super_class: org.springframework.beans.factory.support.AbstractBeanDefinitionReader
{
private final org.springframework.beans.factory.xml.XmlBeanDefinitionReader standardXmlBeanDefinitionReader;
descriptor: Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.beans.factory.xml.XmlBeanDefinitionReader groovyDslXmlBeanDefinitionReader;
descriptor: Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.String> namespaces;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private final java.util.Map<java.lang.String, org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty> deferredProperties;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader$DeferredProperty;>;
private groovy.lang.MetaClass metaClass;
descriptor: Lgroovy/lang/MetaClass;
flags: (0x0002) ACC_PRIVATE
private groovy.lang.Binding binding;
descriptor: Lgroovy/lang/Binding;
flags: (0x0002) ACC_PRIVATE
private org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper currentBeanDefinition;
descriptor: Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.beans.factory.support.AbstractBeanDefinitionReader.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.namespaces:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.deferredProperties:Ljava/util/Map;
3: aload 0
invokestatic groovy.lang.GroovySystem.getMetaClassRegistry:()Lgroovy/lang/MetaClassRegistry;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface groovy.lang.MetaClassRegistry.getMetaClass:(Ljava/lang/Class;)Lgroovy/lang/MetaClass;
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.metaClass:Lgroovy/lang/MetaClass;
4: aload 0
new org.springframework.beans.factory.xml.XmlBeanDefinitionReader
dup
aload 1
invokespecial org.springframework.beans.factory.xml.XmlBeanDefinitionReader.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.standardXmlBeanDefinitionReader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
5: aload 0
new org.springframework.beans.factory.xml.XmlBeanDefinitionReader
dup
aload 1
invokespecial org.springframework.beans.factory.xml.XmlBeanDefinitionReader.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.groovyDslXmlBeanDefinitionReader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
6: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.groovyDslXmlBeanDefinitionReader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
iconst_0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setValidating:(Z)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 8 1 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
MethodParameters:
Name Flags
registry
public void <init>(org.springframework.beans.factory.xml.XmlBeanDefinitionReader);
descriptor: (Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokespecial org.springframework.beans.factory.support.AbstractBeanDefinitionReader.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.namespaces:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.deferredProperties:Ljava/util/Map;
3: aload 0
invokestatic groovy.lang.GroovySystem.getMetaClassRegistry:()Lgroovy/lang/MetaClassRegistry;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface groovy.lang.MetaClassRegistry.getMetaClass:(Ljava/lang/Class;)Lgroovy/lang/MetaClass;
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.metaClass:Lgroovy/lang/MetaClass;
4: aload 0
new org.springframework.beans.factory.xml.XmlBeanDefinitionReader
dup
aload 1
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokespecial org.springframework.beans.factory.xml.XmlBeanDefinitionReader.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.standardXmlBeanDefinitionReader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
5: aload 0
aload 1
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.groovyDslXmlBeanDefinitionReader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 7 1 xmlBeanDefinitionReader Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
MethodParameters:
Name Flags
xmlBeanDefinitionReader
public void setMetaClass(groovy.lang.MetaClass);
descriptor: (Lgroovy/lang/MetaClass;)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.beans.factory.groovy.GroovyBeanDefinitionReader.metaClass:Lgroovy/lang/MetaClass;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 2 1 metaClass Lgroovy/lang/MetaClass;
MethodParameters:
Name Flags
metaClass
public groovy.lang.MetaClass getMetaClass();
descriptor: ()Lgroovy/lang/MetaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.metaClass:Lgroovy/lang/MetaClass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
public void setBinding(groovy.lang.Binding);
descriptor: (Lgroovy/lang/Binding;)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.beans.factory.groovy.GroovyBeanDefinitionReader.binding:Lgroovy/lang/Binding;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 2 1 binding Lgroovy/lang/Binding;
MethodParameters:
Name Flags
binding
public groovy.lang.Binding getBinding();
descriptor: ()Lgroovy/lang/Binding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.binding:Lgroovy/lang/Binding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
public int loadBeanDefinitions(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.springframework.core.io.support.EncodedResource
dup
aload 1
invokespecial org.springframework.core.io.support.EncodedResource.<init>:(Lorg/springframework/core/io/Resource;)V
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.loadBeanDefinitions:(Lorg/springframework/core/io/support/EncodedResource;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 1 1 resource Lorg/springframework/core/io/Resource;
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
MethodParameters:
Name Flags
resource
public int loadBeanDefinitions(org.springframework.core.io.support.EncodedResource);
descriptor: (Lorg/springframework/core/io/support/EncodedResource;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.springframework.core.io.support.EncodedResource.getResource:()Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getFilename:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc ".xml"
invokestatic org.springframework.util.StringUtils.endsWithIgnoreCase:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 3
2: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.standardXmlBeanDefinitionReader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
aload 1
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions:(Lorg/springframework/core/io/support/EncodedResource;)I
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 5
4: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Loading Groovy bean definitions from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$1
dup
aload 0
aload 0
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$1.<init>:(Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;Ljava/lang/Object;)V
astore 3
start local 3 6: new org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$2
dup
aload 0
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$2.<init>:(Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;)V
astore 4
start local 4 7: aload 4
ldc "beans"
aload 3
invokevirtual groovy.lang.Binding.setVariable:(Ljava/lang/String;Ljava/lang/Object;)V
8: aload 0
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinitionCount:()I
istore 5
start local 5 9: new groovy.lang.GroovyShell
dup
aload 0
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.getBeanClassLoader:()Ljava/lang/ClassLoader;
aload 4
invokespecial groovy.lang.GroovyShell.<init>:(Ljava/lang/ClassLoader;Lgroovy/lang/Binding;)V
astore 6
start local 6 10: aload 6
aload 1
invokevirtual org.springframework.core.io.support.EncodedResource.getReader:()Ljava/io/Reader;
ldc "beans"
invokevirtual groovy.lang.GroovyShell.evaluate:(Ljava/io/Reader;Ljava/lang/String;)Ljava/lang/Object;
pop
end local 6 11: goto 16
12: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader org.springframework.core.io.support.EncodedResource java.lang.String groovy.lang.Closure groovy.lang.Binding int
StackMap stack: java.lang.Throwable
astore 6
start local 6 13: new org.springframework.beans.factory.parsing.BeanDefinitionParsingException
dup
new org.springframework.beans.factory.parsing.Problem
dup
new java.lang.StringBuilder
dup
ldc "Error evaluating Groovy script: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: new org.springframework.beans.factory.parsing.Location
dup
aload 1
invokevirtual org.springframework.core.io.support.EncodedResource.getResource:()Lorg/springframework/core/io/Resource;
invokespecial org.springframework.beans.factory.parsing.Location.<init>:(Lorg/springframework/core/io/Resource;)V
aconst_null
aload 6
invokespecial org.springframework.beans.factory.parsing.Problem.<init>:(Ljava/lang/String;Lorg/springframework/beans/factory/parsing/Location;Lorg/springframework/beans/factory/parsing/ParseState;Ljava/lang/Throwable;)V
15: invokespecial org.springframework.beans.factory.parsing.BeanDefinitionParsingException.<init>:(Lorg/springframework/beans/factory/parsing/Problem;)V
athrow
end local 6 16: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinitionCount:()I
iload 5
isub
istore 6
start local 6 17: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 19
18: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Loaded "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bean definitions from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
19: StackMap locals: int
StackMap stack:
iload 6
ireturn
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 20 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 20 1 encodedResource Lorg/springframework/core/io/support/EncodedResource;
1 20 2 filename Ljava/lang/String;
6 20 3 beans Lgroovy/lang/Closure;
7 20 4 binding Lgroovy/lang/Binding;
9 20 5 countBefore I
10 11 6 shell Lgroovy/lang/GroovyShell;
13 16 6 ex Ljava/lang/Throwable;
17 20 6 count I
Exception table:
from to target type
9 11 12 Class java.lang.Throwable
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
MethodParameters:
Name Flags
encodedResource
public org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader beans(groovy.lang.Closure);
descriptor: (Lgroovy/lang/Closure;)Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.invokeBeanDefiningClosure:(Lgroovy/lang/Closure;)Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 1 1 closure Lgroovy/lang/Closure;
MethodParameters:
Name Flags
closure
public org.springframework.beans.factory.support.GenericBeanDefinition bean(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/springframework/beans/factory/support/GenericBeanDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new org.springframework.beans.factory.support.GenericBeanDefinition
dup
invokespecial org.springframework.beans.factory.support.GenericBeanDefinition.<init>:()V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual org.springframework.beans.factory.support.GenericBeanDefinition.setBeanClass:(Ljava/lang/Class;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 3 1 type Ljava/lang/Class<*>;
1 3 2 beanDefinition Lorg/springframework/beans/factory/support/GenericBeanDefinition;
Signature: (Ljava/lang/Class<*>;)Lorg/springframework/beans/factory/support/GenericBeanDefinition;
MethodParameters:
Name Flags
type
public org.springframework.beans.factory.support.AbstractBeanDefinition bean(java.lang.Class<?>, []);
descriptor: (Ljava/lang/Class;[Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aload 2
invokestatic org.springframework.util.ObjectUtils.isEmpty:([Ljava/lang/Object;)Z
ifne 11
4: aload 2
arraylength
istore 6
start local 6 5: aload 2
iload 6
iconst_1
isub
aaload
astore 7
start local 7 6: aload 7
instanceof groovy.lang.Closure
ifeq 9
7: aload 7
checkcast groovy.lang.Closure
astore 4
8: iinc 6 -1
9: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.Class java.lang.Object[] org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper groovy.lang.Closure java.util.Collection int java.lang.Object
StackMap stack:
iload 6
iconst_m1
if_icmple 11
10: aload 0
aload 2
iconst_0
iload 6
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.resolveConstructorArguments:([Ljava/lang/Object;II)Ljava/util/List;
astore 5
end local 7 end local 6 11: StackMap locals:
StackMap stack:
aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aconst_null
aload 1
aload 5
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Collection;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
12: aload 4
ifnull 14
13: aload 4
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual groovy.lang.Closure.call:(Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
astore 9
15: aload 0
aload 3
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
16: aload 9
areturn
end local 5 end local 4 17: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.Class java.lang.Object[] org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
StackMap stack: java.lang.Throwable
astore 8
18: aload 0
aload 3
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
19: aload 8
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 20 1 type Ljava/lang/Class<*>;
0 20 2 args [Ljava/lang/Object;
1 20 3 current Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
2 17 4 callable Lgroovy/lang/Closure;
3 17 5 constructorArgs Ljava/util/Collection;
5 11 6 index I
6 11 7 lastArg Ljava/lang/Object;
Exception table:
from to target type
1 15 17 any
Signature: (Ljava/lang/Class<*>;[Ljava/lang/Object;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
MethodParameters:
Name Flags
type
args
public void xmlns(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifne 15
1: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 14
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.util.Map top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: aload 5
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "Namespace definition must supply a non-null URI"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.lang.String
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.groovyDslXmlBeanDefinitionReader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getNamespaceHandlerResolver:()Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
aload 5
invokeinterface org.springframework.beans.factory.xml.NamespaceHandlerResolver.resolve:(Ljava/lang/String;)Lorg/springframework/beans/factory/xml/NamespaceHandler;
8: astore 6
start local 6 9: aload 6
ifnonnull 13
10: new org.springframework.beans.factory.parsing.BeanDefinitionParsingException
dup
new org.springframework.beans.factory.parsing.Problem
dup
new java.lang.StringBuilder
dup
ldc "No namespace handler found for URI: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: new org.springframework.beans.factory.parsing.Location
dup
new org.springframework.core.io.DescriptiveResource
dup
ldc "Groovy"
invokespecial org.springframework.core.io.DescriptiveResource.<init>:(Ljava/lang/String;)V
invokespecial org.springframework.beans.factory.parsing.Location.<init>:(Lorg/springframework/core/io/Resource;)V
invokespecial org.springframework.beans.factory.parsing.Problem.<init>:(Ljava/lang/String;Lorg/springframework/beans/factory/parsing/Location;)V
12: invokespecial org.springframework.beans.factory.parsing.BeanDefinitionParsingException.<init>:(Lorg/springframework/beans/factory/parsing/Problem;)V
athrow
13: StackMap locals: org.springframework.beans.factory.xml.NamespaceHandler
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.namespaces:Ljava/util/Map;
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 end local 4 end local 2 14: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
15: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.util.Map
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 16 1 definition Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
3 14 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
4 14 4 namespace Ljava/lang/String;
5 14 5 uri Ljava/lang/String;
9 14 6 namespaceHandler Lorg/springframework/beans/factory/xml/NamespaceHandler;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
definition
public void importBeans(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
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.loadBeanDefinitions:(Ljava/lang/String;)I
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 2 1 resourcePattern Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resourcePattern
public java.lang.Object invokeMethod(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tGroovyDynamicElementReader cannot be resolved to a type\n\tThe method createDynamicElementReader(String) from the type GroovyBeanDefinitionReader refers to the missing type GroovyDynamicElementReader\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
MethodParameters:
Name Flags
name
arg
private boolean addDeferredProperty(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.util.List
ifne 1
aload 2
instanceof java.util.Map
ifeq 5
1: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.deferredProperties:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: new org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty
dup
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
aload 1
aload 2
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty.<init>:(Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;Ljava/lang/String;Ljava/lang/Object;)V
3: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 6 1 property Ljava/lang/String;
0 6 2 newValue Ljava/lang/Object;
MethodParameters:
Name Flags
property
newValue
private void finalizeDeferredProperties();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.deferredProperties:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 8
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty
astore 1
start local 1 2: aload 1
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty.value:Ljava/lang/Object;
instanceof java.util.List
ifeq 5
3: aload 1
aload 0
aload 1
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty.value:Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.manageListIfNecessary:(Ljava/util/List;)Ljava/lang/Object;
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty.value:Ljava/lang/Object;
4: goto 7
5: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty java.util.Iterator
StackMap stack:
aload 1
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty.value:Ljava/lang/Object;
instanceof java.util.Map
ifeq 7
6: aload 1
aload 0
aload 1
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty.value:Ljava/lang/Object;
checkcast java.util.Map
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.manageMapIfNecessary:(Ljava/util/Map;)Ljava/lang/Object;
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty.value:Ljava/lang/Object;
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty.apply:()V
end local 1 8: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
9: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.deferredProperties:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
2 8 1 dp Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader$DeferredProperty;
protected org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader invokeBeanDefiningClosure(groovy.lang.Closure);
descriptor: (Lgroovy/lang/Closure;)Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual groovy.lang.Closure.setDelegate:(Ljava/lang/Object;)V
1: aload 1
invokevirtual groovy.lang.Closure.call:()Ljava/lang/Object;
pop
2: aload 0
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.finalizeDeferredProperties:()V
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 4 1 callable Lgroovy/lang/Closure;
MethodParameters:
Name Flags
callable
private org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper invokeBeanDefiningMethod(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 2
arraylength
iconst_1
isub
aaload
instanceof groovy.lang.Closure
istore 3
start local 3 1: aload 2
iconst_0
aaload
instanceof java.lang.Class
ifeq 15
2: aload 2
iconst_0
aaload
checkcast java.lang.Class
astore 4
start local 4 3: iload 3
ifeq 11
4: aload 2
arraylength
iconst_1
isub
iconst_1
if_icmpeq 9
5: aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
6: aload 1
aload 4
aload 0
aload 2
iconst_1
aload 2
arraylength
iconst_1
isub
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.resolveConstructorArguments:([Ljava/lang/Object;II)Ljava/util/List;
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Collection;)V
7: putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
8: goto 57
9: StackMap locals: int java.lang.Class
StackMap stack:
aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aload 1
aload 4
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
10: goto 57
11: StackMap locals:
StackMap stack:
aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
12: aload 1
aload 4
aload 0
aload 2
iconst_1
aload 2
arraylength
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.resolveConstructorArguments:([Ljava/lang/Object;II)Ljava/util/List;
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Collection;)V
13: putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
end local 4 14: goto 57
15: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
instanceof org.springframework.beans.factory.config.RuntimeBeanReference
ifeq 19
16: aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aload 1
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
17: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
aload 2
iconst_0
aaload
checkcast org.springframework.beans.factory.config.RuntimeBeanReference
invokevirtual org.springframework.beans.factory.config.RuntimeBeanReference.getBeanName:()Ljava/lang/String;
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinition.setFactoryBeanName:(Ljava/lang/String;)V
18: goto 57
19: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
instanceof java.util.Map
ifeq 49
20: aload 2
arraylength
iconst_1
if_icmple 32
aload 2
iconst_1
aaload
instanceof java.lang.Class
ifeq 32
21: aload 0
aload 2
iconst_2
iload 3
ifeq 22
aload 2
arraylength
iconst_1
isub
goto 23
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.String java.lang.Object[] int
StackMap stack: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.Object[] int
22: aload 2
arraylength
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.String java.lang.Object[] int
StackMap stack: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.Object[] int int
23: invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.resolveConstructorArguments:([Ljava/lang/Object;II)Ljava/util/List;
astore 4
start local 4 24: aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aload 1
aload 2
iconst_1
aaload
checkcast java.lang.Class
aload 4
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Collection;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
25: aload 2
iconst_0
aaload
checkcast java.util.Map
astore 5
start local 5 26: aload 5
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 30
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.String java.lang.Object[] int java.util.List java.util.Map top java.util.Iterator
StackMap stack:
27: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 6
start local 6 28: aload 6
checkcast java.lang.String
astore 8
start local 8 29: aload 0
aload 8
aload 5
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.setProperty:(Ljava/lang/String;Ljava/lang/Object;)V
end local 8 end local 6 30: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
end local 5 end local 4 31: goto 57
32: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.String java.lang.Object[] int
StackMap stack:
aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aload 1
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
33: aload 2
iconst_0
aaload
checkcast java.util.Map
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 34: iload 3
ifeq 35
iconst_2
goto 36
StackMap locals: java.util.Map$Entry
StackMap stack:
35: iconst_1
StackMap locals:
StackMap stack: int
36: istore 5
start local 5 37: aload 2
arraylength
iload 5
if_icmple 45
38: iload 3
ifeq 39
aload 2
arraylength
iconst_1
isub
goto 40
StackMap locals: int
StackMap stack:
39: aload 2
arraylength
StackMap locals:
StackMap stack: int
40: istore 6
start local 6 41: aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aload 1
aconst_null
42: aload 0
aload 2
iconst_1
iload 6
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.resolveConstructorArguments:([Ljava/lang/Object;II)Ljava/util/List;
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Collection;)V
43: putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
end local 6 44: goto 46
45: StackMap locals:
StackMap stack:
aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aload 1
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
46: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinition.setFactoryBeanName:(Ljava/lang/String;)V
47: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinition.setFactoryMethodName:(Ljava/lang/String;)V
end local 5 end local 4 48: goto 57
49: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
instanceof groovy.lang.Closure
ifeq 53
50: aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aload 1
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
51: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
iconst_1
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinition.setAbstract:(Z)V
52: goto 57
53: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_0
iload 3
ifeq 54
aload 2
arraylength
iconst_1
isub
goto 55
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.String java.lang.Object[] int
StackMap stack: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.Object[] int
54: aload 2
arraylength
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.String java.lang.Object[] int
StackMap stack: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.Object[] int int
55: invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.resolveConstructorArguments:([Ljava/lang/Object;II)Ljava/util/List;
astore 4
start local 4 56: aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aload 1
aconst_null
aload 4
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Collection;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
end local 4 57: StackMap locals:
StackMap stack:
iload 3
ifeq 62
58: aload 2
aload 2
arraylength
iconst_1
isub
aaload
checkcast groovy.lang.Closure
astore 4
start local 4 59: aload 4
aload 0
invokevirtual groovy.lang.Closure.setDelegate:(Ljava/lang/Object;)V
60: aload 4
iconst_1
invokevirtual groovy.lang.Closure.setResolveStrategy:(I)V
61: aload 4
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual groovy.lang.Closure.call:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 62: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
astore 4
start local 4 63: aload 0
aconst_null
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
64: aload 4
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
ldc Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 4
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinition.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
65: aload 0
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 1
aload 4
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerBeanDefinition:(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;)V
66: 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 67 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 67 1 beanName Ljava/lang/String;
0 67 2 args [Ljava/lang/Object;
1 67 3 hasClosureArgument Z
3 14 4 beanClass Ljava/lang/Class<*>;
24 31 4 constructorArgs Ljava/util/List;
26 31 5 namedArgs Ljava/util/Map;
28 30 6 o Ljava/lang/Object;
29 30 8 propName Ljava/lang/String;
34 48 4 factoryBeanEntry Ljava/util/Map$Entry;
37 48 5 constructorArgsTest I
41 44 6 endOfConstructArgs I
56 57 4 constructorArgs Ljava/util/List;
59 62 4 callable Lgroovy/lang/Closure;
63 67 4 beanDefinition Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
MethodParameters:
Name Flags
beanName
args
protected java.util.List<java.lang.Object> resolveConstructorArguments([], int, int);
descriptor: ([Ljava/lang/Object;II)Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
iload 3
invokestatic java.util.Arrays.copyOfRange:([Ljava/lang/Object;II)[Ljava/lang/Object;
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 12
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 4
iload 5
aaload
instanceof groovy.lang.GString
ifeq 6
4: aload 4
iload 5
aload 4
iload 5
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
5: goto 11
6: StackMap locals:
StackMap stack:
aload 4
iload 5
aaload
instanceof java.util.List
ifeq 9
7: aload 4
iload 5
aload 0
aload 4
iload 5
aaload
checkcast java.util.List
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.manageListIfNecessary:(Ljava/util/List;)Ljava/lang/Object;
aastore
8: goto 11
9: StackMap locals:
StackMap stack:
aload 4
iload 5
aaload
instanceof java.util.Map
ifeq 11
10: aload 4
iload 5
aload 0
aload 4
iload 5
aaload
checkcast java.util.Map
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.manageMapIfNecessary:(Ljava/util/Map;)Ljava/lang/Object;
aastore
11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 4
arraylength
if_icmplt 3
end local 5 13: aload 4
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 14 1 args [Ljava/lang/Object;
0 14 2 start I
0 14 3 end I
1 14 4 constructorArgs [Ljava/lang/Object;
2 13 5 i I
Signature: ([Ljava/lang/Object;II)Ljava/util/List<Ljava/lang/Object;>;
MethodParameters:
Name Flags
args
start
end
private manageMapIfNecessary(java.util.Map<?, ?>);
descriptor: (Ljava/util/Map;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.util.Map int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 3: aload 3
instanceof org.springframework.beans.factory.config.RuntimeBeanReference
ifeq 6
4: iconst_1
istore 2
5: goto 7
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.util.Map int
StackMap stack:
iload 2
ifeq 11
8: new org.springframework.beans.factory.support.ManagedMap
dup
invokespecial org.springframework.beans.factory.support.ManagedMap.<init>:()V
astore 3
start local 3 9: aload 3
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
10: aload 3
areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 12 1 map Ljava/util/Map<**>;
1 12 2 containsRuntimeRefs Z
3 6 3 element Ljava/lang/Object;
9 11 3 managedMap Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
Signature: (Ljava/util/Map<**>;)Ljava/lang/Object;
MethodParameters:
Name Flags
map
private manageListIfNecessary(java.util.List<?>);
descriptor: (Ljava/util/List;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.util.List int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 3: aload 3
instanceof org.springframework.beans.factory.config.RuntimeBeanReference
ifeq 6
4: iconst_1
istore 2
5: goto 7
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.util.List int
StackMap stack:
iload 2
ifeq 11
8: new org.springframework.beans.factory.support.ManagedList
dup
invokespecial org.springframework.beans.factory.support.ManagedList.<init>:()V
astore 3
start local 3 9: aload 3
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
10: aload 3
areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 12 1 list Ljava/util/List<*>;
1 12 2 containsRuntimeRefs Z
3 6 3 element Ljava/lang/Object;
9 11 3 managedList Ljava/util/List<Ljava/lang/Object;>;
Signature: (Ljava/util/List<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
list
public void setProperty(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
ifnull 2
1: aload 0
aload 1
aload 2
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.applyPropertyToBeanDefinition:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 3 1 name Ljava/lang/String;
0 3 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
protected void applyPropertyToBeanDefinition(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof groovy.lang.GString
ifeq 2
1: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 2
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.addDeferredProperty:(Ljava/lang/String;Ljava/lang/Object;)Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 2
instanceof groovy.lang.Closure
ifeq 20
5: aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
astore 3
start local 3 6: aload 2
checkcast groovy.lang.Closure
astore 4
start local 4 7: aload 4
invokevirtual groovy.lang.Closure.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
astore 5
start local 5 8: ldc Ljava/lang/Object;
aload 5
if_acmpne 12
9: aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
ldc ""
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
10: aload 4
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual groovy.lang.Closure.call:(Ljava/lang/Object;)Ljava/lang/Object;
pop
11: goto 14
12: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper groovy.lang.Closure java.lang.Class
StackMap stack:
aload 0
new org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
dup
aconst_null
aload 5
invokespecial org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
13: aload 4
aconst_null
invokevirtual groovy.lang.Closure.call:(Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
astore 2
end local 5 end local 4 15: goto 19
16: StackMap locals: org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader java.lang.String java.lang.Object org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper
StackMap stack: java.lang.Throwable
astore 6
17: aload 0
aload 3
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
18: aload 6
athrow
19: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
end local 3 20: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.currentBeanDefinition:Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
aload 1
aload 2
invokevirtual org.springframework.beans.factory.groovy.GroovyBeanDefinitionWrapper.addProperty:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
pop
21: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
0 22 1 name Ljava/lang/String;
0 22 2 value Ljava/lang/Object;
6 20 3 current Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper;
7 15 4 callable Lgroovy/lang/Closure;
8 15 5 parameterType Ljava/lang/Class<*>;
Exception table:
from to target type
6 16 16 any
MethodParameters:
Name Flags
name
value
public java.lang.Object getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method createDynamicElementReader(String) from the type GroovyBeanDefinitionReader refers to the missing type GroovyDynamicElementReader\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
MethodParameters:
Name Flags
name
private GroovyDynamicElementReader createDynamicElementReader(java.lang.String);
descriptor: (Ljava/lang/String;)LGroovyDynamicElementReader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tGroovyDynamicElementReader cannot be resolved to a type\n\tGroovyDynamicElementReader cannot be resolved to a type\n\tThe method afterInvocation() of type new GroovyDynamicElementReader(){} must override or implement a supertype method\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
MethodParameters:
Name Flags
namespace
}
SourceFile: "GroovyBeanDefinitionReader.java"
NestMembers:
org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$1 org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$2 org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$3 org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$GroovyRuntimeBeanReference org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$GroovyRuntimeBeanReference$GroovyPropertyValue
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$1
org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$2
private DeferredProperty = org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$DeferredProperty of org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader
private GroovyRuntimeBeanReference = org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader$GroovyRuntimeBeanReference of org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader