Recover suppress annotation
This commit is contained in:
@@ -70,4 +70,5 @@ fun JetClassOrObject.effectiveDeclarations(): List<JetDeclaration> =
|
||||
|
||||
fun JetClass.isAbstract() = isTrait() || hasModifier(JetTokens.ABSTRACT_KEYWORD)
|
||||
|
||||
[suppress("UNCHECKED_CAST")]
|
||||
fun <T: PsiElement> PsiElement.replaced(newElement: T): T = replace(newElement)!! as T
|
||||
|
||||
Reference in New Issue
Block a user