Enum Class Link.Kind

java.lang.Object
java.lang.Enum<Link.Kind>
org.tudalgo.algoutils.tutor.general.reflections.Link.Kind
All Implemented Interfaces:
Serializable, Comparable<Link.Kind>, Constable
Enclosing interface:
Link

public static enum Link.Kind extends Enum<Link.Kind>

An enumeration of kinds of links.

  • Enum Constant Details

    • PACKAGE

      public static final Link.Kind PACKAGE
    • CLASS

      public static final Link.Kind CLASS
    • INTERFACE

      public static final Link.Kind INTERFACE
    • ENUM

      public static final Link.Kind ENUM
    • RECORD

      public static final Link.Kind RECORD
    • FIELD

      public static final Link.Kind FIELD
    • CONSTRUCTOR

      public static final Link.Kind CONSTRUCTOR
    • METHOD

      public static final Link.Kind METHOD
    • PRIMITIVE

      public static final Link.Kind PRIMITIVE
    • ARRAY

      public static final Link.Kind ARRAY
    • ANNOTATION

      public static final Link.Kind ANNOTATION
  • Method Details

    • values

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