public static class MulticastDelegate.Generator extends AbstractClassGenerator
AbstractClassGenerator.ClassLoaderData, AbstractClassGenerator.Source| Modifier and Type | Field and Description |
|---|---|
private static Signature |
ADD_DELEGATE |
private static Signature |
ADD_HELPER |
private java.lang.Class |
iface |
private static org.objectweb.asm.Type |
MULTICAST_DELEGATE |
private static Signature |
NEW_INSTANCE |
private static AbstractClassGenerator.Source |
SOURCE |
| Constructor and Description |
|---|
Generator() |
| Modifier and Type | Method and Description |
|---|---|
MulticastDelegate |
create() |
private void |
emitProxy(ClassEmitter ce,
MethodInfo method) |
protected java.lang.Object |
firstInstance(java.lang.Class type) |
void |
generateClass(org.objectweb.asm.ClassVisitor cv) |
protected java.lang.ClassLoader |
getDefaultClassLoader() |
protected java.security.ProtectionDomain |
getProtectionDomain()
Returns the protection domain to use when defining the class.
|
protected java.lang.Object |
nextInstance(java.lang.Object instance) |
void |
setInterface(java.lang.Class iface) |
create, generate, getAttemptLoad, getClassLoader, getClassName, getCurrent, getNamingPolicy, getStrategy, getUseCache, setAttemptLoad, setClassLoader, setNamePrefix, setNamingPolicy, setStrategy, setUseCache, unwrapCachedValue, wrapCachedClassprivate static final AbstractClassGenerator.Source SOURCE
private static final org.objectweb.asm.Type MULTICAST_DELEGATE
private static final Signature NEW_INSTANCE
private static final Signature ADD_DELEGATE
private static final Signature ADD_HELPER
private java.lang.Class iface
protected java.lang.ClassLoader getDefaultClassLoader()
getDefaultClassLoader in class AbstractClassGeneratorprotected java.security.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 setInterface(java.lang.Class iface)
public MulticastDelegate create()
public void generateClass(org.objectweb.asm.ClassVisitor cv)
private void emitProxy(ClassEmitter ce, MethodInfo method)
protected java.lang.Object firstInstance(java.lang.Class type)
firstInstance in class AbstractClassGeneratorprotected java.lang.Object nextInstance(java.lang.Object instance)
nextInstance in class AbstractClassGenerator