Enum Class UsageV2.Kind

java.lang.Object
java.lang.Enum<UsageV2.Kind>
org.sonar.python.semantic.v2.UsageV2.Kind
All Implemented Interfaces:
Serializable, Comparable<UsageV2.Kind>, Constable
Enclosing class:
UsageV2

public static enum UsageV2.Kind extends Enum<UsageV2.Kind>
  • Enum Constant Details

    • ASSIGNMENT_LHS

      public static final UsageV2.Kind ASSIGNMENT_LHS
    • COMPOUND_ASSIGNMENT_LHS

      public static final UsageV2.Kind COMPOUND_ASSIGNMENT_LHS
    • IMPORT

      public static final UsageV2.Kind IMPORT
    • LOOP_DECLARATION

      public static final UsageV2.Kind LOOP_DECLARATION
    • COMP_DECLARATION

      public static final UsageV2.Kind COMP_DECLARATION
    • OTHER

      public static final UsageV2.Kind OTHER
    • PARAMETER

      public static final UsageV2.Kind PARAMETER
    • FUNC_DECLARATION

      public static final UsageV2.Kind FUNC_DECLARATION
    • CLASS_DECLARATION

      public static final UsageV2.Kind CLASS_DECLARATION
    • EXCEPTION_INSTANCE

      public static final UsageV2.Kind EXCEPTION_INSTANCE
    • WITH_INSTANCE

      public static final UsageV2.Kind WITH_INSTANCE
    • GLOBAL_DECLARATION

      public static final UsageV2.Kind GLOBAL_DECLARATION
    • NONLOCAL_DECLARATION

      public static final UsageV2.Kind NONLOCAL_DECLARATION
    • PATTERN_DECLARATION

      public static final UsageV2.Kind PATTERN_DECLARATION
    • TYPE_PARAM_DECLARATION

      public static final UsageV2.Kind TYPE_PARAM_DECLARATION
    • TYPE_ALIAS_DECLARATION

      public static final UsageV2.Kind TYPE_ALIAS_DECLARATION
  • Method Details

    • values

      public static UsageV2.Kind[] 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 UsageV2.Kind 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