public static enum AgentBuilder.BinaryLocator.Default extends Enum<AgentBuilder.BinaryLocator.Default> implements AgentBuilder.BinaryLocator
AgentBuilder.BinaryLocator
that
is using a TypePool.Default
with a
TypePool.CacheProvider.Simple
and a
ClassFileLocator.ForClassLoader
.Modifier and Type | Class and Description |
---|---|
protected static class |
AgentBuilder.BinaryLocator.Default.Initialized
The
AgentBuilder.BinaryLocator.Default in its initialized form. |
AgentBuilder.BinaryLocator.Default
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
AgentBuilder.BinaryLocator.Initialized |
initialize(String typeName,
byte[] binaryRepresentation,
ClassLoader classLoader)
Initializes this binary locator.
|
String |
toString() |
static AgentBuilder.BinaryLocator.Default |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.BinaryLocator.Default[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.BinaryLocator.Default INSTANCE
public static AgentBuilder.BinaryLocator.Default[] values()
for (AgentBuilder.BinaryLocator.Default c : AgentBuilder.BinaryLocator.Default.values()) System.out.println(c);
public static AgentBuilder.BinaryLocator.Default 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 AgentBuilder.BinaryLocator.Initialized initialize(String typeName, byte[] binaryRepresentation, ClassLoader classLoader)
AgentBuilder.BinaryLocator
initialize
in interface AgentBuilder.BinaryLocator
typeName
- The binary name of the type that is being instrumented.binaryRepresentation
- The binary representation of the instrumented type.classLoader
- The class loader of the instrumented type. Might be null
if this class
loader represents the bootstrap class loader.public String toString()
toString
in class Enum<AgentBuilder.BinaryLocator.Default>
Copyright © 2014–2015. All rights reserved.