final class SymbolInformation extends AnyRef
Describes metadata about a symbol such as a method, class or trait.
To learn more about SymbolInformation, refer to the SemanticDB specification for
- <a href="https://scalameta.org/docs/semanticdb/specification.html#scala-symbolinformation">Scala SymbolInformation
- <a href="https://scalameta.org/docs/semanticdb/specification.html#java-symbolinformation">Java SymbolInformation
- Self Type
- SymbolInformation
- Grouped
- Alphabetic
- By Inheritance
- SymbolInformation
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
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 SymbolInformation toany2stringadd[SymbolInformation] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (SymbolInformation, B)
- Implicit
- This member is added by an implicit conversion from SymbolInformation toArrowAssoc[SymbolInformation] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def annotations: List[Annotation]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def displayName: String
- def ensuring(cond: (SymbolInformation) => Boolean, msg: => Any): SymbolInformation
- Implicit
- This member is added by an implicit conversion from SymbolInformation toEnsuring[SymbolInformation] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (SymbolInformation) => Boolean): SymbolInformation
- Implicit
- This member is added by an implicit conversion from SymbolInformation toEnsuring[SymbolInformation] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): SymbolInformation
- Implicit
- This member is added by an implicit conversion from SymbolInformation toEnsuring[SymbolInformation] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): SymbolInformation
- Implicit
- This member is added by an implicit conversion from SymbolInformation toEnsuring[SymbolInformation] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isAbstract: Boolean
- Annotations
- @property()
- def isCase: Boolean
- Annotations
- @property()
- def isClass: Boolean
- Annotations
- @kind()
- def isConstructor: Boolean
- Annotations
- @kind()
- def isContravariant: Boolean
- Annotations
- @property()
- def isCovariant: Boolean
- Annotations
- @property()
- def isDef: Boolean
- Annotations
- @utility()
- def isDefault: Boolean
- Annotations
- @property()
- def isEnum: Boolean
- Annotations
- @property()
- def isField: Boolean
- Annotations
- @kind()
- def isFinal: Boolean
- Annotations
- @property()
- def isGiven: Boolean
- Annotations
- @property()
- def isImplicit: Boolean
- Annotations
- @property()
- def isInfix: Boolean
- Annotations
- @property()
- def isInline: Boolean
- Annotations
- @property()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInterface: Boolean
- Annotations
- @kind()
- def isJava: Boolean
- Annotations
- @language()
- def isLazy: Boolean
- Annotations
- @property()
- def isLocal: Boolean
- Annotations
- @kind()
- def isMacro: Boolean
- Annotations
- @kind()
- def isMethod: Boolean
Returns true for
val
var
anddef
symbols in Scala, and true for Java methods.Returns true for
val
var
anddef
symbols in Scala, and true for Java methods.- Annotations
- @kind()
- def isObject: Boolean
- Annotations
- @kind()
- def isOpaque: Boolean
- Annotations
- @property()
- def isOpen: Boolean
- Annotations
- @property()
- def isPackage: Boolean
- Annotations
- @kind()
- def isPackageObject: Boolean
- Annotations
- @kind()
- def isParameter: Boolean
- Annotations
- @kind()
- def isPrimary: Boolean
- Annotations
- @property()
- def isPrivate: Boolean
- Annotations
- @access()
- def isPrivateThis: Boolean
- Annotations
- @access()
- def isPrivateWithin: Boolean
- Annotations
- @access()
- def isProtected: Boolean
- Annotations
- @access()
- def isProtectedThis: Boolean
- Annotations
- @access()
- def isProtectedWithin: Boolean
- Annotations
- @access()
- def isPublic: Boolean
- Annotations
- @access()
- def isScala: Boolean
- Annotations
- @language()
- def isSealed: Boolean
- Annotations
- @property()
- def isSelfParameter: Boolean
- Annotations
- @kind()
- def isSetter: Boolean
- Annotations
- @utility()
- def isStatic: Boolean
- Annotations
- @property()
- def isTrait: Boolean
- Annotations
- @kind()
- def isTransparent: Boolean
- Annotations
- @property()
- def isType: Boolean
- Annotations
- @kind()
- def isTypeParameter: Boolean
- Annotations
- @kind()
- def isVal: Boolean
- Annotations
- @property()
- def isVar: Boolean
- Annotations
- @property()
- 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()
- def overriddenSymbols: List[Symbol]
- def owner: Symbol
- def signature: Signature
- def symbol: Symbol
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- SymbolInformation → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def within: Option[Symbol]
- Annotations
- @access()
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SymbolInformation toStringFormat[SymbolInformation] 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.
- def →[B](y: B): (SymbolInformation, B)
- Implicit
- This member is added by an implicit conversion from SymbolInformation toArrowAssoc[SymbolInformation] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd fromSymbolInformation to any2stringadd[SymbolInformation]
Inherited by implicit conversion StringFormat fromSymbolInformation to StringFormat[SymbolInformation]
Inherited by implicit conversion Ensuring fromSymbolInformation to Ensuring[SymbolInformation]
Inherited by implicit conversion ArrowAssoc fromSymbolInformation to ArrowAssoc[SymbolInformation]
utilty
Misc
Kind
Describes what kind this symbol is. It is only possible for a symbol to have one kind. For example, it's not possible for a symbol to be both a class and an interface.
Property
Describes the properties of this symbol. It is possible for a symbol to have multiple properties. For example, a symbol can be both implicit and final.
Access
Describes the visibility of this symbol. It is only possible for a symbol to have one access. For example, a symbol is either private or privateThis, it cannot be both. To learn more about Access, refer to the <a href="https://scalameta.org/docs/semanticdb/specification.html#scala-access">SemanticDB specification.
Language
Describes which language the symbol is defined in.