Package com.sourcegraph.semanticdb_javac
Enum Semanticdb.Tree.SealedValueCase
- java.lang.Object
-
- java.lang.Enum<Semanticdb.Tree.SealedValueCase>
-
- com.sourcegraph.semanticdb_javac.Semanticdb.Tree.SealedValueCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Semanticdb.Tree.SealedValueCase>
- Enclosing class:
- Semanticdb.Tree
public static enum Semanticdb.Tree.SealedValueCase extends java.lang.Enum<Semanticdb.Tree.SealedValueCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATION_TREEAPPLY_TREEASSIGN_TREEBINOP_TREEFUNCTION_TREEID_TREELITERAL_TREEMACRO_EXPANSION_TREEORIGINAL_TREESEALEDVALUE_NOT_SETSELECT_TREETYPE_APPLY_TREE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Semanticdb.Tree.SealedValueCaseforNumber(int value)intgetNumber()static Semanticdb.Tree.SealedValueCasevalueOf(int value)Deprecated.static Semanticdb.Tree.SealedValueCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Semanticdb.Tree.SealedValueCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPLY_TREE
public static final Semanticdb.Tree.SealedValueCase APPLY_TREE
-
FUNCTION_TREE
public static final Semanticdb.Tree.SealedValueCase FUNCTION_TREE
-
ID_TREE
public static final Semanticdb.Tree.SealedValueCase ID_TREE
-
LITERAL_TREE
public static final Semanticdb.Tree.SealedValueCase LITERAL_TREE
-
MACRO_EXPANSION_TREE
public static final Semanticdb.Tree.SealedValueCase MACRO_EXPANSION_TREE
-
ORIGINAL_TREE
public static final Semanticdb.Tree.SealedValueCase ORIGINAL_TREE
-
SELECT_TREE
public static final Semanticdb.Tree.SealedValueCase SELECT_TREE
-
TYPE_APPLY_TREE
public static final Semanticdb.Tree.SealedValueCase TYPE_APPLY_TREE
-
ANNOTATION_TREE
public static final Semanticdb.Tree.SealedValueCase ANNOTATION_TREE
-
ASSIGN_TREE
public static final Semanticdb.Tree.SealedValueCase ASSIGN_TREE
-
BINOP_TREE
public static final Semanticdb.Tree.SealedValueCase BINOP_TREE
-
SEALEDVALUE_NOT_SET
public static final Semanticdb.Tree.SealedValueCase SEALEDVALUE_NOT_SET
-
-
Method Detail
-
values
public static Semanticdb.Tree.SealedValueCase[] 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 (Semanticdb.Tree.SealedValueCase c : Semanticdb.Tree.SealedValueCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Semanticdb.Tree.SealedValueCase 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 namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static Semanticdb.Tree.SealedValueCase valueOf(int value)
Deprecated.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:
value- 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 namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Semanticdb.Tree.SealedValueCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-