public class InstrumentationContext extends Object
Constructor and Description |
---|
InstrumentationContext()
Creates a context.
|
Modifier and Type | Method and Description |
---|---|
void |
addInstrumentationDescriptor(InstrumentationDescriptor id)
Adds an instrumentation descriptor to this context.
|
List<InstrumentationDescriptor> |
getDescriptors()
Get a List of
InstrumentationDescriptor s added to this
context. |
Loader |
getLoader()
Gets a Loader which is configured with this context.
|
void |
instrument(JiapiClass clazz)
Manipulates the class by configured Instrumentors.
|
public void addInstrumentationDescriptor(InstrumentationDescriptor id)
id
- InstrumentationDescriptorInstrumentationDescriptor
public Loader getLoader()
public List<InstrumentationDescriptor> getDescriptors()
InstrumentationDescriptor
s added to this
context.public void instrument(JiapiClass clazz)
clazz
- JiapiClass to instrumentCopyright © 2017. All rights reserved.