Enum Class FoldingRangeKind

java.lang.Object
java.lang.Enum<FoldingRangeKind>
org.graalvm.tools.lsp.server.types.FoldingRangeKind
All Implemented Interfaces:
Serializable, Comparable<FoldingRangeKind>, Constable

public enum FoldingRangeKind extends Enum<FoldingRangeKind>
Enum of known range kinds.
  • Enum Constant Details

    • Comment

      public static final FoldingRangeKind Comment
      Folding range for a comment.
    • Imports

      public static final FoldingRangeKind Imports
      Folding range for a imports or includes.
    • Region

      public static final FoldingRangeKind Region
      Folding range for a region (e.g. `#region`)
  • Method Details

    • values

      public static FoldingRangeKind[] 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 FoldingRangeKind 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
    • getStringValue

      public String getStringValue()
    • get

      public static FoldingRangeKind get(String stringValue)