Minor: deprecated canBeOverriden -> canBeOverridden

This commit is contained in:
Nikolay Krasko
2018-06-21 16:33:36 +03:00
parent 6d29e44d1a
commit 341e7746a2
4 changed files with 40 additions and 3 deletions
@@ -0,0 +1,18 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.core.util.compat.psi
import com.intellij.psi.PsiMethod
import com.intellij.psi.util.PsiUtil
/**
* Method is absent in 172.
* BUNCH: 173
*/
@Suppress("IncompatibleAPI")
fun canBeOverridden(method: PsiMethod): Boolean {
return PsiUtil.canBeOverridden(method)
}
@@ -0,0 +1,18 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.core.util.compat.psi
import com.intellij.psi.PsiMethod
import com.intellij.psi.util.PsiUtil
/**
* Method is absent in 172.
* BUNCH: 173
*/
@Suppress("IncompatibleAPI")
fun canBeOverridden(method: PsiMethod): Boolean {
return PsiUtil.canBeOverriden(method)
}