Reworked deprecated fileTypeFactory EP usage

Relates to #KT-38571
This commit is contained in:
Vladimir Dolzhenko
2020-04-24 21:20:48 +02:00
committed by Vladimir Dolzhenko
parent 639cc69920
commit f4b6e1bff6
16 changed files with 134 additions and 7 deletions
@@ -30,7 +30,7 @@ import java.util.Set;
import static org.jetbrains.kotlin.library.KotlinLibraryUtilsKt.KLIB_FILE_EXTENSION;
// BUNCH: 192
public class KotlinFileTypeFactory extends FileTypeFactory {
public final static String[] KOTLIN_EXTENSIONS = new String[] { "kt", "kts" };
private final static FileType[] KOTLIN_FILE_TYPES = new FileType[] { KotlinFileType.INSTANCE };