org.jetbrains.jet.lang.types
Class NamespaceType

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

public class NamespaceType
extends java.lang.Object
implements JetType

This is a fake type assigned to namespace expressions. Only member lookup is supposed to be done on these types.


Constructor Summary
NamespaceType(Name name, JetScope memberScope, ReceiverValue receiver)
           
 
Method Summary
 java.util.List<AnnotationDescriptor> getAnnotations()
           
 java.util.List<TypeProjection> getArguments()
           
 TypeConstructor getConstructor()
           
 JetScope getMemberScope()
           
 ReceiverValue getReceiverValue()
           
 boolean isError()
           
 boolean isNullable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jetbrains.jet.lang.types.JetType
equals
 

Constructor Detail

NamespaceType

public NamespaceType(@NotNull
                     Name name,
                     @NotNull
                     JetScope memberScope,
                     @NotNull
                     ReceiverValue receiver)
Method Detail

getMemberScope

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

isError

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

getReceiverValue

@NotNull
public ReceiverValue getReceiverValue()

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 java.util.List<AnnotationDescriptor> getAnnotations()
Specified by:
getAnnotations in interface Annotated