Get rid of deprecated annotations and modifiers in project code
This commit is contained in:
+3
-3
@@ -308,7 +308,7 @@ public open class KotlinLightClassForExplicitDeclaration(
|
||||
|
||||
private fun isAbstract(): Boolean = classOrObject.hasModifier(ABSTRACT_KEYWORD) || isInterface
|
||||
|
||||
override fun hasModifierProperty(NonNls name: String): Boolean = getModifierList().hasModifierProperty(name)
|
||||
override fun hasModifierProperty(@NonNls name: String): Boolean = getModifierList().hasModifierProperty(name)
|
||||
|
||||
override fun isDeprecated(): Boolean {
|
||||
val jetModifierList = classOrObject.modifierList ?: return false
|
||||
@@ -357,8 +357,8 @@ public open class KotlinLightClassForExplicitDeclaration(
|
||||
return qualifiedName != null && thisDescriptor != null && checkSuperTypeByFQName(thisDescriptor, qualifiedName, checkDeep)
|
||||
}
|
||||
|
||||
throws(IncorrectOperationException::class)
|
||||
override fun setName(NonNls name: String): PsiElement {
|
||||
@Throws(IncorrectOperationException::class)
|
||||
override fun setName(@NonNls name: String): PsiElement {
|
||||
getOrigin().setName(name)
|
||||
return this
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ public class KotlinLightClassForFacade private constructor(
|
||||
|
||||
override fun getModifierList() = modifierList
|
||||
|
||||
override fun hasModifierProperty(NonNls name: String) = modifierList.hasModifierProperty(name)
|
||||
override fun hasModifierProperty(@NonNls name: String) = modifierList.hasModifierProperty(name)
|
||||
|
||||
override fun isDeprecated() = false
|
||||
|
||||
@@ -176,7 +176,7 @@ public class KotlinLightClassForFacade private constructor(
|
||||
|
||||
override fun getInitializers() = PsiClassInitializer.EMPTY_ARRAY
|
||||
|
||||
override fun findInnerClassByName(NonNls name: String, checkBases: Boolean) = null
|
||||
override fun findInnerClassByName(@NonNls name: String, checkBases: Boolean) = null
|
||||
|
||||
override fun getName() = facadeClassFqName.shortName().asString()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user