org.jetbrains.jet.descriptors.serialization
Enum ProtoBuf.Callable.CallableKind

java.lang.Object
  extended by java.lang.Enum<ProtoBuf.Callable.CallableKind>
      extended by org.jetbrains.jet.descriptors.serialization.ProtoBuf.Callable.CallableKind
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<ProtoBuf.Callable.CallableKind>
Enclosing class:
ProtoBuf.Callable

public static enum ProtoBuf.Callable.CallableKind
extends java.lang.Enum<ProtoBuf.Callable.CallableKind>
implements com.google.protobuf.Internal.EnumLite


Enum Constant Summary
CONSTRUCTOR
           
FUN
           
OBJECT_PROPERTY
           
VAL
           
VAR
           
 
Field Summary
static int CONSTRUCTOR_VALUE
           
static int FUN_VALUE
           
static int OBJECT_PROPERTY_VALUE
           
static int VAL_VALUE
           
static int VAR_VALUE
           
 
Method Summary
 int getNumber()
           
static com.google.protobuf.Internal.EnumLiteMap<ProtoBuf.Callable.CallableKind> internalGetValueMap()
           
static ProtoBuf.Callable.CallableKind valueOf(int value)
           
static ProtoBuf.Callable.CallableKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProtoBuf.Callable.CallableKind[] 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

FUN

public static final ProtoBuf.Callable.CallableKind FUN

VAL

public static final ProtoBuf.Callable.CallableKind VAL

VAR

public static final ProtoBuf.Callable.CallableKind VAR

CONSTRUCTOR

public static final ProtoBuf.Callable.CallableKind CONSTRUCTOR

OBJECT_PROPERTY

public static final ProtoBuf.Callable.CallableKind OBJECT_PROPERTY
Field Detail

FUN_VALUE

public static final int FUN_VALUE
See Also:
Constant Field Values

VAL_VALUE

public static final int VAL_VALUE
See Also:
Constant Field Values

VAR_VALUE

public static final int VAR_VALUE
See Also:
Constant Field Values

CONSTRUCTOR_VALUE

public static final int CONSTRUCTOR_VALUE
See Also:
Constant Field Values

OBJECT_PROPERTY_VALUE

public static final int OBJECT_PROPERTY_VALUE
See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static ProtoBuf.Callable.CallableKind 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

getNumber

public final int getNumber()
Specified by:
getNumber in interface com.google.protobuf.Internal.EnumLite

valueOf

public static ProtoBuf.Callable.CallableKind valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<ProtoBuf.Callable.CallableKind> internalGetValueMap()