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 typeDescription)
Resolves the element matcher this instance represents for the supplied type description.
|
String |
toString() |
public ForMethodToken(MethodDescription.Token token)
token - A token representing the method being matched.public ElementMatcher<? super MethodDescription> resolve(TypeDescription typeDescription)
LatentMatcherresolve in interface LatentMatcher<MethodDescription>typeDescription - The type description for which the represented matcher should be resolved.ElementMatcher that represents this matcher's resolved form.Copyright © 2014–2016. All rights reserved.