Attributes
- Companion:
- object
- Graph
- Supertypes
- trait DeclaringSymbolclass TypeSymbolclass TermOrTypeSymbolclass Symbolclass Objecttrait Matchableclass Any
Members list
Type members
Inherited types
Attributes
- Inherited from:
- TypeSymbol
Value members
Concrete methods
Get the companion class of this class, if it exists:
Get the companion class of this class, if it exists:
- for
class C
=>object class C[$]
- for
object class C[$]
=>class C
Attributes
Note: this will force all trees in a package
Note: this will force all trees in a package
Attributes
Returns a list of all the overloaded declarations with the given unsigned name.
Returns a list of all the overloaded declarations with the given unsigned name.
Attributes
- Throws:
- java.lang.IllegalArgumentException
if the provided
name
is a SignedNametastyquery.Exceptions.MemberNotFoundExceptionif there is no declaration with the given unsigned name
Convenience method to find a non-overloaded decl from its unsigned name.
Convenience method to find a non-overloaded decl from its unsigned name.
Attributes
- Throws:
- java.lang.IllegalArgumentException
if the provided
name
is a SignedNametastyquery.Exceptions.MemberNotFoundExceptionif there are multiple or no overload with the given unsigned name
Returns a list of all the overloaded declarations with the given unsigned name.
Returns a list of all the overloaded declarations with the given unsigned name.
If there is no declaration with the given unsigned name, this method
returns Nil
.
Attributes
- Throws:
- java.lang.IllegalArgumentException
if the provided
name
is a SignedName
Convenience method to get a non-overloaded decl from its unsigned name.
Convenience method to get a non-overloaded decl from its unsigned name.
If there are multiple or no overload with the given unsigned name, this
method returns None
.
Attributes
- Throws:
- java.lang.IllegalArgumentException
if the provided
name
is a SignedName
Get the module value of this module class definition, if it exists:
Get the module value of this module class definition, if it exists:
- for
object class C[$]
=>object val C
Attributes
The direct children of a sealed class (including enums).
The direct children of a sealed class (including enums).
If this.is(Sealed)
is false, this method returns Nil
.
Otherwise, each element of the list is either:
- a non-module class that extends this class (including enum class cases), or
- a module value whose module class extends this class, or
- an enum val case for this enum class.
The results are ordered by their declaration order in the source.
Attributes
Deprecated methods
Attributes
- Deprecated
- true
Inherited methods
All symbols overridden by this symbol.
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- TypeSymbol
Attributes
- Inherited from:
- TypeSymbol
The symbol whose name and type matches the type of this symbol in the given class.
The symbol whose name and type matches the type of this symbol in the given class.
If inClass == this.owner
, matchingSymbol
returns this symbol.
Otherwise, private members and constructors are ignored.
Unlike the override-related methods overriddenSymbol
and
overridingSymbol
, this method can return non-empty results when
inClass
and this.owner
are unrelated.
siteClass
must be a common subclass of this.owner
and inClass
.
Attributes
- inClass
The class in which to look for a matching symbol
- siteClass
The base class from which member types are computed
- Throws:
- java.lang.IllegalArgumentException
if
owner.isClass
is false, ifsiteClass.isSubclass(owner.asClass)
is false, or ifsiteClass.isSubclass(inClass)
is false - Inherited from:
- TermOrTypeSymbol
The first symbol overridden by this symbol, if any.
The symbol, in class inClass
, that is overridden by this symbol, if any.
The symbol, in class inClass
, that is overridden by this symbol, if any.
Attributes
- Inherited from:
- TermOrTypeSymbol
Returns true iff this symbol override that
symbol.
The symbol overriding this symbol in given subclass inClass
, if any.
The symbol overriding this symbol in given subclass inClass
, if any.
Attributes
- Inherited from:
- TermOrTypeSymbol
Attributes
- Inherited from:
- Symbol
The source language in which this symbol was defined.
The source language in which this symbol was defined.
The source language of a symbol may have an influence on how it is erased, and therefore on how its signature is computed.
Attributes
- Inherited from:
- TermOrTypeSymbol
Attributes
- Inherited from:
- TypeSymbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol