org.jetbrains.kotlin.types
Interface JetType

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

public interface JetType
extends Annotated

See Also:
JetTypeChecker.isSubtypeOf(JetType, JetType)

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()
           
 JetScope 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
JetScope 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()