Class 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, java.lang.String extension)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      @NotNull java.lang.String getDefaultExtension()  
      @NotNull java.lang.String getDescription()  
      javax.swing.Icon getIcon()  
      @NotNull java.lang.String getName()  
      • Methods inherited from class com.intellij.openapi.fileTypes.LanguageFileType

        extractCharsetFromFileContent, extractCharsetFromFileContent, 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
      • Methods inherited from interface com.intellij.openapi.options.Scheme

        getDisplayName
    • Constructor Detail

      • MockLanguageFileType

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

      • getName

        @NotNull
        public @NotNull java.lang.String getName()
      • getDescription

        @NotNull
        public @NotNull java.lang.String getDescription()
      • getDefaultExtension

        @NotNull
        public @NotNull java.lang.String getDefaultExtension()
      • getIcon

        public javax.swing.Icon getIcon()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object