mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 16:25:33 +07:00
Fix "non-core" -> "non-platform" leftovers GitOrigin-RevId: 2dbf7d5074b6071f725ecdbed00e931fdf9cdd83
13 lines
529 B
Java
13 lines
529 B
Java
import com.intellij.lang.ParserDefinition;
|
|
import com.intellij.psi.tree.TokenSet;
|
|
import com.example.MyLangTokenTypes;
|
|
|
|
public class ParserDefinitionWithIllegalTokenSetWhenComplexCreation implements ParserDefinition {
|
|
public static final TokenSet <warning descr="TokenSet in ParserDefinition references non-platform classes">COMMENTS</warning> = TokenSet.orSet(TokenSet.create(MyLangTokenTypes.COMMENT), TokenSet.create(MyLangTokenTypes.COMMENT));
|
|
|
|
@Override
|
|
public TokenSet getCommentTokens() {
|
|
return COMMENTS;
|
|
}
|
|
}
|