public static interface Instrumentation.Context
MethodVisitor
. As such, an instrumentation context and a
MethodVisitor
are complementary for creating an new Java type.Modifier and Type | Interface and Description |
---|---|
static interface |
Instrumentation.Context.ExtractableView
Represents an extractable view of an
Instrumentation.Context which
allows the retrieval of any registered auxiliary type. |
Modifier and Type | Method and Description |
---|---|
TypeDescription |
register(AuxiliaryType auxiliaryType)
Registers an auxiliary type as required for the current instrumentation.
|
TypeDescription register(AuxiliaryType auxiliaryType)
auxiliaryType
- The auxiliary type that is required for the current instrumentation.Copyright © 2014. All rights reserved.