protected class DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter extends DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<U>
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapterAn annotation adapter for implementing annotations during a method definition. | 
DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>| Modifier | Constructor and Description | 
|---|---|
| protected  | MethodMatchAdapter(LatentMatcher<? super MethodDescription> matcher)Creates a new method match adapter. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> | defaultValue(Object value)Defines the previously defined or matched method to return the supplied value as an annotation default value. | 
| boolean | equals(Object other) | 
| int | hashCode() | 
| DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> | intercept(Implementation implementation)Implements the previously defined or matched method by the supplied implementation. | 
| String | toString() | 
| DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> | withoutCode()Defines the previously defined or matched method to be  abstract. | 
defaultValueprotected MethodMatchAdapter(LatentMatcher<? super MethodDescription> matcher)
matcher - The method matcher of this adapter.public DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> intercept(Implementation implementation)
DynamicType.Builder.MethodDefinition.ImplementationDefinitionimplementation - The implementation for implementing the previously defined or matched method.public DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> withoutCode()
DynamicType.Builder.MethodDefinition.ImplementationDefinitionabstract.public DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> defaultValue(Object value)
DynamicType.Builder.MethodDefinition.ImplementationDefinitionEnumerationDescription,
 types as TypeDescription and annotations as AnnotationDescription. For supplying loaded types, use
 DynamicType.Builder.MethodDefinition.ImplementationDefinition.defaultValue(Object, Class) must be used.value - The value to be defined as a default value.Copyright © 2014–2016. All rights reserved.