TypeToShortenInfo¶
data class TypeToShortenInfo(val typeToShorten: SmartPsiElementPointer<KtUserType>, val shortenedReference: String?)
A class to keep a KtUserType to shorten and what shape the shortened result has to be. shortenedReference is the expected result of shortening in a string form. If shortenedReference is null, it means the shortening will simply delete the qualifier. Note that currently the only usage of shortenedReference is the case we have the import-alias. For example, shortenedReference will be "AliasType" when we shorten:
Constructors¶
TypeToShortenInfo¶
constructor(typeToShorten: SmartPsiElementPointer<KtUserType>, shortenedReference: String?)
Properties¶
shortenedReference¶
val shortenedReference: String?
typeToShorten¶
val typeToShorten: SmartPsiElementPointer<KtUserType>