Package com.sourcegraph.semanticdb_javac
Enum Semanticdb.UnaryOperator
- java.lang.Object
-
- java.lang.Enum<Semanticdb.UnaryOperator>
-
- com.sourcegraph.semanticdb_javac.Semanticdb.UnaryOperator
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Semanticdb.UnaryOperator>
- Enclosing class:
- Semanticdb
public static enum Semanticdb.UnaryOperator extends java.lang.Enum<Semanticdb.UnaryOperator> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcom.sourcegraph.semanticdb_javac.UnaryOperator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNARY_BITWISE_COMPLEMENTUNARY_BITWISE_COMPLEMENT = 6;UNARY_LOGICAL_COMPLEMENTUNARY_LOGICAL_COMPLEMENT = 7;UNARY_MINUSUNARY_MINUS = 0;UNARY_PLUSUNARY_PLUS = 1;UNARY_POSTFIX_DECREMENTUNARY_POSTFIX_DECREMENT = 3;UNARY_POSTFIX_INCREMENTUNARY_POSTFIX_INCREMENT = 2;UNARY_PREFIX_DECREMENTUNARY_PREFIX_DECREMENT = 4;UNARY_PREFIX_INCREMENTUNARY_PREFIX_INCREMENT = 5;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intUNARY_BITWISE_COMPLEMENT_VALUEUNARY_BITWISE_COMPLEMENT = 6;static intUNARY_LOGICAL_COMPLEMENT_VALUEUNARY_LOGICAL_COMPLEMENT = 7;static intUNARY_MINUS_VALUEUNARY_MINUS = 0;static intUNARY_PLUS_VALUEUNARY_PLUS = 1;static intUNARY_POSTFIX_DECREMENT_VALUEUNARY_POSTFIX_DECREMENT = 3;static intUNARY_POSTFIX_INCREMENT_VALUEUNARY_POSTFIX_INCREMENT = 2;static intUNARY_PREFIX_DECREMENT_VALUEUNARY_PREFIX_DECREMENT = 4;static intUNARY_PREFIX_INCREMENT_VALUEUNARY_PREFIX_INCREMENT = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Semanticdb.UnaryOperatorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Semanticdb.UnaryOperator>internalGetValueMap()static Semanticdb.UnaryOperatorvalueOf(int value)Deprecated.static Semanticdb.UnaryOperatorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Semanticdb.UnaryOperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Semanticdb.UnaryOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNARY_MINUS
public static final Semanticdb.UnaryOperator UNARY_MINUS
UNARY_MINUS = 0;
-
UNARY_PLUS
public static final Semanticdb.UnaryOperator UNARY_PLUS
UNARY_PLUS = 1;
-
UNARY_POSTFIX_INCREMENT
public static final Semanticdb.UnaryOperator UNARY_POSTFIX_INCREMENT
UNARY_POSTFIX_INCREMENT = 2;
-
UNARY_POSTFIX_DECREMENT
public static final Semanticdb.UnaryOperator UNARY_POSTFIX_DECREMENT
UNARY_POSTFIX_DECREMENT = 3;
-
UNARY_PREFIX_DECREMENT
public static final Semanticdb.UnaryOperator UNARY_PREFIX_DECREMENT
UNARY_PREFIX_DECREMENT = 4;
-
UNARY_PREFIX_INCREMENT
public static final Semanticdb.UnaryOperator UNARY_PREFIX_INCREMENT
UNARY_PREFIX_INCREMENT = 5;
-
UNARY_BITWISE_COMPLEMENT
public static final Semanticdb.UnaryOperator UNARY_BITWISE_COMPLEMENT
UNARY_BITWISE_COMPLEMENT = 6;
-
UNARY_LOGICAL_COMPLEMENT
public static final Semanticdb.UnaryOperator UNARY_LOGICAL_COMPLEMENT
UNARY_LOGICAL_COMPLEMENT = 7;
-
UNRECOGNIZED
public static final Semanticdb.UnaryOperator UNRECOGNIZED
-
-
Field Detail
-
UNARY_MINUS_VALUE
public static final int UNARY_MINUS_VALUE
UNARY_MINUS = 0;- See Also:
- Constant Field Values
-
UNARY_PLUS_VALUE
public static final int UNARY_PLUS_VALUE
UNARY_PLUS = 1;- See Also:
- Constant Field Values
-
UNARY_POSTFIX_INCREMENT_VALUE
public static final int UNARY_POSTFIX_INCREMENT_VALUE
UNARY_POSTFIX_INCREMENT = 2;- See Also:
- Constant Field Values
-
UNARY_POSTFIX_DECREMENT_VALUE
public static final int UNARY_POSTFIX_DECREMENT_VALUE
UNARY_POSTFIX_DECREMENT = 3;- See Also:
- Constant Field Values
-
UNARY_PREFIX_DECREMENT_VALUE
public static final int UNARY_PREFIX_DECREMENT_VALUE
UNARY_PREFIX_DECREMENT = 4;- See Also:
- Constant Field Values
-
UNARY_PREFIX_INCREMENT_VALUE
public static final int UNARY_PREFIX_INCREMENT_VALUE
UNARY_PREFIX_INCREMENT = 5;- See Also:
- Constant Field Values
-
UNARY_BITWISE_COMPLEMENT_VALUE
public static final int UNARY_BITWISE_COMPLEMENT_VALUE
UNARY_BITWISE_COMPLEMENT = 6;- See Also:
- Constant Field Values
-
UNARY_LOGICAL_COMPLEMENT_VALUE
public static final int UNARY_LOGICAL_COMPLEMENT_VALUE
UNARY_LOGICAL_COMPLEMENT = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Semanticdb.UnaryOperator[] 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.UnaryOperator c : Semanticdb.UnaryOperator.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.UnaryOperator 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Semanticdb.UnaryOperator 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.UnaryOperator forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Semanticdb.UnaryOperator> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Semanticdb.UnaryOperator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- 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
-
-