public static enum Constants.HighlightingType extends Enum<Constants.HighlightingType> implements com.google.protobuf.ProtocolMessageEnum
HighlightingType| Enum Constant and Description |
|---|
ANNOTATION
ANNOTATION = 0; |
COMMENT
COMMENT = 2; |
CONSTANT
CONSTANT = 1; |
CPP_DOC
CPP_DOC = 3; |
HIGHLIGHTING_STRING
HIGHLIGHTING_STRING = 6; |
KEYWORD
KEYWORD = 5; |
KEYWORD_LIGHT
KEYWORD_LIGHT = 7; |
PREPROCESS_DIRECTIVE
PREPROCESS_DIRECTIVE = 8; |
STRUCTURED_COMMENT
STRUCTURED_COMMENT = 4; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_VALUE
ANNOTATION = 0; |
static int |
COMMENT_VALUE
COMMENT = 2; |
static int |
CONSTANT_VALUE
CONSTANT = 1; |
static int |
CPP_DOC_VALUE
CPP_DOC = 3; |
static int |
HIGHLIGHTING_STRING_VALUE
HIGHLIGHTING_STRING = 6; |
static int |
KEYWORD_LIGHT_VALUE
KEYWORD_LIGHT = 7; |
static int |
KEYWORD_VALUE
KEYWORD = 5; |
static int |
PREPROCESS_DIRECTIVE_VALUE
PREPROCESS_DIRECTIVE = 8; |
static int |
STRUCTURED_COMMENT_VALUE
STRUCTURED_COMMENT = 4; |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Constants.HighlightingType> |
internalGetValueMap() |
static Constants.HighlightingType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Constants.HighlightingType |
valueOf(int value) |
static Constants.HighlightingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.HighlightingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.HighlightingType ANNOTATION
ANNOTATION = 0;public static final Constants.HighlightingType CONSTANT
CONSTANT = 1;public static final Constants.HighlightingType COMMENT
COMMENT = 2;public static final Constants.HighlightingType CPP_DOC
CPP_DOC = 3;public static final Constants.HighlightingType STRUCTURED_COMMENT
STRUCTURED_COMMENT = 4;public static final Constants.HighlightingType KEYWORD
KEYWORD = 5;public static final Constants.HighlightingType HIGHLIGHTING_STRING
HIGHLIGHTING_STRING = 6;public static final Constants.HighlightingType KEYWORD_LIGHT
KEYWORD_LIGHT = 7;public static final Constants.HighlightingType PREPROCESS_DIRECTIVE
PREPROCESS_DIRECTIVE = 8;public static final int ANNOTATION_VALUE
ANNOTATION = 0;public static final int CONSTANT_VALUE
CONSTANT = 1;public static final int COMMENT_VALUE
COMMENT = 2;public static final int CPP_DOC_VALUE
CPP_DOC = 3;public static final int STRUCTURED_COMMENT_VALUE
STRUCTURED_COMMENT = 4;public static final int KEYWORD_VALUE
KEYWORD = 5;public static final int HIGHLIGHTING_STRING_VALUE
HIGHLIGHTING_STRING = 6;public static final int KEYWORD_LIGHT_VALUE
KEYWORD_LIGHT = 7;public static final int PREPROCESS_DIRECTIVE_VALUE
PREPROCESS_DIRECTIVE = 8;public static Constants.HighlightingType[] values()
for (Constants.HighlightingType c : Constants.HighlightingType.values()) System.out.println(c);
public static Constants.HighlightingType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Constants.HighlightingType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Constants.HighlightingType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Constants.HighlightingType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2009–2016 SonarSource. All rights reserved.