public class InliningImplementationMatcher extends Object implements LatentMethodMatcher
LatentMethodMatcher.Resolved
Modifier | Constructor and Description |
---|---|
protected |
InliningImplementationMatcher(ElementMatcher<? super MethodDescription> ignoredMethods,
ElementMatcher<? super MethodDescription> predefinedMethodSignatures)
Creates a new inline implementation matcher.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
protected static LatentMethodMatcher |
of(ElementMatcher<? super MethodDescription> ignoredMethods,
TypeDescription targetType)
Creates a matcher where only overridable or declared methods are matched unless those are ignored.
|
ElementMatcher<? super MethodDescription> |
resolve(TypeDescription instrumentedType)
Resolves the latent method matcher.
|
String |
toString() |
protected InliningImplementationMatcher(ElementMatcher<? 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 LatentMethodMatcher of(ElementMatcher<? super MethodDescription> ignoredMethods, TypeDescription targetType)
ignoredMethods
- A method matcher that matches any ignored method.targetType
- The target type of the instrumentation before adding any user methods.public ElementMatcher<? super MethodDescription> resolve(TypeDescription instrumentedType)
LatentMethodMatcher
resolve
in interface LatentMethodMatcher
instrumentedType
- The instrumented type.Copyright © 2014–2015. All rights reserved.