public class ByteBuddy.MatchedMethodInterception extends Object implements ByteBuddy.MethodInterceptable
Modifier and Type | Field and Description |
---|---|
protected MethodMatcher |
methodMatcher
A method matcher that represents the current method selection.
|
Modifier | Constructor and Description |
---|---|
protected |
MatchedMethodInterception(MethodMatcher 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 MethodMatcher methodMatcher
protected MatchedMethodInterception(MethodMatcher methodMatcher)
methodMatcher
- The method matcher representing the current method selection.public ByteBuddy.MethodAnnotationTarget intercept(Instrumentation instrumentation)
ByteBuddy.MethodInterceptable
intercept
in interface ByteBuddy.MethodInterceptable
instrumentation
- The instrumentation to apply to the selected methods.public ByteBuddy.MethodAnnotationTarget withoutCode()
ByteBuddy.MethodInterceptable
abstract
.withoutCode
in interface ByteBuddy.MethodInterceptable
abstract
.Copyright © 2014. All rights reserved.