trait ImplicitMemberShadowing extends AnyRef
Shadowing captures the information that the member is shadowed by some other members There are two cases of implicitly added member shadowing: 1) shadowing from an original class member (the class already has that member) in this case, it won't be possible to call the member directly, the type checker will fail attempting to adapt the call arguments (or if they fit it will call the original class method) 2) shadowing from other possible implicit conversions () this will result in an ambiguous implicit conversion error
- Source
- Entity.scala
- Alphabetic
- By Inheritance
- ImplicitMemberShadowing
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
ambiguatingMembers: List[MemberEntity]
The members that ambiguate this implicit conversion Note: for ambiguatingMembers you have the following invariant: assert(ambiguatingMembers.foreach(_.byConversion.isDefined)
-
abstract
def
shadowingMembers: List[MemberEntity]
The members that shadow the current entry use .inTemplate to get to the template name
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ImplicitMemberShadowing to any2stringadd[ImplicitMemberShadowing] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ImplicitMemberShadowing, B)
- Implicit
- This member is added by an implicit conversion from ImplicitMemberShadowing to ArrowAssoc[ImplicitMemberShadowing] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
ensuring(cond: (ImplicitMemberShadowing) ⇒ Boolean, msg: ⇒ Any): ImplicitMemberShadowing
- Implicit
- This member is added by an implicit conversion from ImplicitMemberShadowing to Ensuring[ImplicitMemberShadowing] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ImplicitMemberShadowing) ⇒ Boolean): ImplicitMemberShadowing
- Implicit
- This member is added by an implicit conversion from ImplicitMemberShadowing to Ensuring[ImplicitMemberShadowing] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ImplicitMemberShadowing
- Implicit
- This member is added by an implicit conversion from ImplicitMemberShadowing to Ensuring[ImplicitMemberShadowing] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ImplicitMemberShadowing
- Implicit
- This member is added by an implicit conversion from ImplicitMemberShadowing to Ensuring[ImplicitMemberShadowing] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): java.lang.Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isAmbiguous: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isShadowed: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (ImplicitMemberShadowing, B)
- Implicit
- This member is added by an implicit conversion from ImplicitMemberShadowing to ArrowAssoc[ImplicitMemberShadowing] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ImplicitMemberShadowing to StringFormat[ImplicitMemberShadowing] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.