Enum Class Delimiter

java.lang.Object
java.lang.Enum<Delimiter>
org.openrewrite.groovy.internal.Delimiter
All Implemented Interfaces:
Serializable, Comparable<Delimiter>, Constable

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

    • SINGLE_QUOTE_STRING

      public static final Delimiter SINGLE_QUOTE_STRING
    • DOUBLE_QUOTE_STRING

      public static final Delimiter DOUBLE_QUOTE_STRING
    • TRIPLE_SINGLE_QUOTE_STRING

      public static final Delimiter TRIPLE_SINGLE_QUOTE_STRING
    • TRIPLE_DOUBLE_QUOTE_STRING

      public static final Delimiter TRIPLE_DOUBLE_QUOTE_STRING
    • SLASHY_STRING

      public static final Delimiter SLASHY_STRING
    • DOLLAR_SLASHY_STRING

      public static final Delimiter DOLLAR_SLASHY_STRING
    • PATTERN_SINGLE_QUOTE_STRING

      public static final Delimiter PATTERN_SINGLE_QUOTE_STRING
    • PATTERN_DOUBLE_QUOTE_STRING

      public static final Delimiter PATTERN_DOUBLE_QUOTE_STRING
    • PATTERN_TRIPLE_SINGLE_QUOTE_STRING

      public static final Delimiter PATTERN_TRIPLE_SINGLE_QUOTE_STRING
    • PATTERN_TRIPLE_DOUBLE_QUOTE_STRING

      public static final Delimiter PATTERN_TRIPLE_DOUBLE_QUOTE_STRING
    • PATTERN_SLASHY_STRING

      public static final Delimiter PATTERN_SLASHY_STRING
    • PATTERN_DOLLAR_SLASHY_STRING

      public static final Delimiter PATTERN_DOLLAR_SLASHY_STRING
    • SINGLE_LINE_COMMENT

      public static final Delimiter SINGLE_LINE_COMMENT
    • MULTILINE_COMMENT

      public static final Delimiter MULTILINE_COMMENT
    • ARRAY

      public static final Delimiter ARRAY
  • Field Details

    • open

      public final String open
    • close

      public final String close
  • Method Details

    • values

      public static Delimiter[] 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 Delimiter 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
    • of

      public static @Nullable Delimiter of(String open)