public interface ClassFileLocator
| Modifier and Type | Interface and Description |
|---|---|
static class |
ClassFileLocator.AgentBased
A Java agent that allows the location of class files by emulating a retransformation.
|
static class |
ClassFileLocator.Compound
A compound
ClassFileLocator that chains several locators. |
static class |
ClassFileLocator.Default
Default implementations for a
ClassFileLocator. |
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_FILE_EXTENSION
The file extension for a Java class file.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription.BinaryRepresentation |
classFileFor(TypeDescription typeDescription)
Locates the class file for a given type and returns the binary data of the class file.
|
static final String CLASS_FILE_EXTENSION
TypeDescription.BinaryRepresentation classFileFor(TypeDescription typeDescription) throws IOException
typeDescription - The description of the type for which a class file is to be located.IOException - If reading a class file causes an error.Copyright © 2014. All rights reserved.