protected static class MethodRegistry.Default.Compiled extends Object implements MethodRegistry.Compiled
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodRegistry.Default.Compiled.Entry
An entry of a compiled default method registry.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Compiled(TypeDescription instrumentedType,
LoadedTypeInitializer loadedTypeInitializer,
InstrumentedType.TypeInitializer typeInitializer,
MethodList invokableMethods,
List<MethodRegistry.Default.Compiled.Entry> entries,
TypeWriter.MethodPool.Entry fallback)
Creates a new compiled default method registry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
TypeDescription |
getInstrumentedType()
The readily prepared instrumented type with all optional members registered as they are required
by this instances
Instrumentations. |
MethodList |
getInvokableMethods()
Returns a list of all methods that are invokable on the instrumented type.
|
LoadedTypeInitializer |
getLoadedTypeInitializer()
The loaded type initializer as it is required by this instance's
Instrumentations. |
InstrumentedType.TypeInitializer |
getTypeInitializer()
The type initializer as it is required by this instance's
Instrumentations. |
int |
hashCode() |
TypeWriter.MethodPool.Entry |
target(MethodDescription methodDescription)
Looks up a handler entry for a given method.
|
String |
toString() |
protected Compiled(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, InstrumentedType.TypeInitializer typeInitializer, MethodList invokableMethods, List<MethodRegistry.Default.Compiled.Entry> entries, TypeWriter.MethodPool.Entry fallback)
instrumentedType - The instrumented type.loadedTypeInitializer - The loaded type initializer.typeInitializer - The type initializer.invokableMethods - A list of all methods that can be invoked on the instrumented type.entries - The list of all compiled entries of this compiled method registry.fallback - The fallback entry to apply for any method that is not matched by any of
the registered compiled entries.public TypeDescription getInstrumentedType()
MethodRegistry.CompiledInstrumentations.getInstrumentedType in interface MethodRegistry.Compiledpublic LoadedTypeInitializer getLoadedTypeInitializer()
MethodRegistry.CompiledInstrumentations.getLoadedTypeInitializer in interface MethodRegistry.Compiledpublic InstrumentedType.TypeInitializer getTypeInitializer()
MethodRegistry.CompiledInstrumentations.getTypeInitializer in interface MethodRegistry.Compiledpublic MethodList getInvokableMethods()
MethodRegistry.CompiledgetInvokableMethods in interface MethodRegistry.Compiledpublic TypeWriter.MethodPool.Entry target(MethodDescription methodDescription)
TypeWriter.MethodPooltarget in interface TypeWriter.MethodPoolmethodDescription - The method being processed.Copyright © 2014. All rights reserved.