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 InstrumentationInstaller.instrumentationA field for carrying theInstrumentationthat was loaded by the Byte Buddy agent.Methods in net.bytebuddy.agent with annotations of type MaybeNullModifier and TypeMethodDescriptionprivate static InstrumentationByteBuddyAgent.doGetInstrumentation()Performs the actual lookup of theInstrumentationfrom an installed Byte Buddy agent and returns the instance, or returnsnullif not present.private static FileByteBuddyAgent.AgentProvider.ForByteBuddyAgent.trySelfResolve()Attempts to resolve theInstallerclass from this jar file if it can be located.private static FileByteBuddyAgent.trySelfResolve()Attempts to resolve the location of theAttacherclass for a self-attachment.Method parameters in net.bytebuddy.agent with annotations of type MaybeNullModifier and TypeMethodDescriptionstatic voidAttaches the given agent Jar on the target process which must be a virtual machine process.static voidByteBuddyAgent.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 voidByteBuddyAgent.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 voidByteBuddyAgent.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 voidByteBuddyAgent.attachNative(File agentLibrary, String processId, String argument) Attaches the given agent library on the target process which must be a virtual machine process.static voidByteBuddyAgent.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 voidByteBuddyAgent.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 voidByteBuddyAgent.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 voidAttacher.install(Class<?> virtualMachineType, String processId, String agent, boolean isNative, String argument) Installs a Java agent on a target VM.private static voidByteBuddyAgent.install(ByteBuddyAgent.AttachmentProvider attachmentProvider, String processId, String argument, ByteBuddyAgent.AgentProvider agentProvider, boolean isNative) Installs a Java agent on a target VM.private static voidByteBuddyAgent.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 voidLoads an agent by the given command.voidLoads an agent into the represented virtual machine.voidLoads an agent into the represented virtual machine.voidVirtualMachine.ForHotSpot.loadAgentLibrary(String library, String argument) Loads a native agent library into the represented virtual machine.voidVirtualMachine.loadAgentLibrary(String library, String argument) Loads a native agent library into the represented virtual machine.voidVirtualMachine.ForHotSpot.loadAgentPath(String path, String argument) Loads a native agent into the represented virtual machine.voidVirtualMachine.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.VirtualMachineclass from the provided class loader.