protected class DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception extends DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder<S> implements DynamicType.Builder.OptionalMatchedMethodInterception<S>
DynamicType.Builder.AbstractBase<S>, DynamicType.Builder.ExceptionDeclarableMethodInterception<S>, DynamicType.Builder.FieldAnnotationTarget<S>, DynamicType.Builder.FieldValueTarget<S>, DynamicType.Builder.MatchedMethodInterception<T>, DynamicType.Builder.MethodAnnotationTarget<S>, DynamicType.Builder.OptionalMatchedMethodInterception<S>
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.
|
protected DynamicType.Builder<S> |
materialize()
Materializes the current state of the build before applying another modification.
|
String |
toString() |
DynamicType.Builder.MethodAnnotationTarget<S> |
withoutCode()
Implements the currently selected methods as
abstract methods. |
annotateType, attribute, bridgeMethodResolverFactory, classFileVersion, classVisitor, constructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, ignoreMethods, implement, implement, invokable, make, method, methodLookupEngine, modifiers, modifiers, name, name
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
annotateType, attribute, bridgeMethodResolverFactory, classFileVersion, classVisitor, constructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, ignoreMethods, implement, implement, invokable, make, method, methodLookupEngine, modifiers, modifiers, name, name
public DynamicType.Builder.MethodAnnotationTarget<S> intercept(Instrumentation instrumentation)
DynamicType.Builder.MatchedMethodInterception
intercept
in interface DynamicType.Builder.MatchedMethodInterception<S>
instrumentation
- An instrumentation to apply to the currently selected method.public DynamicType.Builder.MethodAnnotationTarget<S> withoutCode()
DynamicType.Builder.MatchedMethodInterception
abstract
methods.withoutCode
in interface DynamicType.Builder.MatchedMethodInterception<S>
abstract
methods.protected DynamicType.Builder<S> materialize()
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder
materialize
in class DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder<S>
Copyright © 2014–2015. All rights reserved.