[Analysis API, FIR] migrate ::class.java -> ::class inside error messages

They seem to provide similar results and the `.java` part is redundant
This commit is contained in:
Ilya Kirillov
2023-07-17 12:08:12 +02:00
committed by Space Team
parent 24db4e62f5
commit 08400d930f
10 changed files with 11 additions and 11 deletions
@@ -34,6 +34,6 @@ fun FirElementWithResolveState.getContainingFile(): FirFile? {
moduleComponents.cache.getCachedFirFile(ktFile)
?: error("Fir file for dandling modifier list cannot be null")
}
else -> errorWithFirSpecificEntries("Unsupported declaration ${this::class.java}", fir = this)
else -> errorWithFirSpecificEntries("Unsupported declaration ${this::class}", fir = this)
}
}