public static class MethodRegistry.Default extends Object implements MethodRegistry
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodRegistry.Default.Compiled
A compiled default method registry.
|
protected static class |
MethodRegistry.Default.Entry
A registration within a method registry, consisting of a latent method matcher, an instrumentation that
is to be applied on any method that is matched by the method matcher that is extracted from the latent
matcher's manifestation and a method attribute appender factory that is applied to any intercepted method.
|
protected static class |
MethodRegistry.Default.ListDifferenceMethodMatcher
A method matcher that matches methods that are found in only one of two lists.
|
protected static class |
MethodRegistry.Default.Prepared
A prepared default method registry.
|
MethodRegistry.Default, MethodRegistry.LatentMethodMatcher| Constructor and Description |
|---|
Default()
Creates a new empty method registry.
|
| 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.
|
boolean |
equals(Object other) |
int |
hashCode() |
MethodRegistry.Prepared |
prepare(InstrumentedType instrumentedType)
Prepares this method registry for a given instrumented type.
|
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.
|
String |
toString() |
public MethodRegistry prepend(MethodRegistry.LatentMethodMatcher latentMethodMatcher, Instrumentation instrumentation, MethodAttributeAppender.Factory attributeAppenderFactory)
MethodRegistryprepend in interface MethodRegistrylatentMethodMatcher - 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.public MethodRegistry append(MethodRegistry.LatentMethodMatcher latentMethodMatcher, Instrumentation instrumentation, MethodAttributeAppender.Factory attributeAppenderFactory)
MethodRegistryappend in interface MethodRegistrylatentMethodMatcher - 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.public MethodRegistry.Prepared prepare(InstrumentedType instrumentedType)
MethodRegistryprepare in interface MethodRegistryinstrumentedType - The instrumented type that is to be prepared.Copyright © 2014. All rights reserved.