Dotty Documentation


object Signature
extends Object with Serializable

[-] Constructors

[-] Members

[+] type MatchDegree = Int
[+] val FullMatch : Int
[+] val NoMatch : Int
[+] val NotAMethod : Signature

The signature of everything that's not a method, i.e. that has a type different from PolyType, MethodType, or ExprType.

[+] val OverloadedSignature : Signature

The signature of an overloaded denotation.

[+] val ParamMatch : Int
[+] def apply ( resultType: Type , isJava: Boolean ) ( implicit ctx: Context ) : Signature

The signature of a method with no parameters and result type resultType.

The resulting value is only cacheable if isUnderDefined == false, otherwise the signature will change once the contained type variables have been instantiated.