diff --git a/platform/core-api/src/com/intellij/psi/StubBuilder.java b/platform/core-api/src/com/intellij/psi/StubBuilder.java index 674329683ea7..044287f0b704 100644 --- a/platform/core-api/src/com/intellij/psi/StubBuilder.java +++ b/platform/core-api/src/com/intellij/psi/StubBuilder.java @@ -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.

* * 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}