Enum TypeNameClassifier.TyParseState

java.lang.Object
java.lang.Enum<TypeNameClassifier.TyParseState>
com.google.googlejavaformat.java.TypeNameClassifier.TyParseState
All Implemented Interfaces:
Serializable, Comparable<TypeNameClassifier.TyParseState>, java.lang.constant.Constable
Enclosing class:
TypeNameClassifier

private static enum TypeNameClassifier.TyParseState extends Enum<TypeNameClassifier.TyParseState>
A state machine for classifying qualified names.
  • Enum Constant Details

  • Field Details

    • isSingleUnit

      private final boolean isSingleUnit
  • Constructor Details

    • TyParseState

      private TyParseState(boolean isSingleUnit)
  • Method Details

    • values

      public static TypeNameClassifier.TyParseState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TypeNameClassifier.TyParseState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isSingleUnit

      public boolean isSingleUnit()
    • next

      Transition function.