java.lang.Object
com.intellij.openapi.fileTypes.LanguageFileType
- All Implemented Interfaces:
FileType
Kind of file types capable to provide
Language.-
Field Summary
Fields inherited from interface com.intellij.openapi.fileTypes.FileType
EMPTY_ARRAY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLanguageFileType(@NotNull Language language) Creates a language file type for the specified language. -
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull LanguageReturns the language used in the files of the type.
-
Constructor Details
-
LanguageFileType
Creates a language file type for the specified language.- Parameters:
language- The language used in the files of the type.
-
-
Method Details
-
getLanguage
Returns the language used in the files of the type.- Returns:
- The language instance.
-