public static enum ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm extends Enum<ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm> implements ByteBuddyAgent.AttachmentProvider
ByteBuddyAgent.AttachmentProvider.Accessor, ByteBuddyAgent.AttachmentProvider.Compound, ByteBuddyAgent.AttachmentProvider.ForEmulatedAttachment, ByteBuddyAgent.AttachmentProvider.ForJ9Vm, ByteBuddyAgent.AttachmentProvider.ForModularizedVm, ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm, ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar
Enum Constant and Description |
---|
JDK_ROOT
An attachment provider that locates the tools.jar from a Java installation directory.
|
JVM_ROOT
An attachment provider that locates the tools.jar from a Java home directory.
|
MACINTOSH
An attachment provider that locates the tools.jar as it is set for several JVM
installations on Apple Macintosh computers.
|
DEFAULT
Modifier and Type | Method and Description |
---|---|
ByteBuddyAgent.AttachmentProvider.Accessor |
attempt()
Attempts the creation of an accessor for a specific JVM's attachment API.
|
static ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm JVM_ROOT
public static final ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm JDK_ROOT
public static final ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm MACINTOSH
public static ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm[] values()
for (ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm c : ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm.values()) System.out.println(c);
public static ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ByteBuddyAgent.AttachmentProvider.Accessor attempt()
attempt
in interface ByteBuddyAgent.AttachmentProvider
Copyright © 2014–2023. All rights reserved.