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.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)
MethodRegistry
prepend
in interface MethodRegistry
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.public MethodRegistry append(MethodRegistry.LatentMethodMatcher latentMethodMatcher, Instrumentation instrumentation, MethodAttributeAppender.Factory attributeAppenderFactory)
MethodRegistry
append
in interface MethodRegistry
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.public MethodRegistry.Prepared prepare(InstrumentedType instrumentedType)
MethodRegistry
prepare
in interface MethodRegistry
instrumentedType
- The instrumented type that is to be prepared.Copyright © 2014. All rights reserved.