Index package FqNames for files
This commit is contained in:
+1
-1
@@ -82,6 +82,6 @@ public class JetFileElementType extends IStubFileElementType<PsiJetFileStub> {
|
||||
|
||||
@Override
|
||||
public void indexStub(final PsiJetFileStub stub, final IndexSink sink) {
|
||||
// Don't index file
|
||||
StubIndexServiceFactory.getInstance().indexFile(stub, sink);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,10 @@ public interface StubIndexService {
|
||||
* Default implementation with no indexing.
|
||||
*/
|
||||
StubIndexService NO_INDEX_SERVICE = new StubIndexService() {
|
||||
@Override
|
||||
public void indexFile(PsiJetFileStub stub, IndexSink sink) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void indexClass(PsiJetClassStub stub, IndexSink sink) {
|
||||
}
|
||||
@@ -46,6 +50,7 @@ public interface StubIndexService {
|
||||
}
|
||||
};
|
||||
|
||||
void indexFile(PsiJetFileStub stub, IndexSink sink);
|
||||
void indexClass(PsiJetClassStub stub, IndexSink sink);
|
||||
void indexFunction(PsiJetFunctionStub stub, IndexSink sink);
|
||||
void indexObject(PsiJetObjectStub stub, IndexSink sink);
|
||||
|
||||
Reference in New Issue
Block a user