mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
allow overriding stub-AST bindings calculation
This commit is contained in:
@@ -257,7 +257,7 @@ public abstract class PsiFileImpl extends ElementBase implements PsiFileEx, PsiF
|
||||
}
|
||||
}
|
||||
|
||||
private List<Pair<StubBasedPsiElementBase, CompositeElement>> calcStubAstBindings(final ASTNode root, final Document cachedDocument) {
|
||||
protected List<Pair<StubBasedPsiElementBase, CompositeElement>> calcStubAstBindings(final ASTNode root, final Document cachedDocument) {
|
||||
final StubTree stubTree = derefStub();
|
||||
if (stubTree == null) {
|
||||
return Collections.emptyList();
|
||||
|
||||
Reference in New Issue
Block a user