net.sf.cglib.reflect
Class MethodDelegate.Generator
java.lang.Object
net.sf.cglib.core.AbstractClassGenerator
net.sf.cglib.reflect.MethodDelegate.Generator
- All Implemented Interfaces:
- ClassGenerator
- Enclosing class:
- MethodDelegate
- public static class MethodDelegate.Generator
- extends AbstractClassGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodDelegate.Generator
public MethodDelegate.Generator()
setTarget
public void setTarget(java.lang.Object target)
setTargetClass
public void setTargetClass(java.lang.Class targetClass)
setMethodName
public void setMethodName(java.lang.String methodName)
setInterface
public void setInterface(java.lang.Class iface)
getDefaultClassLoader
protected java.lang.ClassLoader getDefaultClassLoader()
- Specified by:
getDefaultClassLoader
in class AbstractClassGenerator
create
public MethodDelegate create()
firstInstance
protected java.lang.Object firstInstance(java.lang.Class type)
- Specified by:
firstInstance
in class AbstractClassGenerator
nextInstance
protected java.lang.Object nextInstance(java.lang.Object instance)
- Specified by:
nextInstance
in class AbstractClassGenerator
generateClass
public void generateClass(org.objectweb.asm.ClassVisitor v)
throws java.lang.NoSuchMethodException
- Throws:
java.lang.NoSuchMethodException
Copyright © 2002-2003 cglib. All Rights Reserved.