implicit final class PatcherOps[T] extends AnyVal
Provides patcher operations on values of any type
- T
type of object to patch
- Alphabetic
- By Inheritance
- PatcherOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PatcherOps(obj: T)
- obj
wrapped object to patch
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def patchUsing[P](patch: P)(implicit patcher: Patcher[T, P]): T
Performs in-place patching of wrapped object with provided value.
Performs in-place patching of wrapped object with provided value.
If you want to customize patching behavior, consider using using method.
- P
type of patch object
- patch
patch object value
- patcher
implicit instance of io.scalaland.chimney.Patcher type class
- returns
patched value
- See also
io.scalaland.chimney.Patcher#derive for default implicit instance
- def toString(): String
- Definition Classes
- Any
- final def using[P](patch: P): PatcherUsing[T, P, Empty]
Allows to customize patcher generation
Allows to customize patcher generation
- P
type of patch object
- patch
patch object value
- returns
Deprecated Value Members
- final def patchWith[P](patch: P)(implicit patcher: Patcher[T, P]): T
Performs in-place patching of wrapped object with provided value.
Performs in-place patching of wrapped object with provided value.
If you want to customize patching behavior, consider using using method.
- P
type of patch object
- patch
patch object value
- patcher
implicit instance of io.scalaland.chimney.Patcher type class
- returns
patched value
- Annotations
- @deprecated
- Deprecated
(Since version 0.4.0) please use .patchUsing
- See also
io.scalaland.chimney.Patcher#derive for default implicit instance