protected static class LatentMatcher.ForFieldToken.ResolvedMatcher extends Object implements ElementMatcher<FieldDescription>
ElementMatcher.Junction<S>| Modifier | Constructor and Description |
|---|---|
protected |
ResolvedMatcher(TypeDescription instrumentedType,
FieldDescription.Token token)
Creates a new resolved matcher of a latent field matcher for a field token.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
matches(FieldDescription target)
Matches a target against this element matcher.
|
String |
toString() |
protected ResolvedMatcher(TypeDescription instrumentedType, FieldDescription.Token token)
instrumentedType - The instrumented type.token - The token that is matched.public boolean matches(FieldDescription target)
ElementMatchermatches in interface ElementMatcher<FieldDescription>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.