public enum TypeOfText extends Enum<TypeOfText>
Enum Constant and Description |
---|
ANNOTATION |
COMMENT |
CONSTANT |
CPP_DOC
Deprecated.
use
COMMENT |
KEYWORD |
KEYWORD_LIGHT |
PREPROCESS_DIRECTIVE |
STRING |
STRUCTURED_COMMENT
For example Javadoc
|
Modifier and Type | Method and Description |
---|---|
String |
cssClass()
For internal use
|
static TypeOfText |
forCssClass(String cssClass) |
static TypeOfText |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeOfText[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeOfText ANNOTATION
public static final TypeOfText CONSTANT
public static final TypeOfText COMMENT
@Deprecated public static final TypeOfText CPP_DOC
COMMENT
public static final TypeOfText STRUCTURED_COMMENT
public static final TypeOfText KEYWORD
public static final TypeOfText STRING
public static final TypeOfText KEYWORD_LIGHT
public static final TypeOfText PREPROCESS_DIRECTIVE
public static TypeOfText[] values()
for (TypeOfText c : TypeOfText.values()) System.out.println(c);
public static TypeOfText 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 static TypeOfText forCssClass(String cssClass)
Copyright © 2009–2017 SonarSource. All rights reserved.