Uses of Annotation Type
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 TypeFieldDescriptioncom.sun.jna.PointerVirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument.dataPointerA pointer to the operation argument.com.sun.jna.PointerVirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument.descriptorPointerA pointer to the operation descriptor.private static InstrumentationInstaller.instrumentationA field for carrying theInstrumentationthat was loaded by the Byte Buddy agent.com.sun.jna.platform.win32.WinDef.DWORDVirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.SecurityAttributes.lengthThe descriptor's length.com.sun.jna.PointerVirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.SecurityAttributes.securityDescriptorA pointer to the descriptor.Methods in net.bytebuddy.agent with annotations of type MaybeNullModifier and TypeMethodDescriptioncom.sun.jna.platform.win32.WinDef.LPVOIDVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process, String pipe, String argument0, String argument1, String argument2, String argument3) Allocates the remote argument to supply to the remote code upon execution.com.sun.jna.platform.win32.WinDef.LPVOIDVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_code(com.sun.jna.platform.win32.WinNT.HANDLE process) Allocates the code to invoke on the remote VM.com.sun.jna.platform.win32.WinNT.HANDLEVirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.CreateMutex(VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.SecurityAttributes attributes, boolean owner, String name) Create or opens a mutex.com.sun.jna.platform.win32.WinNT.HANDLEVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary.CreateRemoteThread(com.sun.jna.platform.win32.WinNT.HANDLE process, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes, int stackSize, com.sun.jna.Pointer code, com.sun.jna.Pointer argument, com.sun.jna.platform.win32.WinDef.DWORD creationFlags, com.sun.jna.Pointer threadId) An alternative implementation ofKernel32.CreateRemoteThread(WinNT.HANDLE, WinBase.SECURITY_ATTRIBUTES, int, WinBase.FOREIGN_THREAD_START_ROUTINE, Pointer, WinDef.DWORD, Pointer)that uses a pointer as thecodeargument rather then a structure to avoid accessing foreign memory.com.sun.jna.platform.win32.WinNT.HANDLEVirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.CreateSemaphoreW(com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes, long count, long maximumCount, String name) Creates a new semaphore.private static InstrumentationByteBuddyAgent.doGetInstrumentation()Performs the actual lookup of theInstrumentationfrom an installed Byte Buddy agent and returns the instance, or returnsnullif not present.private static InstrumentationByteBuddyAgent.doGetInstrumentation(String name) Performs the actual lookup of theInstrumentationfrom an installed Byte Buddy agent and returns the instance, or returnsnullif not present.com.sun.jna.platform.win32.WinNT.HANDLEVirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.OpenSemaphoreW(int access, boolean inheritHandle, String name) Opens an existing semaphore.private static FileByteBuddyAgent.AgentProvider.ForByteBuddyAgent.trySelfResolve(Class<?> installer) 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 TypeMethodDescriptioncom.sun.jna.platform.win32.WinDef.LPVOIDVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process, String pipe, String argument0, String argument1, String argument2, String argument3) Allocates the remote argument to supply to the remote code upon execution.com.sun.jna.platform.win32.WinDef.LPVOIDVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process, String pipe, String argument0, String argument1, String argument2, String argument3) Allocates the remote argument to supply to the remote code upon execution.com.sun.jna.platform.win32.WinDef.LPVOIDVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process, String pipe, String argument0, String argument1, String argument2, String argument3) Allocates the remote argument to supply to the remote code upon execution.com.sun.jna.platform.win32.WinDef.LPVOIDVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary.allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process, String pipe, String argument0, String argument1, String argument2, String argument3) Allocates the remote argument to supply to the remote code upon execution.static 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.com.sun.jna.platform.win32.WinNT.HANDLEVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary.CreateRemoteThread(com.sun.jna.platform.win32.WinNT.HANDLE process, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes, int stackSize, com.sun.jna.Pointer code, com.sun.jna.Pointer argument, com.sun.jna.platform.win32.WinDef.DWORD creationFlags, com.sun.jna.Pointer threadId) An alternative implementation ofKernel32.CreateRemoteThread(WinNT.HANDLE, WinBase.SECURITY_ATTRIBUTES, int, WinBase.FOREIGN_THREAD_START_ROUTINE, Pointer, WinDef.DWORD, Pointer)that uses a pointer as thecodeargument rather then a structure to avoid accessing foreign memory.com.sun.jna.platform.win32.WinNT.HANDLEVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary.CreateRemoteThread(com.sun.jna.platform.win32.WinNT.HANDLE process, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes, int stackSize, com.sun.jna.Pointer code, com.sun.jna.Pointer argument, com.sun.jna.platform.win32.WinDef.DWORD creationFlags, com.sun.jna.Pointer threadId) An alternative implementation ofKernel32.CreateRemoteThread(WinNT.HANDLE, WinBase.SECURITY_ATTRIBUTES, int, WinBase.FOREIGN_THREAD_START_ROUTINE, Pointer, WinDef.DWORD, Pointer)that uses a pointer as thecodeargument rather then a structure to avoid accessing foreign memory.com.sun.jna.platform.win32.WinNT.HANDLEVirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary.CreateRemoteThread(com.sun.jna.platform.win32.WinNT.HANDLE process, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes, int stackSize, com.sun.jna.Pointer code, com.sun.jna.Pointer argument, com.sun.jna.platform.win32.WinDef.DWORD creationFlags, com.sun.jna.Pointer threadId) An alternative implementation ofKernel32.CreateRemoteThread(WinNT.HANDLE, WinBase.SECURITY_ATTRIBUTES, int, WinBase.FOREIGN_THREAD_START_ROUTINE, Pointer, WinDef.DWORD, Pointer)that uses a pointer as thecodeargument rather then a structure to avoid accessing foreign memory.com.sun.jna.platform.win32.WinNT.HANDLEVirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.CreateSemaphoreW(com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES securityAttributes, long count, long maximumCount, String name) Creates a new semaphore.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.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.ForOpenJ9.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.ForOpenJ9.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.booleanVirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.ReleaseSemaphore(com.sun.jna.platform.win32.WinNT.HANDLE handle, long count, Long previousCount) Releases the semaphore.