protected static class MethodRegistry.Default.Prepared extends Object implements MethodRegistry.Prepared
| Modifier | Constructor and Description |
|---|---|
protected |
Prepared(TypeDescription instrumentedType,
LoadedTypeInitializer loadedTypeInitializer,
InstrumentedType.TypeInitializer typeInitializer,
List<MethodRegistry.Default.Entry> entries,
List<MethodRegistry.Default.Entry> additionalEntries)
Creates a new prepared default method registry.
|
| Modifier and Type | Method and Description |
|---|---|
MethodRegistry.Compiled |
compile(Instrumentation.Target.Factory instrumentationTargetFactory,
MethodLookupEngine methodLookupEngine,
TypeWriter.MethodPool.Entry.Factory fallback)
Compiles this prepared method registry.
|
boolean |
equals(Object other) |
TypeDescription |
getInstrumentedType()
The readily prepared instrumented type with all optional members registered as they are required
by this instances
Instrumentations. |
LoadedTypeInitializer |
getLoadedTypeInitializer()
The type initializer as it is required by this instance's
Instrumentations. |
int |
hashCode() |
String |
toString() |
protected Prepared(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, InstrumentedType.TypeInitializer typeInitializer, List<MethodRegistry.Default.Entry> entries, List<MethodRegistry.Default.Entry> additionalEntries)
instrumentedType - The instrumented type this method registry was prepared for.loadedTypeInitializer - The loaded type initializer this method registry was prepared for.typeInitializer - The type initializer this method registry was prepared for.entries - All entries in their application order.additionalEntries - All additional entries that were added during preparation.public TypeDescription getInstrumentedType()
MethodRegistry.PreparedInstrumentations.getInstrumentedType in interface MethodRegistry.Preparedpublic LoadedTypeInitializer getLoadedTypeInitializer()
MethodRegistry.PreparedInstrumentations.getLoadedTypeInitializer in interface MethodRegistry.Preparedpublic MethodRegistry.Compiled compile(Instrumentation.Target.Factory instrumentationTargetFactory, MethodLookupEngine methodLookupEngine, TypeWriter.MethodPool.Entry.Factory fallback)
MethodRegistry.Preparedcompile in interface MethodRegistry.PreparedinstrumentationTargetFactory - The instrumentation target factory to use for compilation.methodLookupEngine - The method lookup engine to use for compilation.fallback - The fallback entry to use.Copyright © 2014. All rights reserved.