- All Superinterfaces:
DebugAccessor
,DebugAccessor.DebugMutator
- Enclosing interface:
- DebugAccessor
public static interface DebugAccessor.DebugProperty
extends DebugAccessor, DebugAccessor.DebugMutator
Provides a debug property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.DebugAccessor
DebugAccessor.DebugMutator, DebugAccessor.DebugProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
letDebug
(boolean isDebug) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofDebugAccessor.DebugMutator.setDebug(boolean)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.DebugAccessor
isDebug
Methods inherited from interface org.refcodes.mixin.DebugAccessor.DebugMutator
setDebug
-
Method Details
-
letDebug
default boolean letDebug(boolean isDebug) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofDebugAccessor.DebugMutator.setDebug(boolean)
and returns the very same value (getter).- Parameters:
isDebug
- The boolean to set (viaDebugAccessor.DebugMutator.setDebug(boolean)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-