Uses of Annotation Interface
net.bytebuddy.agent.utility.nullability.MaybeNull
Packages that use MaybeNull
Package
Description
The Byte Buddy agent allows the redefinition of classes at runtime.
-
Uses of MaybeNull in net.bytebuddy.agent
Fields in net.bytebuddy.agent with annotations of type MaybeNullModifier and TypeFieldDescriptionprivate static Instrumentation
Installer.instrumentation
A field for carrying theInstrumentation
that was loaded by the Byte Buddy agent.Methods in net.bytebuddy.agent with annotations of type MaybeNullModifier and TypeMethodDescriptionprivate static Instrumentation
ByteBuddyAgent.doGetInstrumentation()
Performs the actual lookup of theInstrumentation
from an installed Byte Buddy agent and returns the instance, or returnsnull
if not present.private static File
ByteBuddyAgent.AgentProvider.ForByteBuddyAgent.trySelfResolve()
Attempts to resolve theInstaller
class from this jar file if it can be located.private static File
ByteBuddyAgent.trySelfResolve()
Attempts to resolve the location of theAttacher
class for a self-attachment.Method parameters in net.bytebuddy.agent with annotations of type MaybeNullModifier and TypeMethodDescriptionstatic void
Attaches the given agent Jar on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attach
(File agentJar, String processId, String argument, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent Jar on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attach
(File agentJar, ByteBuddyAgent.ProcessProvider processProvider, String argument) Attaches the given agent Jar on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attach
(File agentJar, ByteBuddyAgent.ProcessProvider processProvider, String argument, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent Jar on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attachNative
(File agentLibrary, String processId, String argument) Attaches the given agent library on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attachNative
(File agentLibrary, String processId, String argument, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent library on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attachNative
(File agentLibrary, ByteBuddyAgent.ProcessProvider processProvider, String argument) Attaches the given agent library on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attachNative
(File agentLibrary, ByteBuddyAgent.ProcessProvider processProvider, String argument, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent library on the target process which must be a virtual machine process.protected static void
Attacher.install
(Class<?> virtualMachineType, String processId, String agent, boolean isNative, String argument) Installs a Java agent on a target VM.private static void
ByteBuddyAgent.install
(ByteBuddyAgent.AttachmentProvider attachmentProvider, String processId, String argument, ByteBuddyAgent.AgentProvider agentProvider, boolean isNative) Installs a Java agent on a target VM.private static void
ByteBuddyAgent.installExternal
(ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment externalAttachment, String processId, File agent, boolean isNative, String argument) Installs a Java agent to the current VM via an external process.protected void
Loads an agent by the given command.void
Loads an agent into the represented virtual machine.void
Loads an agent into the represented virtual machine.void
VirtualMachine.ForHotSpot.loadAgentLibrary
(String library, String argument) Loads a native agent library into the represented virtual machine.void
VirtualMachine.loadAgentLibrary
(String library, String argument) Loads a native agent library into the represented virtual machine.void
VirtualMachine.ForHotSpot.loadAgentPath
(String path, String argument) Loads a native agent into the represented virtual machine.void
VirtualMachine.loadAgentPath
(String path, String argument) Loads a native agent into the represented virtual machine.ByteBuddyAgent.AttachmentProvider.Accessor.Simple.of
(ClassLoader classLoader, File... classPath) Creates an accessor by reading the process id from the JMX runtime bean and by attempting to load thecom.sun.tools.attach.VirtualMachine
class from the provided class loader.