Interface CBTypeExpressionType.CBTypeExprNamedType

All Superinterfaces:
CBTypeExpressionType, Formattable
All Known Implementing Classes:
CBTypeExpressionNamed
Enclosing interface:
CBTypeExpressionType

public static non-sealed interface CBTypeExpressionType.CBTypeExprNamedType extends CBTypeExpressionType
A named type.
  • Method Details

    • declaration

      CBTypeDeclarationType declaration()
      Returns:
      The target type declaration
    • contains

      default boolean contains(CBTypeParameterType parameter)
      Description copied from interface: CBTypeExpressionType
      Determine if the given type parameter occurs in the type expression.
      Specified by:
      contains in interface CBTypeExpressionType
      Parameters:
      parameter - The type parameter
      Returns:
      true if parameter occurs in this expression
    • formatTo

      default void formatTo(Formatter formatter, int flags, int width, int precision)
      Specified by:
      formatTo in interface Formattable