Top Fields Constructors Methods
kotlin.reflect.jvm.internal.impl.types

public Class ClassTypeConstructorImpl

extends AbstractClassTypeConstructor
implements TypeConstructor
Class Inheritance
All Implemented Interfaces
kotlin.reflect.jvm.internal.impl.types.TypeConstructor
Imports
org.jetbrains.annotations.NotNull, kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor, .TypeParameterDescriptor, kotlin.reflect.jvm.internal.impl.descriptors.SupertypeLoopChecker, kotlin.reflect.jvm.internal.impl.resolve.DescriptorUtils, kotlin.reflect.jvm.internal.impl.storage.LockBasedStorageManager, kotlin.reflect.jvm.internal.impl.storage.StorageManager, java.util.ArrayList, .Collection, .Collections, .List

Field Summary

Modifier and TypeField and Description
private final ClassDescriptor
private final List<TypeParameterDescriptor>
private final Collection<kotlin.reflect.jvm.internal.impl.types.KotlinType>

Constructor Summary

AccessConstructor and Description
public
ClassTypeConstructorImpl(@NotNull ClassDescriptor classDescriptor, @NotNull List<? extends TypeParameterDescriptor> parameters, @NotNull Collection<kotlin.reflect.jvm.internal.impl.types.KotlinType> supertypes, @NotNull kotlin.reflect.jvm.internal.impl.storage.StorageManager storageManager)

Method Summary

Modifier and TypeMethod and Description
protected @NotNull Collection<kotlin.reflect.jvm.internal.impl.types.KotlinType>
public @NotNull ClassDescriptor
public @NotNull List<TypeParameterDescriptor>
getParameters()

Implements kotlin.reflect.jvm.internal.impl.types.TypeConstructor.getParameters.

It may differ from ClassDescriptor.declaredParameters if the class is inner, in such case it also contains additional parameters from outer declarations.
protected @NotNull kotlin.reflect.jvm.internal.impl.descriptors.SupertypeLoopChecker
public boolean
isDenotable()

Implements kotlin.reflect.jvm.internal.impl.types.TypeConstructor.isDenotable.

If the type is non-denotable, it can't be written in code directly, it only can appear internally inside a type checker.
public String
Inherited from kotlin.reflect.jvm.internal.impl.types.AbstractClassTypeConstructor:
defaultSupertypeIfEmptygetAdditionalNeighboursInSupertypeGraphgetBuiltInsisFinalisSameClassifier

Field Detail

classDescriptorback to summary
private final ClassDescriptor classDescriptor
parametersback to summary
private final List<TypeParameterDescriptor> parameters
supertypesback to summary
private final Collection<kotlin.reflect.jvm.internal.impl.types.KotlinType> supertypes

Constructor Detail

ClassTypeConstructorImplback to summary
public ClassTypeConstructorImpl(@NotNull ClassDescriptor classDescriptor, @NotNull List<? extends TypeParameterDescriptor> parameters, @NotNull Collection<kotlin.reflect.jvm.internal.impl.types.KotlinType> supertypes, @NotNull kotlin.reflect.jvm.internal.impl.storage.StorageManager storageManager)

Method Detail

computeSupertypesback to summary
protected @NotNull Collection<kotlin.reflect.jvm.internal.impl.types.KotlinType> computeSupertypes()
Annotations
@NotNull
@Override
getDeclarationDescriptorback to summary
public @NotNull ClassDescriptor getDeclarationDescriptor()

Implements abstract kotlin.reflect.jvm.internal.impl.types.AbstractClassTypeConstructor.getDeclarationDescriptor.

Implements kotlin.reflect.jvm.internal.impl.types.TypeConstructor.getDeclarationDescriptor.

Annotations
@Override
@NotNull
getParametersback to summary
public @NotNull List<TypeParameterDescriptor> getParameters()

Implements kotlin.reflect.jvm.internal.impl.types.TypeConstructor.getParameters.

Doc from kotlin.reflect.jvm.internal.impl.types.TypeConstructor.getParameters.

It may differ from ClassDescriptor.declaredParameters if the class is inner, in such case it also contains additional parameters from outer declarations.

Returns:@NotNull List<TypeParameterDescriptor>

list of parameters for type constructor, both from current declaration and the outer one

Annotations
@Override
@NotNull
getSupertypeLoopCheckerback to summary
protected @NotNull kotlin.reflect.jvm.internal.impl.descriptors.SupertypeLoopChecker getSupertypeLoopChecker()
Annotations
@NotNull
@Override
isDenotableback to summary
public boolean isDenotable()

Implements kotlin.reflect.jvm.internal.impl.types.TypeConstructor.isDenotable.

Doc from kotlin.reflect.jvm.internal.impl.types.TypeConstructor.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.

Annotations
@Override
toStringback to summary
public String toString()
Annotations
@Override