Enum Class TypeSignatureType

java.lang.Object
java.lang.Enum<TypeSignatureType>
com.linecorp.armeria.server.docs.TypeSignatureType
All Implemented Interfaces:
Serializable, Comparable<TypeSignatureType>, Constable

@UnstableApi public enum TypeSignatureType extends Enum<TypeSignatureType>
Represents the different type that is used for DocService.
  • Enum Constant Details

  • Method Details

    • values

      public static TypeSignatureType[] 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 TypeSignatureType 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
    • hasParameter

      public boolean hasParameter()
      Returns true if the type has type parameter TypeSignature.
    • hasTypeDescriptor

      public boolean hasTypeDescriptor()
      Returns true if this TypeSignatureType has type a type descriptor.