org.jetbrains.jet.lang.types
Class TypeConstructorImpl
java.lang.Object
org.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
org.jetbrains.jet.lang.types.TypeConstructorImpl
- All Implemented Interfaces:
- Annotated, TypeConstructor
public class TypeConstructorImpl
- extends AnnotatedImpl
- implements TypeConstructor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TypeConstructorImpl
public TypeConstructorImpl(@Nullable
ClassifierDescriptor classifierDescriptor,
@NotNull
java.util.List<AnnotationDescriptor> annotations,
boolean isFinal,
@NotNull
java.lang.String debugName,
@NotNull
java.util.List<? extends TypeParameterDescriptor> parameters,
@NotNull
java.util.Collection<JetType> supertypes)
getParameters
@NotNull
public java.util.List<TypeParameterDescriptor> getParameters()
- Specified by:
getParameters in interface TypeConstructor
getSupertypes
@NotNull
public java.util.Collection<JetType> getSupertypes()
- Specified by:
getSupertypes in interface TypeConstructor
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
isFinal
public boolean isFinal()
- Description copied from interface:
TypeConstructor
- Cannot have subtypes.
- Specified by:
isFinal in interface TypeConstructor
isDenotable
public boolean isDenotable()
- Description copied from interface:
TypeConstructor
- 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.
- Specified by:
isDenotable in interface TypeConstructor
getDeclarationDescriptor
@Nullable
public ClassifierDescriptor getDeclarationDescriptor()
- Specified by:
getDeclarationDescriptor in interface TypeConstructor