public static interface Instrumentation.Context.ExtractableView extends Instrumentation.Context
Instrumentation.Context which
 allows the retrieval of any registered auxiliary type.| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
Instrumentation.Context.ExtractableView.InjectedCode
When draining an instrumentation context, a type initializer might be written to the created class
 file. 
 | 
Instrumentation.Context.Default, Instrumentation.Context.ExtractableView| Modifier and Type | Field and Description | 
|---|---|
static int | 
FIELD_CACHE_MODIFIER
A default modifier for a field that serves as a cache. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
drain(org.objectweb.asm.ClassVisitor classVisitor,
     TypeWriter.MethodPool methodPool,
     Instrumentation.Context.ExtractableView.InjectedCode injectedCode)
Writes any information that was registered with an  
Instrumentation.Context
 to the provided class visitor. | 
List<DynamicType> | 
getRegisteredAuxiliaryTypes()
Returns any  
AuxiliaryType that was registered
 with this Instrumentation.Context. | 
cache, registerstatic final int FIELD_CACHE_MODIFIER
List<DynamicType> getRegisteredAuxiliaryTypes()
AuxiliaryType that was registered
 with this Instrumentation.Context.void drain(org.objectweb.asm.ClassVisitor classVisitor,
           TypeWriter.MethodPool methodPool,
           Instrumentation.Context.ExtractableView.InjectedCode injectedCode)
Instrumentation.Context
 to the provided class visitor. This contains any fields for value caching, any accessor method and it
 writes the type initializer. The type initializer must therefore never be written manually.classVisitor - The class visitor to which the extractable view is to be written.methodPool - A method pool which is queried for any user code to add to the type initializer.injectedCode - Potential code that is to be injected into the type initializer.Copyright © 2014. All rights reserved.