public class InliningImplementationMatcher extends Object implements LatentMatcher<MethodDescription>
LatentMatcher.Conjunction<S>, LatentMatcher.Disjunction<S>, LatentMatcher.ForFieldToken, LatentMatcher.ForMethodToken, LatentMatcher.ForSelfDeclaredMethod, LatentMatcher.Resolved<S>
Modifier | Constructor and Description |
---|---|
protected |
InliningImplementationMatcher(LatentMatcher<? super MethodDescription> ignoredMethods,
ElementMatcher<? super MethodDescription> predefinedMethodSignatures)
Creates a new inline implementation matcher.
|
Modifier and Type | Method and Description |
---|---|
protected static LatentMatcher<MethodDescription> |
of(LatentMatcher<? super MethodDescription> ignoredMethods,
TypeDescription originalType)
Creates a matcher where only overridable or declared methods are matched unless those are ignored.
|
ElementMatcher<? super MethodDescription> |
resolve(TypeDescription typeDescription)
Resolves the element matcher this instance represents for the supplied type description.
|
protected InliningImplementationMatcher(LatentMatcher<? super MethodDescription> ignoredMethods, ElementMatcher<? super MethodDescription> predefinedMethodSignatures)
ignoredMethods
- A method matcher that matches any ignored method.predefinedMethodSignatures
- A method matcher that matches any predefined method.protected static LatentMatcher<MethodDescription> of(LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType)
ignoredMethods
- A method matcher that matches any ignored method.originalType
- The original type of the instrumentation before adding any user methods.public ElementMatcher<? super MethodDescription> resolve(TypeDescription typeDescription)
LatentMatcher
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.Copyright © 2014–2018. All rights reserved.