U - A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.MethodDefinition.ImplementationDefinition<U>
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>An abstract base implementation for a builder optionally defining an implementation of a method. | 
| static interface  | DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>A builder for optionally defining an implementation of a method. | 
| 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. | 
| DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> | defaultValue(Object value,
            Class<?> type)Defines the previously defined or matched method to return the supplied value as an annotation default value. | 
| DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> | intercept(Implementation implementation)Implements the previously defined or matched method by the supplied implementation. | 
| DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> | withoutCode()Defines the previously defined or matched method to be  abstract. | 
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> intercept(Implementation implementation)
implementation - The implementation for implementing the previously defined or matched method.DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> withoutCode()
abstract.DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> defaultValue(Object value)
EnumerationDescription,
 types as TypeDescription and annotations as AnnotationDescription. For supplying loaded types, use
 defaultValue(Object, Class) must be used.value - The value to be defined as a default value.DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> defaultValue(Object value, Class<?> type)
value - The value to be defined as a default value.type - The type of the annotation property.Copyright © 2014–2016. All rights reserved.