@HashCodeAndEqualsPlugin.Enhance protected static class SubclassDynamicTypeBuilder.InstrumentableMatcher extends java.lang.Object implements LatentMatcher<MethodDescription>
LatentMatcher.Conjunction<S>, LatentMatcher.Disjunction<S>, LatentMatcher.ForFieldToken, LatentMatcher.ForMethodToken, LatentMatcher.ForSelfDeclaredMethod, LatentMatcher.Resolved<S>
Modifier and Type | Field and Description |
---|---|
private LatentMatcher<? super MethodDescription> |
ignoredMethods
A matcher for the ignored methods.
|
Modifier | Constructor and Description |
---|---|
protected |
InstrumentableMatcher(LatentMatcher<? super MethodDescription> ignoredMethods)
Creates a latent method matcher that matches all methods that are to be instrumented by a
SubclassDynamicTypeBuilder . |
Modifier and Type | Method and Description |
---|---|
ElementMatcher<? super MethodDescription> |
resolve(TypeDescription typeDescription)
Resolves the element matcher this instance represents for the supplied type description.
|
private final LatentMatcher<? super MethodDescription> ignoredMethods
protected InstrumentableMatcher(LatentMatcher<? super MethodDescription> ignoredMethods)
SubclassDynamicTypeBuilder
.ignoredMethods
- A matcher for the ignored methods.public ElementMatcher<? super MethodDescription> resolve(TypeDescription typeDescription)
resolve
in interface LatentMatcher<MethodDescription>
typeDescription
- The type description for which the represented matcher should be resolved.ElementMatcher
that represents this matcher's resolved form.