org.jetbrains.jet.lang.types
Interface TypeConstructor
- All Superinterfaces:
- Annotated
- All Known Implementing Classes:
- DoubleValueTypeConstructor, IntegerValueTypeConstructor, IntersectionTypeConstructor, NumberValueTypeConstructor, TypeConstructorImpl
public interface TypeConstructor
- extends Annotated
getParameters
@NotNull
@ReadOnly
java.util.List<TypeParameterDescriptor> getParameters()
getSupertypes
@NotNull
@ReadOnly
java.util.Collection<JetType> getSupertypes()
isFinal
boolean isFinal()
- Cannot have subtypes.
isDenotable
boolean isDenotable()
- If the type is non-denotable, it can't be written in code directly, it only can appear internally inside a type checker.
Examples: intersection type or number value type.
getDeclarationDescriptor
@Nullable
ClassifierDescriptor getDeclarationDescriptor()