Class LightPsi.MockLanguageFileType

java.lang.Object
com.intellij.openapi.fileTypes.LanguageFileType
org.intellij.grammar.LightPsi.MockLanguageFileType
All Implemented Interfaces:
com.intellij.openapi.fileTypes.FileType, com.intellij.openapi.options.Scheme
Enclosing class:
LightPsi

public static class LightPsi.MockLanguageFileType extends com.intellij.openapi.fileTypes.LanguageFileType
  • Field Summary

    Fields inherited from interface com.intellij.openapi.fileTypes.FileType

    EMPTY_ARRAY

    Fields inherited from interface com.intellij.openapi.options.Scheme

    EDITABLE_COPY_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    MockLanguageFileType(@NotNull com.intellij.lang.Language language, String extension)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    @NotNull String
     
    @NotNull String
     
     
    @NotNull String
     

    Methods inherited from class com.intellij.openapi.fileTypes.LanguageFileType

    extractCharsetFromFileContent, extractCharsetFromFileContent, getDisplayName, getLanguage, isBinary, isJVMDebuggingSupported, isSecondary

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.intellij.openapi.fileTypes.FileType

    getCharset, isReadOnly
  • Constructor Details

    • MockLanguageFileType

      public MockLanguageFileType(@NotNull @NotNull com.intellij.lang.Language language, String extension)
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
    • getDescription

      @NotNull public @NotNull String getDescription()
    • getDefaultExtension

      @NotNull public @NotNull String getDefaultExtension()
    • getIcon

      public Icon getIcon()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object