public interface MethodRegistry
Modifier and Type | Interface and Description |
---|---|
static interface |
MethodRegistry.Compiled
Represents a compiled
MethodRegistry . |
static class |
MethodRegistry.Default
A default implementation of a method registry.
|
static interface |
MethodRegistry.LatentMethodMatcher
A latent method matcher represents a method matcher that might not yet be assembled because it misses
information on the actual instrumented type.
|
Modifier and Type | Method and Description |
---|---|
MethodRegistry |
append(MethodRegistry.LatentMethodMatcher latentMethodMatcher,
Instrumentation instrumentation,
MethodAttributeAppender.Factory attributeAppenderFactory)
Creates a new method registry with a new compilable entry representing the arguments of this method call.
|
MethodRegistry.Compiled |
compile(InstrumentedType instrumentedType,
TypeWriter.MethodPool.Entry fallback)
Once all entries for a method registry were registered, a method registry can be compiled in order to allow the
retrieval of a compiled entry for a known method.
|
MethodRegistry |
prepend(MethodRegistry.LatentMethodMatcher latentMethodMatcher,
Instrumentation instrumentation,
MethodAttributeAppender.Factory attributeAppenderFactory)
Creates a new method registry with a new compilable entry representing the arguments of this method call.
|
MethodRegistry prepend(MethodRegistry.LatentMethodMatcher latentMethodMatcher, Instrumentation instrumentation, MethodAttributeAppender.Factory attributeAppenderFactory)
latentMethodMatcher
- A latent method matcher that represents this method matching.instrumentation
- The instrumentation that is responsible for implementing this method.attributeAppenderFactory
- The attribute appender factory that is responsible for implementing this method.MethodRegistry append(MethodRegistry.LatentMethodMatcher latentMethodMatcher, Instrumentation instrumentation, MethodAttributeAppender.Factory attributeAppenderFactory)
latentMethodMatcher
- A latent method matcher that represents this method matching.instrumentation
- The instrumentation that is responsible for implementing this method.attributeAppenderFactory
- The attribute appender factory that is responsible for implementing this method.MethodRegistry.Compiled compile(InstrumentedType instrumentedType, TypeWriter.MethodPool.Entry fallback)
instrumentedType
- The instrumented type for which this field registry is to be compiled.fallback
- The fallback field attribute appender factory that serves as a fallback for unknown methods.Copyright © 2014. All rights reserved.