ClassTypeParamSymbol
Attributes
- Graph
-
- Supertypes
-
trait TypeConstructorParamclass TypeParamSymbolclass TypeSymbolWithBoundsclass TypeSymbolclass TermOrTypeSymbolclass Symbolclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
The declared variance of the type parameter, as found in the source.
The declared variance of the type parameter, as found in the source.
Attributes
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:
- TypeSymbolWithBounds
Attributes
- Inherited from:
- TypeParamSymbol
A full name of this symbol for display purposes, such as debugging or error messages.
A full name of this symbol for display purposes, such as debugging or error messages.
displayFullName
must not be used to identify symbols, as it is not unique.
Attributes
- Inherited from:
- Symbol
This method is overridden in every subclass to perform their own checks.
This method is overridden in every subclass to perform their own checks.
Every override is expected to call super.doCheckCompleted()
first. If a check fail, it should be reported with failNotCompleted.
Attributes
- Definition Classes
- Inherited from:
- TypeParamSymbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Is this symbol an abstract member?
Is this symbol an abstract member?
An abstract member must be implemented in a subclass of its owner. Term members are abstract if they have no right-hand-side. Type members are abstract if they are neither type aliases nor opaque type aliases.
Other kinds of symbols are never abstract members. To test whether a class is abstract
, use ClassSymbol.isAbstractClass.
Note that this is false for abstract override
members.
Attributes
- Inherited from:
- TermOrTypeSymbol
Is this symbol a final member, in the sense that it cannot be overridden?
Is this symbol a final member, in the sense that it cannot be overridden?
Classes are always final members, since Scala 3 does not allow to override (shadow) inner classes.
Other symbols are final members iff they have the final
modifier.
Attributes
- Inherited from:
- TermOrTypeSymbol
Does this symbol have the infix
modifier?
Attributes
- Inherited from:
- TypeSymbol
Is this symbol private?
Is this symbol private?
A symbol is said private if it either private
without scope or private[this]
.
Private members obey different rules than other members in a number of situations. In particular, they are not inherited and therefore do not participate in overriding relationships.
Attributes
- Returns
-
true
iffvisibility == Visibility.Private || visibility == Visibility.PrivateThis
- Inherited from:
- TermOrTypeSymbol
Is this symbol public?
Is this symbol public?
Attributes
- Returns
-
true
iffvisibility == Visibility.Public
- Inherited from:
- TermOrTypeSymbol
Is this symbol generated by the compiler?
Attributes
- Inherited from:
- TypeSymbol
A reference to this symbol that is valid within its declaring scope.
A reference to this symbol that is valid within its declaring scope.
If this symbol is a polymorphic type, for example a polymorphic class, it is left unapplied.
Attributes
- Definition Classes
- Inherited from:
- TypeSymbol
The non-private symbol whose name and type matches the type of this symbol in the given class.
The non-private symbol whose name and type matches the type of this symbol in the given class.
Value parameters
- inClass
-
The class containing the result symbol's definition
- siteClass
-
The base class from which member types are computed
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
.
Value parameters
- inClass
-
The class in which to look for a matching symbol
- siteClass
-
The base class from which member types are computed
Attributes
- 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
The declared visibility of this symbol.