org.jetbrains.jet.lang.types
Class DeferredType

java.lang.Object
  extended by org.jetbrains.jet.lang.types.DeferredType
All Implemented Interfaces:
Annotated, JetType, LazyType

public class DeferredType
extends java.lang.Object
implements LazyType


Method Summary
static DeferredType create(StorageManager storageManager, BindingTrace trace, kotlin.Function0<JetType> compute)
           
static DeferredType createRecursionIntolerant(StorageManager storageManager, BindingTrace trace, kotlin.Function0<JetType> compute)
           
 boolean equals(java.lang.Object obj)
           
 JetType getActualType()
           
 Annotations getAnnotations()
           
 java.util.List<TypeProjection> getArguments()
           
 TypeConstructor getConstructor()
           
 JetScope getMemberScope()
           
 int hashCode()
           
 boolean isComputed()
           
 boolean isError()
           
 boolean isNullable()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

@NotNull
public static DeferredType create(@NotNull
                                          StorageManager storageManager,
                                          @NotNull
                                          BindingTrace trace,
                                          @NotNull
                                          kotlin.Function0<JetType> compute)

createRecursionIntolerant

@NotNull
public static DeferredType createRecursionIntolerant(@NotNull
                                                             StorageManager storageManager,
                                                             @NotNull
                                                             BindingTrace trace,
                                                             @NotNull
                                                             kotlin.Function0<JetType> compute)

isComputed

public boolean isComputed()

getActualType

@NotNull
public JetType getActualType()

getMemberScope

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

isError

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

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

isNullable

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

getAnnotations

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

toString

public java.lang.String toString()
Overrides:
toString 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

hashCode

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