Switch to 182 platform

This commit is contained in:
Vyacheslav Gerasimov
2018-08-02 18:17:06 +03:00
parent a8b9393e79
commit 0103c0d2fd
417 changed files with 793 additions and 794 deletions
@@ -166,7 +166,7 @@ abstract class KtCodeFragment(
override fun getExceptionHandler() = exceptionHandler
override fun importClass(aClass: PsiClass?): Boolean {
override fun importClass(aClass: PsiClass): Boolean {
return true
}
@@ -166,7 +166,7 @@ abstract class KtCodeFragment(
override fun getExceptionHandler() = exceptionHandler
override fun importClass(aClass: PsiClass): Boolean {
override fun importClass(aClass: PsiClass?): Boolean {
return true
}
@@ -75,6 +75,8 @@ abstract class KtConstructor<T : KtConstructor<T>> : KtDeclarationStub<KotlinPla
override fun getNameIdentifier() = null
override fun getIdentifyingElement(): PsiElement? = getConstructorKeyword()
@Throws(IncorrectOperationException::class)
override fun setName(name: String): PsiElement = throw IncorrectOperationException("setName to constructor")
@@ -75,8 +75,6 @@ abstract class KtConstructor<T : KtConstructor<T>> : KtDeclarationStub<KotlinPla
override fun getNameIdentifier() = null
override fun getIdentifyingElement(): PsiElement? = getConstructorKeyword()
@Throws(IncorrectOperationException::class)
override fun setName(name: String): PsiElement = throw IncorrectOperationException("setName to constructor")
@@ -67,5 +67,7 @@ class KtObjectDeclaration : KtClassOrObject {
fun getObjectKeyword(): PsiElement? = findChildByType(KtTokens.OBJECT_KEYWORD)
override fun getIdentifyingElement(): PsiElement? = getObjectKeyword()
override fun getCompanionObjects(): List<KtObjectDeclaration> = emptyList()
}
@@ -67,7 +67,5 @@ class KtObjectDeclaration : KtClassOrObject {
fun getObjectKeyword(): PsiElement? = findChildByType(KtTokens.OBJECT_KEYWORD)
override fun getIdentifyingElement(): PsiElement? = getObjectKeyword()
override fun getCompanionObjects(): List<KtObjectDeclaration> = emptyList()
}