Interface CBTypeExpressionType
- All Superinterfaces:
Formattable
- All Known Subinterfaces:
CBTypeExpressionType.CBTypeExprApplicationType, CBTypeExpressionType.CBTypeExprNamedType, CBTypeExpressionType.CBTypeExprParameterType
- All Known Implementing Classes:
CBTypeExpressionApplication, CBTypeExpressionNamed, CBTypeExpressionParameter
public sealed interface CBTypeExpressionType
extends Formattable
permits CBTypeExpressionType.CBTypeExprParameterType, CBTypeExpressionType.CBTypeExprNamedType, CBTypeExpressionType.CBTypeExprApplicationType
The type of type expressions.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA type application.static interfaceA named type.static interfaceA type parameter expression. -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(CBTypeParameterType parameter) Determine if the given type parameter occurs in the type expression.Methods inherited from interface Formattable
formatTo
-
Method Details
-
contains
Determine if the given type parameter occurs in the type expression.- Parameters:
parameter- The type parameter- Returns:
trueifparameteroccurs in this expression
-