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

Protobuf enum org.jetbrains.jet.descriptors.serialization.Callable.CallableKind


Enum Constant Summary
CONSTRUCTOR
          CONSTRUCTOR = 3;
FUN
          FUN = 0;
VAL
          VAL = 1;
VAR
          VAR = 2;
 
Field Summary
static int CONSTRUCTOR_VALUE
          CONSTRUCTOR = 3;
static int FUN_VALUE
          FUN = 0;
static int VAL_VALUE
          VAL = 1;
static int VAR_VALUE
          VAR = 2;
 
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
FUN = 0;
 2 bits
 


VAL

public static final ProtoBuf.Callable.CallableKind VAL
VAL = 1;


VAR

public static final ProtoBuf.Callable.CallableKind VAR
VAR = 2;


CONSTRUCTOR

public static final ProtoBuf.Callable.CallableKind CONSTRUCTOR
CONSTRUCTOR = 3;

Field Detail

FUN_VALUE

public static final int FUN_VALUE
FUN = 0;
 2 bits
 

See Also:
Constant Field Values

VAL_VALUE

public static final int VAL_VALUE
VAL = 1;

See Also:
Constant Field Values

VAR_VALUE

public static final int VAR_VALUE
VAR = 2;

See Also:
Constant Field Values

CONSTRUCTOR_VALUE

public static final int CONSTRUCTOR_VALUE
CONSTRUCTOR = 3;

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()