[Analysis API] extract the data from the ShortenCommandImpl to the base class

^KT-58992
This commit is contained in:
Ilya Kirillov
2023-05-30 18:16:42 +02:00
committed by Space Team
parent fffc921d42
commit 95cf892eec
4 changed files with 28 additions and 26 deletions
@@ -14,12 +14,12 @@ internal object ShorteningResultsRenderer {
return
}
shortening.getTypesToShorten().forEach { userType ->
shortening.typesToShorten.forEach { userType ->
userType.element?.text?.let {
appendLine("[type] $it")
}
}
shortening.getQualifiersToShorten().forEach { qualifier ->
shortening.qualifiersToShorten.forEach { qualifier ->
qualifier.element?.text?.let {
appendLine("[qualifier] $it")
}