Enum Class TypeContext

java.lang.Object
java.lang.Enum<TypeContext>
org.openzen.zenscript.validator.TypeContext
All Implemented Interfaces:
Serializable, Comparable<TypeContext>, Constable

public enum TypeContext extends Enum<TypeContext>
  • Enum Constant Details

    • PARAMETER_TYPE

      public static final TypeContext PARAMETER_TYPE
    • RETURN_TYPE

      public static final TypeContext RETURN_TYPE
    • FIELD_TYPE

      public static final TypeContext FIELD_TYPE
    • GETTER_TYPE

      public static final TypeContext GETTER_TYPE
    • SETTER_TYPE

      public static final TypeContext SETTER_TYPE
    • CASTER_TYPE

      public static final TypeContext CASTER_TYPE
    • ITERATOR_TYPE

      public static final TypeContext ITERATOR_TYPE
    • EXPANSION_TARGET_TYPE

      public static final TypeContext EXPANSION_TARGET_TYPE
    • OPTION_MEMBER_TYPE

      public static final TypeContext OPTION_MEMBER_TYPE
    • CAST_TARGET_TYPE

      public static final TypeContext CAST_TARGET_TYPE
    • TYPE_CHECK_TYPE

      public static final TypeContext TYPE_CHECK_TYPE
    • CONSTRUCTOR_TYPE

      public static final TypeContext CONSTRUCTOR_TYPE
  • Field Details

    • display

      public final String display
  • Method Details

    • values

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

      public static TypeContext 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null