Class

com.thoughtworks.dsl.compilerplugins

ResetEverywhere

Related Doc: package compilerplugins

Permalink

final class ResetEverywhere extends Plugin

A Scala compiler plug-in to enable !-notation for every methods and functions.

Add the following setting in your build.sbt to enable this plug-in.

// build.sbt
addCompilerPlugin("com.thoughtworks.dsl" %% "compilerplugins-reseteverywhere" % "latest.release")

Author:

杨博 (Yang Bo)

Source
ResetEverywhere.scala
Note

Once this ResetEverywhere plug-in is enabled, the @reset annotations are added to every methods and functions automatically. Some other macros or compiler plug-ins may conflict with those @reset annotations.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResetEverywhere
  2. Plugin
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResetEverywhere(global: Global)

    Permalink

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: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ResetEverywhere to any2stringadd[ResetEverywhere] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ResetEverywhere, B)

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

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val components: List[PluginComponent]

    Permalink
    Definition Classes
    ResetEverywhere → Plugin
  9. val description: String

    Permalink
    Definition Classes
    ResetEverywhere → Plugin
  10. def ensuring(cond: (ResetEverywhere) ⇒ Boolean, msg: ⇒ Any): ResetEverywhere

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. val global: Global

    Permalink
    Definition Classes
    ResetEverywhere → Plugin
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def init(options: List[String], error: (String) ⇒ Unit): Boolean

    Permalink
    Definition Classes
    ResetEverywhere → Plugin
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val name: String

    Permalink
    Definition Classes
    ResetEverywhere → Plugin
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  27. def options: List[String]

    Permalink
    Definition Classes
    Plugin
  28. val optionsHelp: Option[String]

    Permalink
    Definition Classes
    Plugin
  29. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

Deprecated Value Members

  1. def processOptions(options: List[String], error: (String) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Plugin
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11) use Plugin#init instead

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped