public class net.sf.cglib.reflect.MethodDelegate$Generator extends net.sf.cglib.core.AbstractClassGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: net.sf.cglib.reflect.MethodDelegate$Generator
super_class: net.sf.cglib.core.AbstractClassGenerator
{
private static final net.sf.cglib.core.AbstractClassGenerator$Source SOURCE;
descriptor: Lnet/sf/cglib/core/AbstractClassGenerator$Source;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.objectweb.asm.Type METHOD_DELEGATE;
descriptor: Lorg/objectweb/asm/Type;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final net.sf.cglib.core.Signature NEW_INSTANCE;
descriptor: Lnet/sf/cglib/core/Signature;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.Object target;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.lang.Class targetClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
private java.lang.String methodName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.Class iface;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: new net.sf.cglib.core.AbstractClassGenerator$Source
dup
ldc Lnet/sf/cglib/reflect/MethodDelegate;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial net.sf.cglib.core.AbstractClassGenerator$Source.<init>:(Ljava/lang/String;)V
putstatic net.sf.cglib.reflect.MethodDelegate$Generator.SOURCE:Lnet/sf/cglib/core/AbstractClassGenerator$Source;
1: ldc "net.sf.cglib.reflect.MethodDelegate"
invokestatic net.sf.cglib.core.TypeUtils.parseType:(Ljava/lang/String;)Lorg/objectweb/asm/Type;
2: putstatic net.sf.cglib.reflect.MethodDelegate$Generator.METHOD_DELEGATE:Lorg/objectweb/asm/Type;
3: new net.sf.cglib.core.Signature
dup
ldc "newInstance"
getstatic net.sf.cglib.reflect.MethodDelegate$Generator.METHOD_DELEGATE:Lorg/objectweb/asm/Type;
iconst_1
anewarray org.objectweb.asm.Type
dup
iconst_0
getstatic net.sf.cglib.core.Constants.TYPE_OBJECT:Lorg/objectweb/asm/Type;
aastore
invokespecial net.sf.cglib.core.Signature.<init>:(Ljava/lang/String;Lorg/objectweb/asm/Type;[Lorg/objectweb/asm/Type;)V
4: putstatic net.sf.cglib.reflect.MethodDelegate$Generator.NEW_INSTANCE:Lnet/sf/cglib/core/Signature;
5: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic net.sf.cglib.reflect.MethodDelegate$Generator.SOURCE:Lnet/sf/cglib/core/AbstractClassGenerator$Source;
invokespecial net.sf.cglib.core.AbstractClassGenerator.<init>:(Lnet/sf/cglib/core/AbstractClassGenerator$Source;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
public void setTarget(java.lang.Object);
descriptor: (Ljava/lang/Object;)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 net.sf.cglib.reflect.MethodDelegate$Generator.target:Ljava/lang/Object;
1: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield net.sf.cglib.reflect.MethodDelegate$Generator.targetClass:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
0 3 1 target Ljava/lang/Object;
MethodParameters:
Name Flags
target
public void setTargetClass(java.lang.Class);
descriptor: (Ljava/lang/Class;)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 net.sf.cglib.reflect.MethodDelegate$Generator.targetClass:Ljava/lang/Class;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
0 2 1 targetClass Ljava/lang/Class;
MethodParameters:
Name Flags
targetClass
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 net.sf.cglib.reflect.MethodDelegate$Generator.methodName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
0 2 1 methodName Ljava/lang/String;
MethodParameters:
Name Flags
methodName
public void setInterface(java.lang.Class);
descriptor: (Ljava/lang/Class;)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 net.sf.cglib.reflect.MethodDelegate$Generator.iface:Ljava/lang/Class;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
0 2 1 iface Ljava/lang/Class;
MethodParameters:
Name Flags
iface
protected java.lang.ClassLoader getDefaultClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.targetClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
protected java.security.ProtectionDomain getProtectionDomain();
descriptor: ()Ljava/security/ProtectionDomain;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.targetClass:Ljava/lang/Class;
invokestatic net.sf.cglib.core.ReflectUtils.getProtectionDomain:(Ljava/lang/Class;)Ljava/security/ProtectionDomain;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
public net.sf.cglib.reflect.MethodDelegate create();
descriptor: ()Lnet/sf/cglib/reflect/MethodDelegate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.targetClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual net.sf.cglib.reflect.MethodDelegate$Generator.setNamePrefix:(Ljava/lang/String;)V
1: getstatic net.sf.cglib.reflect.MethodDelegate.KEY_FACTORY:Lnet/sf/cglib/reflect/MethodDelegate$MethodDelegateKey;
aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.targetClass:Ljava/lang/Class;
aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.methodName:Ljava/lang/String;
aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.iface:Ljava/lang/Class;
invokeinterface net.sf.cglib.reflect.MethodDelegate$MethodDelegateKey.newInstance:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
astore 1
start local 1 2: aload 0
aload 1
invokespecial net.sf.cglib.core.AbstractClassGenerator.create:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast net.sf.cglib.reflect.MethodDelegate
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
2 3 1 key Ljava/lang/Object;
protected java.lang.Object firstInstance(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic net.sf.cglib.core.ReflectUtils.newInstance:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast net.sf.cglib.reflect.MethodDelegate
aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.target:Ljava/lang/Object;
invokevirtual net.sf.cglib.reflect.MethodDelegate.newInstance:(Ljava/lang/Object;)Lnet/sf/cglib/reflect/MethodDelegate;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
0 1 1 type Ljava/lang/Class;
MethodParameters:
Name Flags
type
protected java.lang.Object nextInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast net.sf.cglib.reflect.MethodDelegate
aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.target:Ljava/lang/Object;
invokevirtual net.sf.cglib.reflect.MethodDelegate.newInstance:(Ljava/lang/Object;)Lnet/sf/cglib/reflect/MethodDelegate;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
0 1 1 instance Ljava/lang/Object;
MethodParameters:
Name Flags
instance
public void generateClass(org.objectweb.asm.ClassVisitor);
descriptor: (Lorg/objectweb/asm/ClassVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.iface:Ljava/lang/Class;
invokestatic net.sf.cglib.core.ReflectUtils.findInterfaceMethod:(Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 2
start local 2 1: aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.targetClass:Ljava/lang/Class;
aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.methodName:Ljava/lang/String;
aload 2
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 2: aload 2
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "incompatible return types"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.reflect.Method java.lang.reflect.Method
StackMap stack:
aload 3
invokestatic net.sf.cglib.core.ReflectUtils.getMethodInfo:(Ljava/lang/reflect/Member;)Lnet/sf/cglib/core/MethodInfo;
astore 4
start local 4 5: aload 4
invokevirtual net.sf.cglib.core.MethodInfo.getModifiers:()I
invokestatic net.sf.cglib.core.TypeUtils.isStatic:(I)Z
istore 5
start local 5 6: aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.target:Ljava/lang/Object;
ifnonnull 7
iconst_1
goto 8
StackMap locals: net.sf.cglib.core.MethodInfo int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: iload 5
ixor
ifeq 12
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Static method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
ifeq 10
ldc "not "
goto 11
StackMap locals: net.sf.cglib.reflect.MethodDelegate$Generator org.objectweb.asm.ClassVisitor java.lang.reflect.Method java.lang.reflect.Method net.sf.cglib.core.MethodInfo int
StackMap stack: new 9 new 9 java.lang.StringBuilder
10: ldc ""
StackMap locals: net.sf.cglib.reflect.MethodDelegate$Generator org.objectweb.asm.ClassVisitor java.lang.reflect.Method java.lang.reflect.Method net.sf.cglib.core.MethodInfo int
StackMap stack: new 9 new 9 java.lang.StringBuilder java.lang.String
11: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "expected"
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
12: StackMap locals:
StackMap stack:
new net.sf.cglib.core.ClassEmitter
dup
aload 1
invokespecial net.sf.cglib.core.ClassEmitter.<init>:(Lorg/objectweb/asm/ClassVisitor;)V
astore 6
start local 6 13: aload 6
bipush 52
14: iconst_1
15: aload 0
invokevirtual net.sf.cglib.reflect.MethodDelegate$Generator.getClassName:()Ljava/lang/String;
16: getstatic net.sf.cglib.reflect.MethodDelegate$Generator.METHOD_DELEGATE:Lorg/objectweb/asm/Type;
17: iconst_1
anewarray org.objectweb.asm.Type
dup
iconst_0
aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.iface:Ljava/lang/Class;
invokestatic org.objectweb.asm.Type.getType:(Ljava/lang/Class;)Lorg/objectweb/asm/Type;
aastore
18: ldc "<generated>"
19: invokevirtual net.sf.cglib.core.ClassEmitter.begin_class:(IILjava/lang/String;Lorg/objectweb/asm/Type;[Lorg/objectweb/asm/Type;Ljava/lang/String;)V
20: aload 6
bipush 26
ldc "eqMethod"
getstatic net.sf.cglib.core.Constants.TYPE_STRING:Lorg/objectweb/asm/Type;
aconst_null
invokevirtual net.sf.cglib.core.ClassEmitter.declare_field:(ILjava/lang/String;Lorg/objectweb/asm/Type;Ljava/lang/Object;)V
21: aload 6
invokestatic net.sf.cglib.core.EmitUtils.null_constructor:(Lnet/sf/cglib/core/ClassEmitter;)V
22: aload 0
getfield net.sf.cglib.reflect.MethodDelegate$Generator.iface:Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
iconst_0
aaload
invokestatic net.sf.cglib.core.ReflectUtils.getMethodInfo:(Ljava/lang/reflect/Member;)Lnet/sf/cglib/core/MethodInfo;
astore 8
start local 8 23: iconst_1
istore 9
start local 9 24: aload 8
invokevirtual net.sf.cglib.core.MethodInfo.getModifiers:()I
sipush 128
iand
sipush 128
if_icmpne 26
25: iload 9
sipush 128
ior
istore 9
26: StackMap locals: net.sf.cglib.reflect.MethodDelegate$Generator org.objectweb.asm.ClassVisitor java.lang.reflect.Method java.lang.reflect.Method net.sf.cglib.core.MethodInfo int net.sf.cglib.core.ClassEmitter top net.sf.cglib.core.MethodInfo int
StackMap stack:
aload 6
aload 8
iload 9
invokestatic net.sf.cglib.core.EmitUtils.begin_method:(Lnet/sf/cglib/core/ClassEmitter;Lnet/sf/cglib/core/MethodInfo;I)Lnet/sf/cglib/core/CodeEmitter;
astore 7
start local 7 27: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.load_this:()V
28: aload 7
ldc "target"
getstatic net.sf.cglib.core.Constants.TYPE_OBJECT:Lorg/objectweb/asm/Type;
invokevirtual net.sf.cglib.core.CodeEmitter.super_getfield:(Ljava/lang/String;Lorg/objectweb/asm/Type;)V
29: aload 7
aload 4
invokevirtual net.sf.cglib.core.MethodInfo.getClassInfo:()Lnet/sf/cglib/core/ClassInfo;
invokevirtual net.sf.cglib.core.ClassInfo.getType:()Lorg/objectweb/asm/Type;
invokevirtual net.sf.cglib.core.CodeEmitter.checkcast:(Lorg/objectweb/asm/Type;)V
30: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.load_args:()V
31: aload 7
aload 4
invokevirtual net.sf.cglib.core.CodeEmitter.invoke:(Lnet/sf/cglib/core/MethodInfo;)V
32: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.return_value:()V
33: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.end_method:()V
34: aload 6
iconst_1
getstatic net.sf.cglib.reflect.MethodDelegate$Generator.NEW_INSTANCE:Lnet/sf/cglib/core/Signature;
aconst_null
invokevirtual net.sf.cglib.core.ClassEmitter.begin_method:(ILnet/sf/cglib/core/Signature;[Lorg/objectweb/asm/Type;)Lnet/sf/cglib/core/CodeEmitter;
astore 7
35: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.new_instance_this:()V
36: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.dup:()V
37: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.dup2:()V
38: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.invoke_constructor_this:()V
39: aload 7
ldc "eqMethod"
invokevirtual net.sf.cglib.core.CodeEmitter.getfield:(Ljava/lang/String;)V
40: aload 7
ldc "eqMethod"
getstatic net.sf.cglib.core.Constants.TYPE_STRING:Lorg/objectweb/asm/Type;
invokevirtual net.sf.cglib.core.CodeEmitter.super_putfield:(Ljava/lang/String;Lorg/objectweb/asm/Type;)V
41: aload 7
iconst_0
invokevirtual net.sf.cglib.core.CodeEmitter.load_arg:(I)V
42: aload 7
ldc "target"
getstatic net.sf.cglib.core.Constants.TYPE_OBJECT:Lorg/objectweb/asm/Type;
invokevirtual net.sf.cglib.core.CodeEmitter.super_putfield:(Ljava/lang/String;Lorg/objectweb/asm/Type;)V
43: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.return_value:()V
44: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.end_method:()V
45: aload 6
invokevirtual net.sf.cglib.core.ClassEmitter.begin_static:()Lnet/sf/cglib/core/CodeEmitter;
astore 7
46: aload 7
aload 4
invokevirtual net.sf.cglib.core.MethodInfo.getSignature:()Lnet/sf/cglib/core/Signature;
invokevirtual net.sf.cglib.core.Signature.toString:()Ljava/lang/String;
invokevirtual net.sf.cglib.core.CodeEmitter.push:(Ljava/lang/String;)V
47: aload 7
ldc "eqMethod"
invokevirtual net.sf.cglib.core.CodeEmitter.putfield:(Ljava/lang/String;)V
48: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.return_value:()V
49: aload 7
invokevirtual net.sf.cglib.core.CodeEmitter.end_method:()V
50: aload 6
invokevirtual net.sf.cglib.core.ClassEmitter.end_class:()V
51: return
end local 9 end local 8 end local 7 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 52 0 this Lnet/sf/cglib/reflect/MethodDelegate$Generator;
0 52 1 v Lorg/objectweb/asm/ClassVisitor;
1 52 2 proxy Ljava/lang/reflect/Method;
2 52 3 method Ljava/lang/reflect/Method;
5 52 4 methodInfo Lnet/sf/cglib/core/MethodInfo;
6 52 5 isStatic Z
13 52 6 ce Lnet/sf/cglib/core/ClassEmitter;
27 52 7 e Lnet/sf/cglib/core/CodeEmitter;
23 52 8 proxied Lnet/sf/cglib/core/MethodInfo;
24 52 9 modifiers I
Exceptions:
throws java.lang.NoSuchMethodException
MethodParameters:
Name Flags
v
}
SourceFile: "MethodDelegate.java"
NestHost: net.sf.cglib.reflect.MethodDelegate
InnerClasses:
protected Source = net.sf.cglib.core.AbstractClassGenerator$Source of net.sf.cglib.core.AbstractClassGenerator
public Generator = net.sf.cglib.reflect.MethodDelegate$Generator of net.sf.cglib.reflect.MethodDelegate
abstract MethodDelegateKey = net.sf.cglib.reflect.MethodDelegate$MethodDelegateKey of net.sf.cglib.reflect.MethodDelegate