protected class DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception extends Object implements DynamicType.Builder.MatchedMethodInterception<S>
DynamicType.Builder.MatchedMethodInterception for which a method was recently
identified or defined such that an Instrumentation for these methods can
now be defined.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
DynamicType.Builder.MethodAnnotationTarget<S> |
intercept(Instrumentation instrumentation)
Intercepts the currently selected method by a given instrumentation.
|
String |
toString() |
DynamicType.Builder.MethodAnnotationTarget<S> |
withoutCode()
Implements the currently selected methods as
abstract methods. |
public DynamicType.Builder.MethodAnnotationTarget<S> intercept(Instrumentation instrumentation)
DynamicType.Builder.MatchedMethodInterceptionintercept in interface DynamicType.Builder.MatchedMethodInterception<S>instrumentation - An instrumentation to apply to the currently selected method.public DynamicType.Builder.MethodAnnotationTarget<S> withoutCode()
DynamicType.Builder.MatchedMethodInterceptionabstract methods.withoutCode in interface DynamicType.Builder.MatchedMethodInterception<S>abstract methods.Copyright © 2014–2015. All rights reserved.