Revert "Drop KtStubElementTypes#FILE"

This reverts commit ae4b0c6fe1.
This commit is contained in:
Vladimir Dolzhenko
2023-05-25 17:58:27 +03:00
committed by Space Team
parent 4ddc94bc8d
commit 984ab0a4b9
@@ -20,6 +20,15 @@ import com.intellij.psi.tree.TokenSet;
import org.jetbrains.kotlin.psi.*;
public interface KtStubElementTypes {
/**
* @deprecated use {@link KtFileElementType#INSTANCE}.
* Field is provided for the sake of binary compatibility with external usages.
*
* It will be deleted in 1.9.0.
*/
@Deprecated
KtFileElementType FILE = KtFileElementType.INSTANCE;
KtClassElementType CLASS = new KtClassElementType("CLASS");
KtFunctionElementType FUNCTION = new KtFunctionElementType("FUN");
KtPropertyElementType PROPERTY = new KtPropertyElementType("PROPERTY");