|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MandatoryWarningHandler.DeferredDiagnosticKind>
com.sun.tools.javac.util.MandatoryWarningHandler.DeferredDiagnosticKind
private static enum MandatoryWarningHandler.DeferredDiagnosticKind
The kinds of different deferred diagnostics that might be generated if a mandatory warning is suppressed because too many warnings have already been output. The parameter is a fragment used to build an I18N message key for Log.
| Enum Constant Summary | |
|---|---|
ADDITIONAL_IN_FILE
This kind is used when a single specific file is found to have warnings and when similar warnings have already been reported for the file. |
|
ADDITIONAL_IN_FILES
This kind is used when multiple files have been found to have warnings, and some of them have had already had specific similar warnings. |
|
IN_FILE
This kind is used when a single specific file is found to have warnings and no similar warnings have already been given. |
|
IN_FILES
This kind is used when multiple files have been found to have warnings, and none of them have had any similar warnings. |
|
| Field Summary | |
|---|---|
private java.lang.String |
value
|
| Method Summary | |
|---|---|
(package private) java.lang.String |
getKey(java.lang.String prefix)
|
static MandatoryWarningHandler.DeferredDiagnosticKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MandatoryWarningHandler.DeferredDiagnosticKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MandatoryWarningHandler.DeferredDiagnosticKind IN_FILE
public static final MandatoryWarningHandler.DeferredDiagnosticKind ADDITIONAL_IN_FILE
public static final MandatoryWarningHandler.DeferredDiagnosticKind IN_FILES
public static final MandatoryWarningHandler.DeferredDiagnosticKind ADDITIONAL_IN_FILES
| Field Detail |
|---|
private java.lang.String value
| Method Detail |
|---|
public static final MandatoryWarningHandler.DeferredDiagnosticKind[] values()
for(MandatoryWarningHandler.DeferredDiagnosticKind c : MandatoryWarningHandler.DeferredDiagnosticKind.values())
System.out.println(c);
public static MandatoryWarningHandler.DeferredDiagnosticKind 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.String getKey(java.lang.String prefix)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||