protected static class MethodRegistry.Default.Prepared extends Object implements MethodRegistry.Prepared
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodRegistry.Default.Prepared.Entry
An entry of a prepared method registry.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Prepared(LinkedHashMap<MethodDescription,MethodRegistry.Default.Prepared.Entry> implementations,
LoadedTypeInitializer loadedTypeInitializer,
TypeInitializer typeInitializer,
TypeDescription instrumentedType,
MethodGraph.Linked methodGraph)
Creates a prepared version of a default method registry.
|
| Modifier and Type | Method and Description |
|---|---|
MethodRegistry.Compiled |
compile(Implementation.Target.Factory implementationTargetFactory,
ClassFileVersion classFileVersion)
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.
|
TypeInitializer |
getTypeInitializer()
The type initializer of the instrumented type.
|
int |
hashCode() |
String |
toString() |
protected Prepared(LinkedHashMap<MethodDescription,MethodRegistry.Default.Prepared.Entry> implementations, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeDescription instrumentedType, MethodGraph.Linked methodGraph)
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.instrumentedType - The instrumented type.methodGraph - A method graph describing the instrumented type.public TypeDescription getInstrumentedType()
MethodRegistry.PreparedgetInstrumentedType in interface MethodRegistry.Preparedpublic LoadedTypeInitializer getLoadedTypeInitializer()
MethodRegistry.PreparedgetLoadedTypeInitializer in interface MethodRegistry.Preparedpublic TypeInitializer getTypeInitializer()
MethodRegistry.PreparedgetTypeInitializer in interface MethodRegistry.Preparedpublic MethodList<?> getInstrumentedMethods()
MethodRegistry.PreparedgetInstrumentedMethods in interface MethodRegistry.Preparedpublic MethodRegistry.Compiled compile(Implementation.Target.Factory implementationTargetFactory, ClassFileVersion classFileVersion)
MethodRegistry.Preparedcompile in interface MethodRegistry.PreparedimplementationTargetFactory - A factory for creating an implementation target.classFileVersion - The type's class file version.Copyright © 2014–2016. All rights reserved.