ClassDefiner that defines classes using a generated access function.
| Modifier and Type | Field and Description |
|---|---|
| private final BiFunction |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Class | define(Class<?> hostClass, byte[] bytecode)
Implements com. |
| defineAccess | back to summary |
|---|---|
| private final BiFunction<ClassLoader, byte[], Class<?>> defineAccess | |
| GeneratedClassDefiner | back to summary |
|---|---|
| pack-priv GeneratedClassDefiner(BiFunction<ClassLoader, byte[], Class<?>> defineAccess) | |
| define | back to summary |
|---|---|
| public Class Implements com. Doc from com. Defines a new class relative to the host.
| |