Module org.refcodes.mixin
Package org.refcodes.mixin
Interface ErrorPrintStreamAccessor.ErrorPrintStreamProperty
- All Superinterfaces:
ErrorPrintStreamAccessor
,ErrorPrintStreamAccessor.ErrorPrintStreamMutator
- Enclosing interface:
- ErrorPrintStreamAccessor
public static interface ErrorPrintStreamAccessor.ErrorPrintStreamProperty
extends ErrorPrintStreamAccessor, ErrorPrintStreamAccessor.ErrorPrintStreamMutator
Provides an error
PrintStream
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.ErrorPrintStreamAccessor
ErrorPrintStreamAccessor.ErrorPrintStreamBuilder<B extends ErrorPrintStreamAccessor.ErrorPrintStreamBuilder<?>>, ErrorPrintStreamAccessor.ErrorPrintStreamMutator, ErrorPrintStreamAccessor.ErrorPrintStreamProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrintStream
letErrorPrintStream
(PrintStream aErrorPrintStream) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenPrintStream
(setter) as ofErrorPrintStreamAccessor.ErrorPrintStreamMutator.setErrorPrintStream(PrintStream)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.ErrorPrintStreamAccessor
getErrorPrintStream
Methods inherited from interface org.refcodes.mixin.ErrorPrintStreamAccessor.ErrorPrintStreamMutator
setErrorPrintStream
-
Method Details
-
letErrorPrintStream
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenPrintStream
(setter) as ofErrorPrintStreamAccessor.ErrorPrintStreamMutator.setErrorPrintStream(PrintStream)
and returns the very same value (getter).- Parameters:
aErrorPrintStream
- ThePrintStream
to set (viaErrorPrintStreamAccessor.ErrorPrintStreamMutator.setErrorPrintStream(PrintStream)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-