protected static class MethodRegistry.Default.Entry extends Object implements LatentMethodMatcher
LatentMethodMatcher.Resolved
Modifier | Constructor and Description |
---|---|
protected |
Entry(LatentMethodMatcher methodMatcher,
MethodRegistry.Handler handler,
MethodAttributeAppender.Factory attributeAppenderFactory)
Creates a new entry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
protected MethodAttributeAppender.Factory |
getAppenderFactory()
Returns the attribute appender factory of this entry.
|
protected MethodRegistry.Handler |
getHandler()
Returns the handler of this entry.
|
int |
hashCode() |
ElementMatcher<? super MethodDescription> |
resolve(TypeDescription instrumentedType)
Resolves the latent method matcher.
|
String |
toString() |
protected Entry(LatentMethodMatcher methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory)
methodMatcher
- The latent method matcher that this entry represents.handler
- The handler to apply to all matched entries.attributeAppenderFactory
- A method attribute appender factory to apply to all entries.protected MethodRegistry.Handler getHandler()
protected MethodAttributeAppender.Factory getAppenderFactory()
public ElementMatcher<? super MethodDescription> resolve(TypeDescription instrumentedType)
LatentMethodMatcher
resolve
in interface LatentMethodMatcher
instrumentedType
- The instrumented type.Copyright © 2014–2015. All rights reserved.