Class TestMeFileTemplate

  • All Implemented Interfaces:
    com.intellij.ide.fileTemplates.FileTemplate, java.lang.Cloneable

    public class TestMeFileTemplate
    extends com.intellij.ide.fileTemplates.impl.FileTemplateBase
    Since:
    : 6/22/20
    Author:
    : Yaron Yamin
    • Field Summary

      • Fields inherited from interface com.intellij.ide.fileTemplates.FileTemplate

        ATTRIBUTE_CALL_SUPER, ATTRIBUTE_CLASS_NAME, ATTRIBUTE_DEFAULT_RETURN_VALUE, ATTRIBUTE_DESCRIPTION, ATTRIBUTE_DIR_PATH, ATTRIBUTE_DISPLAY_NAME, ATTRIBUTE_EXCEPTION, ATTRIBUTE_EXCEPTION_TYPE, ATTRIBUTE_EXPRESSION, ATTRIBUTE_EXPRESSION_TYPE, ATTRIBUTE_FILE_NAME, ATTRIBUTE_METHOD_NAME, ATTRIBUTE_NAME, ATTRIBUTE_PACKAGE_NAME, ATTRIBUTE_PLAIN_CALL_SUPER, ATTRIBUTE_RETURN_TYPE, ATTRIBUTE_SIMPLE_CLASS_NAME, EMPTY_ARRAY, ourEncoding
    • Constructor Summary

      Constructors 
      Constructor Description
      TestMeFileTemplate​(java.lang.String name, java.lang.String extension, boolean isDefault)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getDescription()  
      java.lang.String getDisplayName()  
      @NotNull java.lang.String getExtension()  
      @NotNull java.lang.String getName()  
      boolean isDefault()  
      void setDescription​(java.lang.String description)  
      void setDisplayName​(java.lang.String displayName)  
      void setExtension​(@NotNull java.lang.String extension)  
      void setName​(@NotNull java.lang.String name)  
      java.lang.String toString()  
      • Methods inherited from class com.intellij.ide.fileTemplates.impl.FileTemplateBase

        addChild, clone, getChildName, getChildren, getDefaultText, getFileName, getQualifiedName, getQualifiedName, getText, getText, getText, getUnsetAttributes, isChild, isLiveTemplateEnabled, isLiveTemplateEnabledByDefault, isLiveTemplateEnabledChanged, isReformatCode, isTemplateOfType, setChildren, setFileName, setLiveTemplateEnabled, setReformatCode, setText, updateChildrenNames
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestMeFileTemplate

        public TestMeFileTemplate​(java.lang.String name,
                                  java.lang.String extension,
                                  boolean isDefault)
    • Method Detail

      • getName

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

        public void setName​(@NotNull
                            @NotNull java.lang.String name)
      • isDefault

        public boolean isDefault()
      • getDescription

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

        @NotNull
        public @NotNull java.lang.String getExtension()
      • setExtension

        public void setExtension​(@NotNull
                                 @NotNull java.lang.String extension)
      • setDescription

        public void setDescription​(java.lang.String description)
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
      • getDisplayName

        public java.lang.String getDisplayName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object