public static enum FindModel.SearchContext extends java.lang.Enum<FindModel.SearchContext>
Enum Constant and Description |
---|
ANY |
EXCEPT_COMMENTS |
EXCEPT_COMMENTS_AND_STRING_LITERALS |
EXCEPT_STRING_LITERALS |
IN_COMMENTS |
IN_STRING_LITERALS |
Modifier and Type | Method and Description |
---|---|
static FindModel.SearchContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FindModel.SearchContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FindModel.SearchContext ANY
public static final FindModel.SearchContext IN_STRING_LITERALS
public static final FindModel.SearchContext IN_COMMENTS
public static final FindModel.SearchContext EXCEPT_STRING_LITERALS
public static final FindModel.SearchContext EXCEPT_COMMENTS
public static final FindModel.SearchContext EXCEPT_COMMENTS_AND_STRING_LITERALS
public static FindModel.SearchContext[] values()
for (FindModel.SearchContext c : FindModel.SearchContext.values()) System.out.println(c);
public static FindModel.SearchContext 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