protected static class MethodRegistry.Default.Prepared extends Object implements MethodRegistry.Prepared
| Constructor and Description |
|---|
Prepared(Map<MethodDescription,MethodRegistry.Default.Entry> implementations,
LoadedTypeInitializer loadedTypeInitializer,
InstrumentedType.TypeInitializer typeInitializer,
MethodLookupEngine.Finding finding)
Creates a prepared version of a default method registry.
|
| Modifier and Type | Method and Description |
|---|---|
MethodRegistry.Compiled |
compile(Implementation.Target.Factory implementationTargetFactory)
Compiles this prepared method registry.
|
boolean |
equals(Object other) |
MethodList |
getInstrumentedMethods()
Returns a list of all methods that should be instrumented.
|
TypeDescription |
getInstrumentedType()
Returns the fully prepared instrumented type.
|
LoadedTypeInitializer |
getLoadedTypeInitializer()
Returns the loaded type initializer of the instrumented type.
|
InstrumentedType.TypeInitializer |
getTypeInitializer()
The type initializer of the instrumented type.
|
int |
hashCode() |
String |
toString() |
public Prepared(Map<MethodDescription,MethodRegistry.Default.Entry> implementations, LoadedTypeInitializer loadedTypeInitializer, InstrumentedType.TypeInitializer typeInitializer, MethodLookupEngine.Finding finding)
implementations - A map of all method descriptions mapped to their handling entries.loadedTypeInitializer - The loaded type initializer of the instrumented type.typeInitializer - The type initializer of the instrumented type.finding - The analyzed instrumented type.public TypeDescription getInstrumentedType()
MethodRegistry.PreparedgetInstrumentedType in interface MethodRegistry.Preparedpublic LoadedTypeInitializer getLoadedTypeInitializer()
MethodRegistry.PreparedgetLoadedTypeInitializer in interface MethodRegistry.Preparedpublic InstrumentedType.TypeInitializer getTypeInitializer()
MethodRegistry.PreparedgetTypeInitializer in interface MethodRegistry.Preparedpublic MethodList getInstrumentedMethods()
MethodRegistry.PreparedgetInstrumentedMethods in interface MethodRegistry.Preparedpublic MethodRegistry.Compiled compile(Implementation.Target.Factory implementationTargetFactory)
MethodRegistry.Preparedcompile in interface MethodRegistry.PreparedimplementationTargetFactory - A factory for creating an implementation target.Copyright © 2014–2015. All rights reserved.