T
- The type of the type of the generic type (lol)TypeAccessor<T>
, TypeAccessor.TypeMutator<T>
public static interface TypeAccessor.TypeProperty<T> extends TypeAccessor<T>, TypeAccessor.TypeMutator<T>
TypeAccessor.TypeBuilder<T,B extends TypeAccessor.TypeBuilder<T,B>>, TypeAccessor.TypeMutator<T>, TypeAccessor.TypeProperty<T>
Modifier and Type | Method | Description |
---|---|---|
default Class<T> |
letType(Class<T> aType) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given value (setter) as of
TypeAccessor.TypeMutator.setType(Class) and returns the very same value (getter). |
getType
setType
default Class<T> letType(Class<T> aType)
TypeAccessor.TypeMutator.setType(Class)
and returns the very same value (getter).aType
- The value to set (via TypeAccessor.TypeMutator.setType(Class)
).Copyright © 2021. All rights reserved.