Build kotlin stubs for compiled Kotlin files

This means that JetPsi would be built for compiled kotlin files
This commit is contained in:
Pavel V. Talanov
2014-10-31 20:24:54 +03:00
parent e9fa9bac47
commit afc6ba5e16
9 changed files with 1021 additions and 41 deletions
@@ -106,7 +106,7 @@ public class JetClassElementType extends JetStubElementType<KotlinClassStub, Jet
StubIndexServiceFactory.getInstance().indexClass(stub, sink);
}
private static JetClassElementType getStubType(boolean isEnumEntry) {
public static JetClassElementType getStubType(boolean isEnumEntry) {
return isEnumEntry ? JetStubElementTypes.ENUM_ENTRY : JetStubElementTypes.CLASS;
}
}