Enum Class Usage.Kind

java.lang.Object
java.lang.Enum<Usage.Kind>
org.sonar.plugins.python.api.symbols.Usage.Kind
All Implemented Interfaces:
Serializable, Comparable<Usage.Kind>, Constable
Enclosing interface:
Usage

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

    • ASSIGNMENT_LHS

      public static final Usage.Kind ASSIGNMENT_LHS
    • COMPOUND_ASSIGNMENT_LHS

      public static final Usage.Kind COMPOUND_ASSIGNMENT_LHS
    • IMPORT

      public static final Usage.Kind IMPORT
    • LOOP_DECLARATION

      public static final Usage.Kind LOOP_DECLARATION
    • COMP_DECLARATION

      public static final Usage.Kind COMP_DECLARATION
    • OTHER

      public static final Usage.Kind OTHER
    • PARAMETER

      public static final Usage.Kind PARAMETER
    • FUNC_DECLARATION

      public static final Usage.Kind FUNC_DECLARATION
    • CLASS_DECLARATION

      public static final Usage.Kind CLASS_DECLARATION
    • EXCEPTION_INSTANCE

      public static final Usage.Kind EXCEPTION_INSTANCE
    • WITH_INSTANCE

      public static final Usage.Kind WITH_INSTANCE
    • GLOBAL_DECLARATION

      public static final Usage.Kind GLOBAL_DECLARATION
    • PATTERN_DECLARATION

      public static final Usage.Kind PATTERN_DECLARATION
    • TYPE_PARAM_DECLARATION

      public static final Usage.Kind TYPE_PARAM_DECLARATION
    • TYPE_ALIAS_DECLARATION

      public static final Usage.Kind TYPE_ALIAS_DECLARATION
  • Method Details

    • values

      public static Usage.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 Usage.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