Class DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • defaultValue

        public <W> DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<V> defaultValue​(W value,
                                                                                               java.lang.Class<? extends W> type)
        Defines the previously defined or matched method to return the supplied value as an annotation default value. The value must be supplied in its loaded state paired with the property type of the value.
        Specified by:
        defaultValue in interface DynamicType.Builder.MethodDefinition.ImplementationDefinition<V>
        Type Parameters:
        W - The type of the annotation property.
        Parameters:
        value - The value to be defined as a default value.
        type - The type of the annotation property.
        Returns:
        A builder where the previously defined or matched method is implemented to return an annotation default value.