org.jetbrains.jet.lang.types
Class PackageType

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

public class PackageType
extends java.lang.Object
implements JetType

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


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

Constructor Detail

PackageType

public PackageType(@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 Annotations getAnnotations()
Specified by:
getAnnotations in interface Annotated

toString

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