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<S>, DynamicType.Builder.MethodAnnotationTarget<S>, DynamicType.Builder.OptionalMatchedMethodInterception<S>| Modifier | Constructor and Description | 
|---|---|
| protected  | DefaultOptionalMatchedMethodInterception(List<TypeDescription> interfaceTypes)Creates a new subclass optional matched method interception. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| int | hashCode() | 
| DynamicType.Builder.MethodAnnotationTarget<S> | intercept(Implementation implementation)Intercepts the currently selected method by a given implementation. | 
| DynamicType.Builder.MethodAnnotationTarget<S> | intercept(Implementation implementation,
         ModifierResolver modifierResolver)Intercepts the currently selected method by a given implementation. | 
| protected DynamicType.Builder<S> | materialize()Materializes the current state of the build before applying another modification. | 
| String | toString() | 
| DynamicType.Builder.MethodAnnotationTarget<S> | withDefaultValue(Object value)Defines a default annotation value to set for any matched method. | 
| DynamicType.Builder.MethodAnnotationTarget<S> | withDefaultValue(Object value,
                Class<?> type)Defines a default annotation value to set for any matched method. | 
| DynamicType.Builder.MethodAnnotationTarget<S> | withDefaultValue(Object value,
                Class<?> type,
                ModifierResolver modifierResolver)Defines a default annotation value to set for any matched method. | 
| DynamicType.Builder.MethodAnnotationTarget<S> | withDefaultValue(Object value,
                ModifierResolver modifierResolver)Defines a default annotation value to set for any matched method. | 
| DynamicType.Builder.MethodAnnotationTarget<S> | withoutCode()Implements the currently selected methods as  abstractmethods. | 
| DynamicType.Builder.MethodAnnotationTarget<S> | withoutCode(ModifierResolver modifierResolver)Implements the currently selected methods as  abstractmethods. | 
annotateType, annotateType, annotateType, annotateType, attribute, bridgeMethodResolverFactory, classFileVersion, classVisitor, constructor, define, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, ignoreMethods, implement, implement, implement, implement, invokable, invokable, make, method, methodLookupEngine, modifiers, modifiers, name, name, nameclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotateType, annotateType, annotateType, annotateType, attribute, bridgeMethodResolverFactory, classFileVersion, classVisitor, constructor, define, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, ignoreMethods, implement, implement, implement, implement, invokable, invokable, make, method, methodLookupEngine, modifiers, modifiers, name, name, nameprotected DefaultOptionalMatchedMethodInterception(List<TypeDescription> interfaceTypes)
interfaceTypes - An array of all interfaces to implement.public DynamicType.Builder.MethodAnnotationTarget<S> intercept(Implementation implementation)
DynamicType.Builder.MatchedMethodInterceptionintercept in interface DynamicType.Builder.MatchedMethodInterception<S>implementation - An implementation to apply to the currently selected method.public DynamicType.Builder.MethodAnnotationTarget<S> intercept(Implementation implementation, ModifierResolver modifierResolver)
DynamicType.Builder.MatchedMethodInterceptionintercept in interface DynamicType.Builder.MatchedMethodInterception<S>implementation - An implementation to apply to the currently selected method.modifierResolver - The modifier resolver to apply to the instrumented method.public DynamicType.Builder.MethodAnnotationTarget<S> withoutCode()
DynamicType.Builder.MatchedMethodInterceptionabstract methods.withoutCode in interface DynamicType.Builder.MatchedMethodInterception<S>abstract methods.public DynamicType.Builder.MethodAnnotationTarget<S> withoutCode(ModifierResolver modifierResolver)
DynamicType.Builder.MatchedMethodInterceptionabstract methods.withoutCode in interface DynamicType.Builder.MatchedMethodInterception<S>modifierResolver - The modifier resolver to apply to the instrumented method.abstract methods.public DynamicType.Builder.MethodAnnotationTarget<S> withDefaultValue(Object value, Class<?> type)
DynamicType.Builder.MatchedMethodInterceptionwithDefaultValue in interface DynamicType.Builder.MatchedMethodInterception<S>value - The value that the annotation property should set as a default.type - The type of the annotation property.public DynamicType.Builder.MethodAnnotationTarget<S> withDefaultValue(Object value, Class<?> type, ModifierResolver modifierResolver)
DynamicType.Builder.MatchedMethodInterceptionwithDefaultValue in interface DynamicType.Builder.MatchedMethodInterception<S>value - The value that the annotation property should set as a default.type - The type of the annotation property.modifierResolver - The modifier resolver to apply to the instrumented method.public DynamicType.Builder.MethodAnnotationTarget<S> withDefaultValue(Object value)
DynamicType.Builder.MatchedMethodInterceptionenum values should be handed as EnumerationDescription
 instances, annotations as AnnotationDescription instances and
 Class values as TypeDescription instances. Other values are handed in their raw format or as their wrapper types.withDefaultValue in interface DynamicType.Builder.MatchedMethodInterception<S>value - A non-loaded value that the annotation property should set as a default.public DynamicType.Builder.MethodAnnotationTarget<S> withDefaultValue(Object value, ModifierResolver modifierResolver)
DynamicType.Builder.MatchedMethodInterceptionenum values should be handed as EnumerationDescription
 instances, annotations as AnnotationDescription instances and
 Class values as TypeDescription instances. Other values are handed in their raw format or as their wrapper types.withDefaultValue in interface DynamicType.Builder.MatchedMethodInterception<S>value - A non-loaded value that the annotation property should set as a default.modifierResolver - The modifier resolver to apply to the instrumented method.protected DynamicType.Builder<S> materialize()
DynamicType.Builder.AbstractBase.AbstractDelegatingBuildermaterialize in class DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder<S>Copyright © 2014–2015. All rights reserved.