mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
IDEA-359853 deprecate BasicJavaLexer
GitOrigin-RevId: a99c6627196d7a53fbfc6decc020a56e8cd2c806
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d6bc6fed59
commit
977ef7385c
@@ -14,6 +14,11 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @deprecated Use the new Java syntax library instead.
|
||||
* See {@link com.intellij.java.syntax.parser.JavaParser}
|
||||
*/
|
||||
@Deprecated
|
||||
public class BasicJavaLexer extends LexerBase {
|
||||
|
||||
private static final int STATE_DEFAULT = 0;
|
||||
|
||||
@@ -10,6 +10,11 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @deprecated Use the new Java syntax library instead.
|
||||
* See {@link com.intellij.java.syntax.parser.JavaParser}
|
||||
*/
|
||||
@Deprecated
|
||||
public class JavaDocLexer extends MergingLexerAdapter {
|
||||
public JavaDocLexer(@NotNull LanguageLevel level) {
|
||||
this(JavaDocTokenTypes.INSTANCE, level.isAtLeast(LanguageLevel.JDK_1_5));
|
||||
|
||||
@@ -13,7 +13,11 @@ import com.intellij.psi.tree.IElementType;
|
||||
* In reference links, array types are escaped: "char\[\]" which the JavaLexer doesn't like
|
||||
* <p>
|
||||
* It does this by <em>covering up</em> a <i>BAD_CHARACTER</i> token if followed by <i>[</i> or <i>]</i>
|
||||
*
|
||||
* @deprecated Use the new Java syntax library instead.
|
||||
* See {@link com.intellij.java.syntax.parser.JavaParser}
|
||||
*/
|
||||
@Deprecated
|
||||
public class JavaTypeEscapeLexer extends MergingLexerAdapterBase {
|
||||
private final MergeFunction myMergeFunction = new EscapeMarkdownFunction();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user