Showing content from https://www.scala-lang.org/api/2.11.12/scala-compiler/scala/tools/nsc/typechecker/Unapplies.html below:
Unapplies - Scala Compiler 2.11.12
final def !=(arg0: Any): Boolean
Test two objects for inequality.
final def ##(): Int
Equivalent to x.hashCode
except for boxed numeric types and null
.
def +(other: String): String
def ->[B](y: B): (Unapplies, B)
final def ==(arg0: Any): Boolean
The expression x == that
is equivalent to if (x eq null) that eq null else x.equals(that)
.
object CODE
object HasUnapply
final def asInstanceOf[T0]: T0
Cast the receiver object to be of type T0
.
def caseClassCopyMeth(cdef: Global.ClassDef): Option[Global.DefDef]
Generates copy methods for case classes.
def caseModuleApplyMeth(cdef: Global.ClassDef): Global.DefDef
The apply method corresponding to a case class
def caseModuleDef(cdef: Global.ClassDef): Global.ModuleDef
The module corresponding to a case class; overrides toString to show the module's name
def caseModuleUnapplyMeth(cdef: Global.ClassDef): Global.DefDef
The unapply method corresponding to a case class
def clone(): AnyRef
Create a copy of the receiver object.
def companionModuleDef(cdef: Global.ClassDef, parents: List[Global.Tree] = Nil, body: List[Global.Tree] = Nil): Global.ModuleDef
def directUnapplyMember(tp: Global.Type): Global.Symbol
Returns unapply or unapplySeq if available, without further checks.
def ensuring(cond: (Unapplies) â Boolean, msg: â Any): Unapplies
def ensuring(cond: (Unapplies) â Boolean): Unapplies
def ensuring(cond: Boolean, msg: â Any): Unapplies
def ensuring(cond: Boolean): Unapplies
final def eq(arg0: AnyRef): Boolean
Tests whether the argument (that
) is a reference to the receiver object (this
).
def equals(arg0: Any): Boolean
The equality method for reference types.
def factoryMeth(mods: Global.Modifiers, name: Global.TermName, cdef: Global.ClassDef): Global.DefDef
The apply method corresponding to a case class
def finalize(): Unit
Called by the garbage collector on the receiver object when there are no more references to the object.
def formatted(fmtstr: String): String
final def getClass(): Class[_]
A representation that corresponds to the dynamic class of the receiver object.
def hashCode(): Int
The hashCode method for reference types.
final def isInstanceOf[T0]: Boolean
Test whether the dynamic type of the receiver object is T0
.
final def ne(arg0: AnyRef): Boolean
Equivalent to !(this eq that)
.
final def notify(): Unit
Wakes up a single thread that is waiting on the receiver object's monitor.
final def notifyAll(): Unit
Wakes up all threads that are waiting on the receiver object's monitor.
final def synchronized[T0](arg0: â T0): T0
def toString(): String
Creates a String representation of this object.
def unapplyMember(tp: Global.Type): Global.Symbol
Filters out unapplies with multiple (non-implicit) parameter lists, as they cannot be used as extractors
final def wait(): Unit
final def wait(arg0: Long, arg1: Int): Unit
final def wait(arg0: Long): Unit
def â[B](y: B): (Unapplies, B)
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4