ClassDefiner that defines classes using MethodHandles.Lookup#defineHiddenClass.
| Modifier and Type | Field and Description |
|---|---|
| private static final Object | |
| private static final Method | |
| private static final sun. | |
| private static final Object | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static Object | classOptions(String... options)
Creates |
| public Class | define(Class<?> hostClass, byte[] bytecode)
Implements com. |
| HIDDEN_CLASS_OPTIONS | back to summary |
|---|---|
| private static final Object HIDDEN_CLASS_OPTIONS | |
| HIDDEN_DEFINE_METHOD | back to summary |
|---|---|
| private static final Method HIDDEN_DEFINE_METHOD | |
| THE_UNSAFE | back to summary |
|---|---|
| private static final sun. | |
| TRUSTED_LOOKUP_BASE | back to summary |
|---|---|
| private static final Object TRUSTED_LOOKUP_BASE | |
| TRUSTED_LOOKUP_OFFSET | back to summary |
|---|---|
| private static final long TRUSTED_LOOKUP_OFFSET | |
| HiddenClassDefiner | back to summary |
|---|---|
| pack-priv HiddenClassDefiner() | |
| classOptions | back to summary |
|---|---|
| private static Object classOptions(String... options) throws ClassNotFoundException Creates
| |
| define | back to summary |
|---|---|
| public Class Implements com. Doc from com. Defines a new class relative to the host.
| |