Exemplo n.º 1
0
  private static boolean canHaveStub(PsiFile file) {
    if (!(file instanceof PsiFileImpl)) return false;

    VirtualFile vFile = file.getVirtualFile();

    IStubFileElementType elementType = ((PsiFileImpl) file).getElementTypeForStubBuilder();
    return elementType != null && vFile != null && elementType.shouldBuildStubFor(vFile);
  }
 @Override
 public void indexStub(@NotNull PsiFileStub stub, @NotNull IndexSink sink) {
   super.indexStub(stub, sink);
 }
Exemplo n.º 3
0
 @Override
 public void indexStub(PsiFileStub stub, IndexSink sink) {
   super.indexStub(stub, sink);
 }