diff --git a/compiler/frontend/src/org/jetbrains/kotlin/psi/JetImportDirective.java b/compiler/frontend/src/org/jetbrains/kotlin/psi/JetImportDirective.java index 5340cb52c05..7d102e9b6c8 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/psi/JetImportDirective.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/psi/JetImportDirective.java @@ -97,10 +97,20 @@ public class JetImportDirective extends JetElementImplStub { public interface KotlinImportDirectiveStub : StubElement { public fun isAbsoluteInRootPackage(): Boolean public fun isAllUnder(): Boolean + public fun getImportedFqName(): FqName public fun getAliasName(): String? public fun isValid(): Boolean } diff --git a/compiler/frontend/src/org/jetbrains/kotlin/psi/stubs/elements/JetFileElementType.java b/compiler/frontend/src/org/jetbrains/kotlin/psi/stubs/elements/JetFileElementType.java index 0722bc11f1f..e17ca1a388f 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/psi/stubs/elements/JetFileElementType.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/psi/stubs/elements/JetFileElementType.java @@ -36,7 +36,7 @@ import org.jetbrains.kotlin.psi.stubs.impl.KotlinFileStubImpl; import java.io.IOException; public class JetFileElementType extends IStubFileElementType { - public static final int STUB_VERSION = 50; + public static final int STUB_VERSION = 51; private static final String NAME = "kotlin.FILE"; diff --git a/compiler/frontend/src/org/jetbrains/kotlin/psi/stubs/elements/JetImportDirectiveElementType.java b/compiler/frontend/src/org/jetbrains/kotlin/psi/stubs/elements/JetImportDirectiveElementType.java index 372fce2fe15..b43306cd146 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/psi/stubs/elements/JetImportDirectiveElementType.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/psi/stubs/elements/JetImportDirectiveElementType.java @@ -35,15 +35,17 @@ public class JetImportDirectiveElementType extends JetStubElementType, private val isAbsoluteInRootPackage: Boolean, private val isAllUnder: Boolean, + private val importedFqName: StringRef, private val aliasName: StringRef?, private val isValid: Boolean) : KotlinStubBaseImpl(parent, JetStubElementTypes.IMPORT_DIRECTIVE), KotlinImportDirectiveStub { override fun isAbsoluteInRootPackage(): Boolean = isAbsoluteInRootPackage override fun isAllUnder(): Boolean = isAllUnder + override fun getImportedFqName(): FqName = FqName(StringRef.toString(importedFqName)!!) override fun getAliasName(): String? = StringRef.toString(aliasName) override fun isValid(): Boolean = isValid }