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)
           
 
Method Summary
 java.util.List<AnnotationDescriptor> getAnnotations()
           
 java.util.List<TypeProjection> getArguments()
           
 TypeConstructor getConstructor()
           
 JetScope getMemberScope()
           
 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)
Method Detail

getMemberScope

@NotNull
public JetScope getMemberScope()
Specified by:
getMemberScope 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

public java.util.List<AnnotationDescriptor> getAnnotations()
Specified by:
getAnnotations in interface Annotated