org.jetbrains.kotlin.resolve.calls.tasks
Enum ExplicitReceiverKind

java.lang.Object
  extended by java.lang.Enum<ExplicitReceiverKind>
      extended by org.jetbrains.kotlin.resolve.calls.tasks.ExplicitReceiverKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExplicitReceiverKind>

public enum ExplicitReceiverKind
extends java.lang.Enum<ExplicitReceiverKind>


Enum Constant Summary
BOTH_RECEIVERS
           
DISPATCH_RECEIVER
           
EXTENSION_RECEIVER
           
NO_EXPLICIT_RECEIVER
           
 
Method Summary
 boolean isDispatchReceiver()
           
 boolean isExtensionReceiver()
           
static ExplicitReceiverKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExplicitReceiverKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EXTENSION_RECEIVER

public static final ExplicitReceiverKind EXTENSION_RECEIVER

DISPATCH_RECEIVER

public static final ExplicitReceiverKind DISPATCH_RECEIVER

NO_EXPLICIT_RECEIVER

public static final ExplicitReceiverKind NO_EXPLICIT_RECEIVER

BOTH_RECEIVERS

public static final ExplicitReceiverKind BOTH_RECEIVERS
Method Detail

values

public static ExplicitReceiverKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ExplicitReceiverKind c : ExplicitReceiverKind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExplicitReceiverKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isExtensionReceiver

public boolean isExtensionReceiver()

isDispatchReceiver

public boolean isDispatchReceiver()