diff --git a/compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java b/compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java index 15d58b1bd26..ddccced03b6 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/lexer/KtTokens.java @@ -224,7 +224,7 @@ public interface KtTokens { TokenSet WHITESPACES = TokenSet.create(TokenType.WHITE_SPACE); /** - * Don't add KDocTokens to COMMENTS TokenSet, because it is used in JetParserDefinition.getCommentTokens(), + * Don't add KDocTokens to COMMENTS TokenSet, because it is used in KotlinParserDefinition.getCommentTokens(), * and therefor all COMMENTS tokens will be ignored by PsiBuilder. * * @see KtPsiUtil#isInComment(com.intellij.psi.PsiElement) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java b/compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java index cf4f19cde2d..cec631b5c95 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/psi/KtPsiUtil.java @@ -603,7 +603,7 @@ public class KtPsiUtil { /** * CommentUtilCore.isComment fails if element inside comment. * - * Also, we can not add KDocTokens to COMMENTS TokenSet, because it is used in JetParserDefinition.getCommentTokens(), + * Also, we can not add KDocTokens to COMMENTS TokenSet, because it is used in KotlinParserDefinition.getCommentTokens(), * and therefor all COMMENTS tokens will be ignored by PsiBuilder. * * @param element