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