public interface ClassFileLocator
| Modifier and Type | Interface and Description |
|---|---|
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 |
|---|---|
InputStream |
classFileFor(TypeDescription typeDescription)
Locates the class file for a given type and returns the file as an input stream.
|
static final String CLASS_FILE_EXTENSION
InputStream classFileFor(TypeDescription typeDescription)
InputStream is closed automatically after it is processed. If no class file can be located,
null is returned.typeDescription - The description of the type for which a class file is to be located.Copyright © 2014. All rights reserved.