public static enum SourceFile.ElementAtMask extends java.lang.Enum<SourceFile.ElementAtMask>
Enum Constant and Description |
---|
AFTER
If there is a choice between 2 elements, selects the later element.
|
ALL
Selects any element.
|
BEFORE
If there is a choice between 2 elements, selects the earlier element.
|
BLANKLINES
Selects blank lines.
|
COMMENTS
Selects non-Javadoc comments.
|
DEFAULT
Selects any element except blank lines or non-Javadoc comments.
|
NEAREST
If there is a choice between 2 elements, choose the one nearest to the offset
|
NONE
Selects no element at all.
|
SAME_LINE
If there is a choice between 2 elements, and those elements are on different
lines, selects the element on the same line as the offset, if any.
|
STRUCTURAL
If there is a choice between 2 elements, selects the more
structural element where the order of less to more structural
is blank line, non-Javadoc comment, Javadoc comment, any other.
|
Modifier and Type | Method and Description |
---|---|
static SourceFile.ElementAtMask |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceFile.ElementAtMask[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceFile.ElementAtMask NONE
public static final SourceFile.ElementAtMask ALL
public static final SourceFile.ElementAtMask DEFAULT
public static final SourceFile.ElementAtMask COMMENTS
public static final SourceFile.ElementAtMask BLANKLINES
public static final SourceFile.ElementAtMask STRUCTURAL
public static final SourceFile.ElementAtMask BEFORE
public static final SourceFile.ElementAtMask AFTER
public static final SourceFile.ElementAtMask SAME_LINE
public static final SourceFile.ElementAtMask NEAREST
public static SourceFile.ElementAtMask[] values()
for (SourceFile.ElementAtMask c : SourceFile.ElementAtMask.values()) System.out.println(c);
public static SourceFile.ElementAtMask 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