mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
proper element type to check if stub tree can be built
This commit is contained in:
@@ -666,7 +666,7 @@ public abstract class PsiFileImpl extends ElementBase implements PsiFileEx, PsiF
|
||||
if (derefd != null) return derefd;
|
||||
if (getTreeElement() != null) return null;
|
||||
|
||||
if (!(getContentElementType() instanceof IStubFileElementType)) return null;
|
||||
if (getElementTypeForStubBuilder() == null) return null;
|
||||
|
||||
final VirtualFile vFile = getVirtualFile();
|
||||
if (!(vFile instanceof VirtualFileWithId)) return null;
|
||||
|
||||
Reference in New Issue
Block a user