public static class LatentMatcher.ForMethodToken extends Object implements LatentMatcher<MethodDescription>
Modifier and Type | Class and Description |
---|---|
protected static class |
LatentMatcher.ForMethodToken.ResolvedMatcher
A resolved matcher of a latent method matcher for a method token.
|
LatentMatcher.Compound<S>, LatentMatcher.ForFieldToken, LatentMatcher.ForMethodToken, LatentMatcher.Resolved<S>
Constructor and Description |
---|
ForMethodToken(MethodDescription.Token token)
Creates a new latent matcher for a method token.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
ElementMatcher<? super MethodDescription> |
resolve(TypeDescription instrumentedType)
Resolves the element matcher this instance represents for the instrumented type.
|
String |
toString() |
public ForMethodToken(MethodDescription.Token token)
token
- A token representing the method being matched.public ElementMatcher<? super MethodDescription> resolve(TypeDescription instrumentedType)
LatentMatcher
resolve
in interface LatentMatcher<MethodDescription>
instrumentedType
- The instrumented type.ElementMatcher
that represents this matcher's resolved form.Copyright © 2014–2016. All rights reserved.