Module org.refcodes.mixin
Package org.refcodes.mixin
Interface AdapteeAccessor.AdapteeProperty<ADAPTEE>
- Type Parameters:
ADAPTEE
- The type of the adaptee property.
- All Superinterfaces:
AdapteeAccessor<ADAPTEE>
,AdapteeAccessor.AdapteeMutator<ADAPTEE>
- Enclosing interface:
- AdapteeAccessor<ADAPTEE>
public static interface AdapteeAccessor.AdapteeProperty<ADAPTEE>
extends AdapteeAccessor<ADAPTEE>, AdapteeAccessor.AdapteeMutator<ADAPTEE>
Provides a adaptee property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.AdapteeAccessor
AdapteeAccessor.AdapteeBuilder<ADAPTEE,
B extends AdapteeAccessor.AdapteeBuilder<ADAPTEE, B>>, AdapteeAccessor.AdapteeMutator<ADAPTEE>, AdapteeAccessor.AdapteeProperty<ADAPTEE> -
Method Summary
Modifier and TypeMethodDescriptiondefault ADAPTEE
letAdaptee
(ADAPTEE aAdaptee) Sets the given adaptee (setter) as ofAdapteeAccessor.AdapteeMutator.setAdaptee(Object)
and returns the very same adaptee (getter).Methods inherited from interface org.refcodes.mixin.AdapteeAccessor
getAdaptee
Methods inherited from interface org.refcodes.mixin.AdapteeAccessor.AdapteeMutator
setAdaptee
-
Method Details
-
letAdaptee
Sets the given adaptee (setter) as ofAdapteeAccessor.AdapteeMutator.setAdaptee(Object)
and returns the very same adaptee (getter). This method stores and passes through the given adaptee, which is very useful for builder APIs.- Parameters:
aAdaptee
- The adaptee to set (viaAdapteeAccessor.AdapteeMutator.setAdaptee(Object)
).- Returns:
- Returns adaptee passed for it to be used in conclusive processing steps.
-