|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<JavacDebugKeyword>
org.schmant.task.template.jdk.javac.JavacDebugKeyword
public enum JavacDebugKeyword
This is an enumeration over the different debug keywords that can be set with
the -g flag to javac.
The ALL constant contains all keywords, the NONE constant
contains no keywords.
| Enum Constant Summary | |
|---|---|
LINE
|
|
SOURCE
|
|
VARS
|
|
| Field Summary | |
|---|---|
static Collection<JavacDebugKeyword> |
ALL
This constant contains all debug keywords. |
static Collection<JavacDebugKeyword> |
NONE
This constant contains no debug keywords. |
| Method Summary | |
|---|---|
String |
getKeyword()
|
String |
toString()
|
static JavacDebugKeyword |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JavacDebugKeyword[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JavacDebugKeyword SOURCE
public static final JavacDebugKeyword LINE
public static final JavacDebugKeyword VARS
| Field Detail |
|---|
public static final Collection<JavacDebugKeyword> ALL
public static final Collection<JavacDebugKeyword> NONE
| Method Detail |
|---|
public static JavacDebugKeyword[] values()
for (JavacDebugKeyword c : JavacDebugKeyword.values()) System.out.println(c);
public static JavacDebugKeyword valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getKeyword()
public String toString()
toString in class Enum<JavacDebugKeyword>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||