- Type Parameters:
T
- The type of the children to be accessed.
- All Superinterfaces:
ChildrenAccessor<T>
,ChildrenAccessor.ChildrenMutator<T>
- Enclosing interface:
- ChildrenAccessor<T>
public static interface ChildrenAccessor.ChildrenProperty<T>
extends ChildrenAccessor<T>, ChildrenAccessor.ChildrenMutator<T>
Provides a children property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.ChildrenAccessor
ChildrenAccessor.ChildrenBuilder<T,
B extends ChildrenAccessor.ChildrenBuilder<T, B>>, ChildrenAccessor.ChildrenMutator<T>, ChildrenAccessor.ChildrenProperty<T> -
Method Summary
Modifier and TypeMethodDescriptiondefault T
letChildren
(T aChildren) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofChildrenAccessor.ChildrenMutator.setChildren(Object)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.ChildrenAccessor
getChildren
Methods inherited from interface org.refcodes.mixin.ChildrenAccessor.ChildrenMutator
setChildren
-
Method Details
-
letChildren
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofChildrenAccessor.ChildrenMutator.setChildren(Object)
and returns the very same value (getter).- Parameters:
aChildren
- The value to set (viaChildrenAccessor.ChildrenMutator.setChildren(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-