Enum Class SlotType

java.lang.Object
java.lang.Enum<SlotType>
com.github.hetianyi.plugins.generator.common.SlotType
所有已实现的接口:
Serializable, Comparable<SlotType>, java.lang.constant.Constable

public enum SlotType extends Enum<SlotType>
代码插槽类型
作者:
Jason He
  • 枚举常量详细资料

    • CODE

      public static final SlotType CODE
    • PACKAGE_START

      public static final SlotType PACKAGE_START
    • PACKAGE_END

      public static final SlotType PACKAGE_END
    • IMPORT_START

      public static final SlotType IMPORT_START
    • IMPORT_END

      public static final SlotType IMPORT_END
    • COMMENT_CONTENT_START

      public static final SlotType COMMENT_CONTENT_START
    • COMMENT_CONTENT_END

      public static final SlotType COMMENT_CONTENT_END
    • AUTHOR

      public static final SlotType AUTHOR
    • CLASS_START

      public static final SlotType CLASS_START
    • CLASS_END

      public static final SlotType CLASS_END
    • CLASS_NAME_START

      public static final SlotType CLASS_NAME_START
    • CLASS_NAME_END

      public static final SlotType CLASS_NAME_END
    • EXTENDS_START

      public static final SlotType EXTENDS_START
    • EXTENDS_END

      public static final SlotType EXTENDS_END
    • IMPLEMENTS_START

      public static final SlotType IMPLEMENTS_START
    • IMPLEMENTS_END

      public static final SlotType IMPLEMENTS_END
    • CLASS_FIRST_LINE

      public static final SlotType CLASS_FIRST_LINE
    • CLASS_LAST_LINE

      public static final SlotType CLASS_LAST_LINE
    • FIELD_START

      public static final SlotType FIELD_START
    • FIELD_NAME_START

      public static final SlotType FIELD_NAME_START
    • FIELD_NAME_END

      public static final SlotType FIELD_NAME_END
    • FIELD_HEAD

      public static final SlotType FIELD_HEAD
    • FIELD_TAIL

      public static final SlotType FIELD_TAIL
    • FIELD_END

      public static final SlotType FIELD_END
    • ALL_FIELD_END

      public static final SlotType ALL_FIELD_END
  • 方法详细资料

    • values

      public static SlotType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SlotType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值