public static enum ByteBuddyAgent.AttachmentProvider.ForToolsJarVm extends Enum<ByteBuddyAgent.AttachmentProvider.ForToolsJarVm> implements ByteBuddyAgent.AttachmentProvider
Modifier and Type | Class and Description |
---|---|
protected static class |
ByteBuddyAgent.AttachmentProvider.ForToolsJarVm.ClassLoaderCreationAction
The action creates a class loader that is capable of reading form the provided tools.jar.
|
ByteBuddyAgent.AttachmentProvider.Accessor, ByteBuddyAgent.AttachmentProvider.Compound, ByteBuddyAgent.AttachmentProvider.ForJigsawVm, ByteBuddyAgent.AttachmentProvider.ForToolsJarVm
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.
|
String |
toString() |
static ByteBuddyAgent.AttachmentProvider.ForToolsJarVm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuddyAgent.AttachmentProvider.ForToolsJarVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBuddyAgent.AttachmentProvider.ForToolsJarVm JVM_ROOT
public static final ByteBuddyAgent.AttachmentProvider.ForToolsJarVm JDK_ROOT
public static final ByteBuddyAgent.AttachmentProvider.ForToolsJarVm MACINTOSH
public static ByteBuddyAgent.AttachmentProvider.ForToolsJarVm[] values()
for (ByteBuddyAgent.AttachmentProvider.ForToolsJarVm c : ByteBuddyAgent.AttachmentProvider.ForToolsJarVm.values()) System.out.println(c);
public static ByteBuddyAgent.AttachmentProvider.ForToolsJarVm 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()
ByteBuddyAgent.AttachmentProvider
attempt
in interface ByteBuddyAgent.AttachmentProvider
public String toString()
toString
in class Enum<ByteBuddyAgent.AttachmentProvider.ForToolsJarVm>
Copyright © 2014–2016. All rights reserved.