public static class ScratchFileServiceImpl.Substitutor extends LanguageSubstitutor
Constructor and Description |
---|
Substitutor() |
Modifier and Type | Method and Description |
---|---|
Language |
getLanguage(VirtualFile file,
Project project) |
static Language |
substituteLanguage(Project project,
VirtualFile file) |
public Language getLanguage(VirtualFile file, Project project)
getLanguage
in class LanguageSubstitutor
public static Language substituteLanguage(Project project, VirtualFile file)