org.jetbrains.jet.lang.types
Class JetTypeImpl

java.lang.Object
  extended by org.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
      extended by org.jetbrains.jet.lang.types.JetTypeImpl
All Implemented Interfaces:
Annotated, JetType

public final class JetTypeImpl
extends AnnotatedImpl
implements JetType


Constructor Summary
JetTypeImpl(ClassDescriptor classDescriptor)
           
JetTypeImpl(java.util.List<AnnotationDescriptor> annotations, TypeConstructor constructor, boolean nullable, java.util.List<TypeProjection> arguments, JetScope memberScope)
           
JetTypeImpl(TypeConstructor constructor, JetScope memberScope)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.List<TypeProjection> getArguments()
           
 TypeConstructor getConstructor()
           
 JetScope getMemberScope()
           
 int hashCode()
           
 boolean isNullable()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
getAnnotations
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.annotations.Annotated
getAnnotations
 

Constructor Detail

JetTypeImpl

public JetTypeImpl(java.util.List<AnnotationDescriptor> annotations,
                   TypeConstructor constructor,
                   boolean nullable,
                   @NotNull
                   java.util.List<TypeProjection> arguments,
                   JetScope memberScope)

JetTypeImpl

public JetTypeImpl(TypeConstructor constructor,
                   JetScope memberScope)

JetTypeImpl

public JetTypeImpl(@NotNull
                   ClassDescriptor classDescriptor)
Method Detail

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

getMemberScope

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

toString

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

equals

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

hashCode

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