public enum ECheckParameter extends java.lang.Enum<ECheckParameter>
Check
annotation.
Custom check phases (IGlobalExtractionPhase
) specify the required
parameters in IGlobalExtractionPhase.getRequiredContextParameters()
.Enum Constant and Description |
---|
ABSTRACT_SYNTAX_TREE
Custom checks and custom check phases must require this parameter if they use
tokens (
ITokenElementContext.getTokens(ECodeViewOption) ) or an abstract
syntax tree (ITokenElementContext.getAbstractSyntaxTree(ECodeViewOption) ) of
the token element that is currently analyzed. |
CLANG
Parameter for using the Clang parser infrastructure.
|
TYPE_RESOLUTION
Parameter for type resolution that can be applied to shallow entities.
|
Modifier and Type | Method and Description |
---|---|
static ECheckParameter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ECheckParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECheckParameter ABSTRACT_SYNTAX_TREE
ITokenElementContext.getTokens(ECodeViewOption)
) or an abstract
syntax tree (ITokenElementContext.getAbstractSyntaxTree(ECodeViewOption)
) of
the token element that is currently analyzed.
If this parameter is missing, the token/shallow entity list is not
initialized.public static final ECheckParameter TYPE_RESOLUTION
public static final ECheckParameter CLANG
public static ECheckParameter[] values()
for (ECheckParameter c : ECheckParameter.values()) System.out.println(c);
public static ECheckParameter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null