Module org.refcodes.mixin
Package org.refcodes.mixin
Interface InstanceAccessor.InstanceBuilder<T,B extends InstanceAccessor.InstanceBuilder<T,B>>
- Type Parameters:
T
- The generic instance type.B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- InstanceAccessor<T>
public static interface InstanceAccessor.InstanceBuilder<T,B extends InstanceAccessor.InstanceBuilder<T,B>>
Provides a builder method for a instance property returning the builder
for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithInstance
(T aInstance) Sets the instance for the instance property.
-
Method Details
-
withInstance
Sets the instance for the instance property.- Parameters:
aInstance
- The instance to be stored by the instance property.- Returns:
- The builder for applying multiple build operations.
-