mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix StubBuilder javadoc (IDEA-CR-63239)
GitOrigin-RevId: aa430ad98b41fde37b664a97afafd96945832127
This commit is contained in:
committed by
intellij-monorepo-bot
parent
78215bab95
commit
fa4622d55e
@@ -10,11 +10,11 @@ public interface StubBuilder {
|
||||
|
||||
/**
|
||||
* Return true if {@code node} can't contain stubs, false you can't be sure about that.
|
||||
* Implementing this method allows to speed up some PSI operations (e.g. involving stub-AST switch)
|
||||
* Implementing this method allows to speed up indexing and some PSI operations (e.g. involving stub-AST switch)
|
||||
* by reducing the number of the AST nodes the platform walks to find all stubbed ones.<p></p>
|
||||
*
|
||||
* Typical implementations usually check {@code node.getElementType()}. They may also check {@code node}'s text.
|
||||
* If {@node} is {@link com.intellij.psi.tree.ILazyParseableElementType lazy-parseable}, retrieving its children via AST
|
||||
* If {@code node} is {@link com.intellij.psi.tree.ILazyParseableElementType lazy-parseable}, retrieving its children via AST
|
||||
* would be slow and is not recommended, try to use text (maybe with a lexer) instead.
|
||||
*
|
||||
* @param parent the parent of {@code node}
|
||||
|
||||
Reference in New Issue
Block a user