Class/Object

scalafix.patch

Patch

Related Docs: object Patch | package patch

Permalink

sealed abstract class Patch extends Product

An immutable sealed data structure that describes how to rewrite and lint a source file.

Documentation: https://scalacenter.github.io/scalafix/docs/developers/patch.html

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Patch
  2. Product
  3. Equals
  4. AnyRef
  5. Any
Implicitly
  1. by XtensionScalafixProductInspect
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Equals
  2. abstract def productArity: Int

    Permalink
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: Option[Patch]): Patch

    Permalink

    Merge this patch together with the other patch if non-empty.

  4. def +(other: Patch): Patch

    Permalink

    Merge this patch together with the other patch.

  5. def ++(other: Iterable[Patch]): Patch

    Permalink

    Merge this patch together with the other patches.

  6. def ->[B](y: B): (Patch, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to ArrowAssoc[Patch] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def atomic: Patch

    Permalink

    Skip this entire patch if a part of it is disabled with // scalafix:off

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def ensuring(cond: (Patch) ⇒ Boolean, msg: ⇒ Any): Patch

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to Ensuring[Patch] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Patch) ⇒ Boolean): Patch

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to Ensuring[Patch] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Patch

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to Ensuring[Patch] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Patch

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to Ensuring[Patch] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to StringFormat[Patch] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def isEmpty: Boolean

    Permalink

    Returns true if this patch is equal to Patch.empty, false otherwise.

    Returns true if this patch is equal to Patch.empty, false otherwise.

    Note, may return false for patches that produce empty diffs. For example, a Patch.replaceSymbol returns false even if the symbol from is not referenced in the code resulting in an empty diff.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def nonEmpty: Boolean

    Permalink

    See also

    Patch.isEmpty

  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  28. def productPrefix: String

    Permalink
    Definition Classes
    Product
  29. def structure: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
  30. def structureLabeled(printWidth: Int): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
  31. def structureLabeled: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
  32. def structureWidth(printWidth: Int): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (Patch, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to ArrowAssoc[Patch] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to any2stringadd[Patch] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (patch: any2stringadd[Patch]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def structure(printWidth: Int): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Patch to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.7) use structureWidth instead

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion XtensionScalafixProductInspect from Patch to scalafix.XtensionScalafixProductInspect

Inherited by implicit conversion any2stringadd from Patch to any2stringadd[Patch]

Inherited by implicit conversion StringFormat from Patch to StringFormat[Patch]

Inherited by implicit conversion Ensuring from Patch to Ensuring[Patch]

Inherited by implicit conversion ArrowAssoc from Patch to ArrowAssoc[Patch]

Ungrouped