- All Superinterfaces:
VerboseAccessor
,VerboseAccessor.VerboseMutator
- Enclosing interface:
- VerboseAccessor
public static interface VerboseAccessor.VerboseProperty
extends VerboseAccessor, VerboseAccessor.VerboseMutator
Provides a verbose property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.VerboseAccessor
VerboseAccessor.VerboseMutator, VerboseAccessor.VerboseProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
letVerbose
(boolean isVerbose) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofVerboseAccessor.VerboseMutator.setVerbose(boolean)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.VerboseAccessor
isVerbose
Methods inherited from interface org.refcodes.mixin.VerboseAccessor.VerboseMutator
setVerbose
-
Method Details
-
letVerbose
default boolean letVerbose(boolean isVerbose) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofVerboseAccessor.VerboseMutator.setVerbose(boolean)
and returns the very same value (getter).- Parameters:
isVerbose
- The boolean to set (viaVerboseAccessor.VerboseMutator.setVerbose(boolean)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-