Skip to content

KaInternalsReferenceShortener

Functions

collectPossibleReferenceShortenings

abstract fun collectPossibleReferenceShortenings(
    file: KtFile, 
    selection: TextRange, 
    shortenOptions: ShortenOptions, 
    classShortenStrategy: (KaClassLikeSymbol) -> ShortenStrategy, 
    callableShortenStrategy: (KaCallableSymbol) -> ShortenStrategy
): ShortenCommand

collectPossibleReferenceShorteningsInElement

abstract fun collectPossibleReferenceShorteningsInElement(
    element: KtElement, 
    shortenOptions: ShortenOptions, 
    classShortenStrategy: (KaClassLikeSymbol) -> ShortenStrategy, 
    callableShortenStrategy: (KaCallableSymbol) -> ShortenStrategy
): ShortenCommand