Enum ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable

    • Constructor Detail

      • Unavailable

        private Unavailable()
    • Method Detail

      • values

        public static ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable c : ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isExternalAttachmentRequired

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