org.jetbrains.kotlin.resolve.calls.results
Enum OverloadResolutionResults.Code

java.lang.Object
  extended by java.lang.Enum<OverloadResolutionResults.Code>
      extended by org.jetbrains.kotlin.resolve.calls.results.OverloadResolutionResults.Code
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OverloadResolutionResults.Code>
Enclosing interface:
OverloadResolutionResults<D extends CallableDescriptor>

public static enum OverloadResolutionResults.Code
extends java.lang.Enum<OverloadResolutionResults.Code>


Enum Constant Summary
AMBIGUITY
           
CANDIDATES_WITH_WRONG_RECEIVER
           
INCOMPLETE_TYPE_INFERENCE
           
MANY_FAILED_CANDIDATES
           
NAME_NOT_FOUND
           
SINGLE_CANDIDATE_ARGUMENT_MISMATCH
           
SUCCESS
           
 
Method Summary
static OverloadResolutionResults.Code valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OverloadResolutionResults.Code[] 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

SUCCESS

public static final OverloadResolutionResults.Code SUCCESS

NAME_NOT_FOUND

public static final OverloadResolutionResults.Code NAME_NOT_FOUND

SINGLE_CANDIDATE_ARGUMENT_MISMATCH

public static final OverloadResolutionResults.Code SINGLE_CANDIDATE_ARGUMENT_MISMATCH

AMBIGUITY

public static final OverloadResolutionResults.Code AMBIGUITY

MANY_FAILED_CANDIDATES

public static final OverloadResolutionResults.Code MANY_FAILED_CANDIDATES

CANDIDATES_WITH_WRONG_RECEIVER

public static final OverloadResolutionResults.Code CANDIDATES_WITH_WRONG_RECEIVER

INCOMPLETE_TYPE_INFERENCE

public static final OverloadResolutionResults.Code INCOMPLETE_TYPE_INFERENCE
Method Detail

values

public static OverloadResolutionResults.Code[] 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 (OverloadResolutionResults.Code c : OverloadResolutionResults.Code.values())
    System.out.println(c);

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

valueOf

public static OverloadResolutionResults.Code 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