protected static class MethodRegistry.Default.Compiled extends Object implements MethodRegistry.Compiled
TypeWriter.MethodPool.Entry| Constructor and Description |
|---|
Compiled(TypeDescription instrumentedType,
LoadedTypeInitializer loadedTypeInitializer,
InstrumentedType.TypeInitializer typeInitializer,
Map<MethodDescription,TypeWriter.MethodPool.Entry> implementations)
Creates a new compiled version of a default method registry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
MethodList |
getInstrumentedMethods()
Returns a list of all methods that should be instrumented.
|
TypeDescription |
getInstrumentedType()
Returns the instrumented type that is to be created.
|
LoadedTypeInitializer |
getLoadedTypeInitializer()
Returns the loaded type initializer of the instrumented type.
|
InstrumentedType.TypeInitializer |
getTypeInitializer()
The type initializer of the instrumented type.
|
int |
hashCode() |
TypeWriter.MethodPool.Entry |
target(MethodDescription methodDescription)
Looks up a handler entry for a given method.
|
String |
toString() |
public Compiled(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, InstrumentedType.TypeInitializer typeInitializer, Map<MethodDescription,TypeWriter.MethodPool.Entry> implementations)
instrumentedType - The instrumented type.loadedTypeInitializer - The loaded type initializer of the instrumented type.typeInitializer - The type initializer of the instrumented type.implementations - A map of all method descriptions mapped to their handling entries.public TypeDescription getInstrumentedType()
MethodRegistry.CompiledgetInstrumentedType in interface MethodRegistry.Compiledpublic LoadedTypeInitializer getLoadedTypeInitializer()
MethodRegistry.CompiledgetLoadedTypeInitializer in interface MethodRegistry.Compiledpublic InstrumentedType.TypeInitializer getTypeInitializer()
MethodRegistry.CompiledgetTypeInitializer in interface MethodRegistry.Compiledpublic MethodList getInstrumentedMethods()
MethodRegistry.CompiledgetInstrumentedMethods in interface MethodRegistry.Compiledpublic TypeWriter.MethodPool.Entry target(MethodDescription methodDescription)
TypeWriter.MethodPooltarget in interface TypeWriter.MethodPoolmethodDescription - The method being processed.Copyright © 2014–2015. All rights reserved.