V
- A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V> extends Object implements DynamicType.Builder.MethodDefinition.ImplementationDefinition<V>
DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
<W> DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<V> |
defaultValue(W value,
Class<? extends W> type)
Defines the previously defined or matched method to return the supplied value as an annotation default value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defaultValue, intercept, withoutCode
public <W> DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<V> defaultValue(W value, Class<? extends W> type)
defaultValue
in interface DynamicType.Builder.MethodDefinition.ImplementationDefinition<V>
W
- The type of the annotation property.value
- The value to be defined as a default value.type
- The type of the annotation property.Copyright © 2014–2020. All rights reserved.