You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A triple of a type's database label, its signature for use in callable signatures, and its short name for use
5
+
* in all tables that provide a user-facing type name.
6
+
*
7
+
* `signature` is a Java primitive name (e.g. "int"), a fully-qualified class name ("package.OuterClass.InnerClass"),
8
+
* or an array ("componentSignature[]")
9
+
* Type variables have the signature of their upper bound.
10
+
* Type arguments and anonymous types do not have a signature.
11
+
*
12
+
* `shortName` is a Java primitive name (e.g. "int"), a class short name with Java-style type arguments ("InnerClass<E>" or
13
+
* "OuterClass<ConcreteArgument>" or "OtherClass<? extends Bound>") or an array ("componentShortName[]").
14
+
*/
15
+
data classTypeResultGeneric<SignatureType,outLabelType>(valid:Label<outLabelType>, valsignature:SignatureType, valshortName:String) {
16
+
fun <U> cast(): TypeResult<U> {
17
+
@Suppress("UNCHECKED_CAST")
18
+
returnthisasTypeResult<U>
19
+
}
20
+
}
21
+
data classTypeResultsGeneric<SignatureType>(valjavaResult:TypeResultGeneric<SignatureType,DbType>, valkotlinResult:TypeResultGeneric<SignatureType,DbKt_type>)
0 commit comments