public class ByteBuddy.MatchedMethodInterception extends Object implements ByteBuddy.MethodInterceptable
| Modifier and Type | Field and Description |
|---|---|
protected ElementMatcher<? super MethodDescription> |
methodMatcher
A method matcher that represents the current method selection.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MatchedMethodInterception(ElementMatcher<? super MethodDescription> methodMatcher)
Creates a new matched method interception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
ByteBuddy.MethodAnnotationTarget |
intercept(Instrumentation instrumentation)
Intercepts the given method with the given instrumentation.
|
String |
toString() |
ByteBuddy.MethodAnnotationTarget |
withoutCode()
Defines the currently selected methods as
abstract. |
protected final ElementMatcher<? super MethodDescription> methodMatcher
protected MatchedMethodInterception(ElementMatcher<? super MethodDescription> methodMatcher)
methodMatcher - The method matcher representing the current method selection.public ByteBuddy.MethodAnnotationTarget intercept(Instrumentation instrumentation)
ByteBuddy.MethodInterceptableintercept in interface ByteBuddy.MethodInterceptableinstrumentation - The instrumentation to apply to the selected methods.public ByteBuddy.MethodAnnotationTarget withoutCode()
ByteBuddy.MethodInterceptableabstract.withoutCode in interface ByteBuddy.MethodInterceptableabstract.Copyright © 2014–2015. All rights reserved.