diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetImportDirective.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetImportDirective.java index 3644b8e4ecc..64e20eb6f81 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetImportDirective.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetImportDirective.java @@ -120,7 +120,7 @@ public class JetImportDirective extends JetElementImplStub private final boolean isAllUnder; @Nullable private final StringRef aliasName; + private final boolean isValid; public PsiJetImportDirectiveStubImpl( StubElement parent, boolean isAbsoluteInRootPackage, boolean isAllUnder, - @Nullable StringRef aliasName + @Nullable StringRef aliasName, + boolean isValid ) { super(parent, JetStubElementTypes.IMPORT_DIRECTIVE); this.isAbsoluteInRootPackage = isAbsoluteInRootPackage; this.isAllUnder = isAllUnder; this.aliasName = aliasName; + this.isValid = isValid; } @Override @@ -57,4 +60,9 @@ public class PsiJetImportDirectiveStubImpl extends StubBase public String getAliasName() { return StringRef.toString(aliasName); } + + @Override + public boolean isValid() { + return isValid; + } }