Class ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithDirectAttachment

    • Constructor Detail

      • WithDirectAttachment

        public WithDirectAttachment​(java.lang.Class<?> virtualMachineType)
        Creates a new simple accessor that implements direct attachment.
        Parameters:
        virtualMachineType - A VirtualMachine class.
    • Method Detail

      • isExternalAttachmentRequired

        public boolean isExternalAttachmentRequired()
        Returns true if this accessor prohibits attachment to the same virtual machine in Java 9 and later.
        Returns:
        true if this accessor prohibits attachment to the same virtual machine in Java 9 and later.