org.jetbrains.kotlin.resolve.scopes.receivers
Class ScriptReceiver

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

public class ScriptReceiver
extends java.lang.Object
implements ThisReceiver


Field Summary
 
Fields inherited from interface org.jetbrains.kotlin.resolve.scopes.receivers.ReceiverValue
IRRELEVANT_RECEIVER, NO_RECEIVER
 
Constructor Summary
ScriptReceiver(ScriptDescriptor scriptDescriptor)
           
 
Method Summary
 boolean exists()
           
 ScriptDescriptor getDeclarationDescriptor()
           
 JetType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptReceiver

public ScriptReceiver(@NotNull
                      ScriptDescriptor scriptDescriptor)
Method Detail

getDeclarationDescriptor

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

getType

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

exists

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