org.jetbrains.kotlin.types
Interface KotlinType

All Superinterfaces:
Annotated
All Known Subinterfaces:
LazyType
All Known Implementing Classes:
AbstractKotlinType, DeferredType, DelegatingType, TypeUtils.SpecialType

public interface KotlinType
extends Annotated

See Also:
KotlinTypeChecker.isSubtypeOf(KotlinType, KotlinType)

Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.List<TypeProjection> getArguments()
           
 TypeCapabilities getCapabilities()
           
<T extends TypeCapability>
T
getCapability(java.lang.Class<T> capabilityClass)
           
 TypeConstructor getConstructor()
           
 MemberScope getMemberScope()
           
 TypeSubstitution getSubstitution()
           
 boolean isError()
           
 boolean isMarkedNullable()
           
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 

Method Detail

getConstructor

@NotNull
TypeConstructor getConstructor()

getArguments

@NotNull
@ReadOnly
java.util.List<TypeProjection> getArguments()

getSubstitution

@NotNull
TypeSubstitution getSubstitution()

isMarkedNullable

boolean isMarkedNullable()

getMemberScope

@NotNull
MemberScope getMemberScope()

isError

boolean isError()

equals

boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

getCapability

@Nullable
<T extends TypeCapability> T getCapability(@NotNull
                                                    java.lang.Class<T> capabilityClass)

getCapabilities

@NotNull
TypeCapabilities getCapabilities()