public static enum MainFrameModel.ParseMode extends java.lang.Enum<MainFrameModel.ParseMode>
Enum Constant and Description |
---|
JAVA_WITH_COMMENTS
Java tokens and comment nodes (singleline comments and block comments).
|
JAVA_WITH_JAVADOC_AND_COMMENTS
Java tokens, comments and Javadoc comments nodes
(which are parsed from block comments).
|
PLAIN_JAVA
Only Java tokens without comments.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
Mode's short description.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static MainFrameModel.ParseMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MainFrameModel.ParseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MainFrameModel.ParseMode PLAIN_JAVA
public static final MainFrameModel.ParseMode JAVA_WITH_COMMENTS
public static final MainFrameModel.ParseMode JAVA_WITH_JAVADOC_AND_COMMENTS
public static MainFrameModel.ParseMode[] values()
for (MainFrameModel.ParseMode c : MainFrameModel.ParseMode.values()) System.out.println(c);
public static MainFrameModel.ParseMode 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<MainFrameModel.ParseMode>