org.jetbrains.jet.lang.resolve.scopes.receivers
Class ClassReceiver

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.scopes.receivers.ClassReceiver
All Implemented Interfaces:
ReceiverValue, ThisReceiver

public class ClassReceiver
extends java.lang.Object
implements ThisReceiver


Field Summary
 
Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.receivers.ReceiverValue
NO_RECEIVER
 
Constructor Summary
ClassReceiver(ClassDescriptor classDescriptor)
           
 
Method Summary
<R,D> R
accept(ReceiverValueVisitor<R,D> visitor, D data)
           
 boolean exists()
           
 ClassDescriptor getDeclarationDescriptor()
           
 JetType getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassReceiver

public ClassReceiver(@NotNull
                     ClassDescriptor classDescriptor)
Method Detail

exists

public boolean exists()
Specified by:
exists in interface ReceiverValue

getType

@NotNull
public JetType getType()
Specified by:
getType in interface ReceiverValue

getDeclarationDescriptor

@NotNull
public ClassDescriptor getDeclarationDescriptor()
Specified by:
getDeclarationDescriptor in interface ThisReceiver

accept

public <R,D> R accept(@NotNull
                      ReceiverValueVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface ReceiverValue

toString

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