- Type Parameters:
T
- The type of the type of the generic type (lol)
- All Superinterfaces:
TypeAccessor<T>
,TypeAccessor.TypeMutator<T>
- Enclosing interface:
- TypeAccessor<T>
public static interface TypeAccessor.TypeProperty<T>
extends TypeAccessor<T>, TypeAccessor.TypeMutator<T>
Provides a type property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor
TypeAccessor.TypeBuilder<T,
B extends TypeAccessor.TypeBuilder<T, B>>, TypeAccessor.TypeMutator<T>, TypeAccessor.TypeProperty<T> -
Method Summary
Methods inherited from interface org.refcodes.mixin.TypeAccessor
getType
Methods inherited from interface org.refcodes.mixin.TypeAccessor.TypeMutator
setType
-
Method Details
-
letType
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofTypeAccessor.TypeMutator.setType(Class)
and returns the very same value (getter).- Parameters:
aType
- The value to set (viaTypeAccessor.TypeMutator.setType(Class)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-