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 net.sf.cglib.core.AbstractClassGenerator |
create, getAttemptLoad, getClassLoader, getClassName, getCurrent, getNamingPolicy, getStrategy, getUseCache, setAttemptLoad, setClassLoader, setNamePrefix, setNamingPolicy, setStrategy, setUseCache |
| 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(Object target)
setTargetClass
public void setTargetClass(Class targetClass)
setMethodName
public void setMethodName(String methodName)
setInterface
public void setInterface(Class iface)
getDefaultClassLoader
protected ClassLoader getDefaultClassLoader()
- Specified by:
getDefaultClassLoader in class AbstractClassGenerator
create
public MethodDelegate create()
firstInstance
protected Object firstInstance(Class type)
- Specified by:
firstInstance in class AbstractClassGenerator
nextInstance
protected Object nextInstance(Object instance)
- Specified by:
nextInstance in class AbstractClassGenerator
generateClass
public void generateClass(org.objectweb.asm.ClassVisitor v)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
Copyright © 2012 Oracle Corporation. All Rights Reserved.