Revert back and deprecate KtStubElementTypes#FILE
Due to usages in some external tooling #KT-53781
This commit is contained in:
committed by
Space
parent
e35ace5d3a
commit
8804742220
@@ -19,6 +19,13 @@ package org.jetbrains.kotlin.psi.stubs.elements;
|
||||
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 the future.
|
||||
*/
|
||||
@Deprecated
|
||||
KtFileElementType FILE = KtFileElementType.INSTANCE;
|
||||
|
||||
KtClassElementType CLASS = new KtClassElementType("CLASS");
|
||||
KtFunctionElementType FUNCTION = new KtFunctionElementType("FUN");
|
||||
KtPropertyElementType PROPERTY = new KtPropertyElementType("PROPERTY");
|
||||
|
||||
Reference in New Issue
Block a user