protected static class LatentMatcher.ForMethodToken.ResolvedMatcher extends Object implements ElementMatcher<MethodDescription>
ElementMatcher.Junction<S>| Modifier | Constructor and Description |
|---|---|
protected |
ResolvedMatcher(TypeDescription instrumentedType,
MethodDescription.Token token)
Creates a new resolved method of a latent method matcher for a method token.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
matches(MethodDescription target)
Matches a target against this element matcher.
|
String |
toString() |
protected ResolvedMatcher(TypeDescription instrumentedType, MethodDescription.Token token)
instrumentedType - The instrumented type.token - The token that is matched.public boolean matches(MethodDescription target)
ElementMatchermatches in interface ElementMatcher<MethodDescription>target - The instance to be matched.true if the given element is matched by this matcher or false otherwise.Copyright © 2014–2016. All rights reserved.