| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ConstructorDelegate. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static ConstructorDelegate |
| KEY_FACTORY | back to summary |
|---|---|
| private static final ConstructorDelegate. | |
| ConstructorDelegate | back to summary |
|---|---|
| protected ConstructorDelegate() | |
| create | back to summary |
|---|---|
| public static ConstructorDelegate create(Class<T> targetClass, Class<T> iface) | |
| Modifier and Type | Method and Description |
|---|---|
| public Object |
| newInstance | back to summary |
|---|---|
| public Object newInstance(String declaring, String iface) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Type | |
| private Class | |
| private static final AbstractClassGenerator. | |
| private Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ConstructorDelegate | |
| protected Object | firstInstance(Class<T> type)
Implements abstract org.
|
| public void | |
| protected ClassLoader | |
| protected ProtectionDomain | getProtectionDomain()
Overrides org. Returns the protection domain to use when defining the class. |
| protected Object | nextInstance(Object instance)
Implements abstract org.
|
| public void | |
| public void |
| CONSTRUCTOR_DELEGATE | back to summary |
|---|---|
| private static final Type CONSTRUCTOR_DELEGATE | |
| iface | back to summary |
|---|---|
| private Class<T> iface | |
| SOURCE | back to summary |
|---|---|
| private static final AbstractClassGenerator. | |
| targetClass | back to summary |
|---|---|
| private Class<T> targetClass | |
| Generator | back to summary |
|---|---|
| public Generator() | |
| create | back to summary |
|---|---|
| public ConstructorDelegate create() | |
| firstInstance | back to summary |
|---|---|
| protected Object firstInstance(Class<T> type) Implements abstract org.
| |
| generateClass | back to summary |
|---|---|
| public void generateClass(ClassVisitor v) Implements org.
| |
| getDefaultClassLoader | back to summary |
|---|---|
| protected ClassLoader getDefaultClassLoader() Implements abstract org.
| |
| getProtectionDomain | back to summary |
|---|---|
| protected ProtectionDomain getProtectionDomain() Overrides org. Doc from org. Returns the protection domain to use when defining the class.
Default implementation returns
| |
| nextInstance | back to summary |
|---|---|
| protected Object nextInstance(Object instance) Implements abstract org.
| |
| setInterface | back to summary |
|---|---|
| public void setInterface(Class<T> iface) | |
| setTargetClass | back to summary |
|---|---|
| public void setTargetClass(Class<T> targetClass) | |