From fa4622d55e657c35ece600d34bae4b974d03908e Mon Sep 17 00:00:00 2001 From: Peter Gromov Date: Tue, 2 Jun 2020 19:35:44 +0200 Subject: [PATCH] fix StubBuilder javadoc (IDEA-CR-63239) GitOrigin-RevId: aa430ad98b41fde37b664a97afafd96945832127 --- platform/core-api/src/com/intellij/psi/StubBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}