| Modifier and Type | Field and Description |
|---|---|
| private static volatile Instrumentation | instrumentation
A field for carrying the |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | agentmain(String
The unused agent arguments. arguments, Instrumentation The instrumentation instance. instrumentation)Allows the installation of this agent via the attach API. |
| public static Instrumentation | Returns: The instrumentation instance of the Byte Buddy agent.Returns the instrumentation that was loaded by the Byte Buddy agent. |
| public static void | premain(String
The unused agent arguments. arguments, Instrumentation The instrumentation instance. instrumentation)Allows the installation of this agent via a command line argument. |
| instrumentation | back to summary |
|---|---|
| private static volatile Instrumentation instrumentation A field for carrying the | |
| Installer | back to summary |
|---|---|
| private Installer() The installer provides only | |
| agentmain | back to summary |
|---|---|
| public static void agentmain(String arguments, Instrumentation instrumentation) Allows the installation of this agent via the attach API.
| |
| getInstrumentation | back to summary |
|---|---|
| public static Instrumentation getInstrumentation()
Returns the instrumentation that was loaded by the Byte Buddy agent. When a security manager is active,
the Important Note This method must only be invoked via the
| |
| premain | back to summary |
|---|---|
| public static void premain(String arguments, Instrumentation instrumentation) Allows the installation of this agent via a command line argument.
| |