org.jetbrains.kotlin.types
Class DelegatingType

java.lang.Object
  extended by org.jetbrains.kotlin.types.DelegatingType
All Implemented Interfaces:
Annotated, KotlinType
Direct Known Subclasses:
DeferredType

public abstract class DelegatingType
extends java.lang.Object
implements KotlinType


Constructor Summary
DelegatingType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Annotations getAnnotations()
           
 java.util.List<TypeProjection> getArguments()
           
 TypeCapabilities getCapabilities()
           
<T extends TypeCapability>
T
getCapability(java.lang.Class<T> capabilityClass)
           
 TypeConstructor getConstructor()
           
protected abstract  KotlinType getDelegate()
           
 MemberScope getMemberScope()
           
 TypeSubstitution getSubstitution()
           
 int hashCode()
           
 boolean isError()
           
 boolean isMarkedNullable()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelegatingType

public DelegatingType()
Method Detail

getDelegate

protected abstract KotlinType getDelegate()

getConstructor

@NotNull
public TypeConstructor getConstructor()
Specified by:
getConstructor in interface KotlinType

getArguments

@NotNull
public java.util.List<TypeProjection> getArguments()
Specified by:
getArguments in interface KotlinType

getSubstitution

@NotNull
public TypeSubstitution getSubstitution()
Specified by:
getSubstitution in interface KotlinType

isMarkedNullable

public boolean isMarkedNullable()
Specified by:
isMarkedNullable in interface KotlinType

getMemberScope

@NotNull
public MemberScope getMemberScope()
Specified by:
getMemberScope in interface KotlinType

isError

public boolean isError()
Specified by:
isError in interface KotlinType

getAnnotations

@NotNull
public Annotations getAnnotations()
Specified by:
getAnnotations in interface Annotated

getCapability

@Nullable
public <T extends TypeCapability> T getCapability(@NotNull
                                                           java.lang.Class<T> capabilityClass)
Specified by:
getCapability in interface KotlinType

getCapabilities

@NotNull
public TypeCapabilities getCapabilities()
Specified by:
getCapabilities in interface KotlinType

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface KotlinType
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object