[ULC] avoid resolve from KtUltraLightClassModifierList.hasModifierProperty in most cases

^KT-55445 Fixed
This commit is contained in:
Dmitrii Gridin
2022-12-13 16:03:50 +01:00
committed by Space Team
parent 92a6c29941
commit 34e4645385
4 changed files with 39 additions and 52 deletions
@@ -104,7 +104,6 @@ abstract class KtLightClassForSourceDeclaration(
override fun getName(): String? = classOrObject.nameAsName?.asString()
abstract override fun getModifierList(): PsiModifierList?
protected abstract fun computeModifiers(): Set<String>
override fun hasModifierProperty(@NonNls name: String): Boolean = modifierList?.hasModifierProperty(name) ?: false
abstract override fun isDeprecated(): Boolean