public static class Mixin.Generator extends AbstractClassGenerator
AbstractClassGenerator.ClassLoaderData, AbstractClassGenerator.Source| Constructor and Description |
|---|
Generator() |
| Modifier and Type | Method and Description |
|---|---|
Mixin |
create() |
protected Object |
firstInstance(Class type) |
void |
generateClass(org.objectweb.asm.ClassVisitor v) |
protected ClassLoader |
getDefaultClassLoader() |
protected ProtectionDomain |
getProtectionDomain()
Returns the protection domain to use when defining the class.
|
protected Object |
nextInstance(Object instance) |
void |
setClasses(Class[] classes) |
void |
setDelegates(Object[] delegates) |
void |
setStyle(int style) |
create, generate, getAttemptLoad, getClassLoader, getClassName, getCurrent, getNamingPolicy, getStrategy, getUseCache, setAttemptLoad, setClassLoader, setNamePrefix, setNamingPolicy, setStrategy, setUseCache, unwrapCachedValue, wrapCachedClassprotected ClassLoader getDefaultClassLoader()
getDefaultClassLoader in class AbstractClassGeneratorprotected ProtectionDomain getProtectionDomain()
AbstractClassGenerator
Default implementation returns null for using a default protection domain. Sub-classes may
override to use a more specific protection domain.
getProtectionDomain in class AbstractClassGeneratornull for using a default)public void setStyle(int style)
public void setClasses(Class[] classes)
public void setDelegates(Object[] delegates)
public Mixin create()
public void generateClass(org.objectweb.asm.ClassVisitor v)
protected Object firstInstance(Class type)
firstInstance in class AbstractClassGeneratorprotected Object nextInstance(Object instance)
nextInstance in class AbstractClassGeneratorCopyright © 2016. All rights reserved.