org.jetbrains.kotlin.types
Class DelegatingType

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

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


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

getConstructor

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

getArguments

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

getSubstitution

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

isMarkedNullable

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

getMemberScope

@NotNull
public JetScope getMemberScope()
Specified by:
getMemberScope in interface JetType

isError

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

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 JetType

getCapabilities

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

hashCode

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

equals

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

toString

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