Class EnumType


  • public class EnumType
    extends java.lang.Object
    Represents an enum type, containing enum constants.
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumType()  
    • Constructor Detail

      • EnumType

        public EnumType()
    • Method Detail

      • getEnumConstants

        public java.util.List<EnumConstant> getEnumConstants()
        Returns all constants for this enum.
        Returns:
        the enum constants
      • addEnumConstants

        public void addEnumConstants​(EnumConstant... constants)
        Adds the specified enum constants to this enum.
        Parameters:
        constants - the enum constants to add