File tree Expand file tree Collapse file tree
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -324,6 +324,18 @@ open class KotlinUsesExtractor(
324324 }
325325
326326 data class UseClassInstanceResult (val typeResult : TypeResult <DbClassorinterface >, val javaClass : IrClass )
327+ /* *
328+ * A triple of a type's database label, its signature for use in callable signatures, and its short name for use
329+ * in all tables that provide a user-facing type name.
330+ *
331+ * `signature` is a Java primitive name (e.g. "int"), a fully-qualified class name ("package.OuterClass.InnerClass"),
332+ * or an array ("componentSignature[]")
333+ * Type variables have the signature of their upper bound.
334+ * Type arguments and anonymous types do not have a signature.
335+ *
336+ * `shortName` is a Java primitive name (e.g. "int"), a class short name with Java-style type arguments ("InnerClass<E>" or
337+ * "OuterClass<ConcreteArgument>" or "OtherClass<? extends Bound>") or an array ("componentShortName[]").
338+ */
327339 data class TypeResult <out LabelType >(val id : Label <out LabelType >, val signature : String? , val shortName : String )
328340 data class TypeResults (val javaResult : TypeResult <DbType >, val kotlinResult : TypeResult <DbKt_type >)
329341
You can’t perform that action at this time.
0 commit comments