Package | Description |
---|---|
com.sun.tools.javac.util |
Modifier and Type | Method and Description |
---|---|
static JCDiagnostic.DiagnosticFlag |
JCDiagnostic.DiagnosticFlag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCDiagnostic.DiagnosticFlag[] |
JCDiagnostic.DiagnosticFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractLog.error(JCDiagnostic.DiagnosticFlag flag,
int pos,
String key,
Object... args)
Report an error, unless another error was already reported at same
source position.
|
void |
AbstractLog.error(JCDiagnostic.DiagnosticFlag flag,
JCDiagnostic.DiagnosticPosition pos,
String key,
Object... args)
Report an error, unless another error was already reported at same
source position.
|
boolean |
JCDiagnostic.isFlagSet(JCDiagnostic.DiagnosticFlag flag) |
void |
JCDiagnostic.setFlag(JCDiagnostic.DiagnosticFlag flag) |
Modifier and Type | Method and Description |
---|---|
JCDiagnostic |
JCDiagnostic.Factory.create(JCDiagnostic.DiagnosticType kind,
Lint.LintCategory lc,
Set<JCDiagnostic.DiagnosticFlag> flags,
DiagnosticSource source,
JCDiagnostic.DiagnosticPosition pos,
String key,
Object... args)
Create a new diagnostic of the given kind.
|
Constructor and Description |
---|
JCDiagnostic(DiagnosticFormatter<JCDiagnostic> formatter,
JCDiagnostic.DiagnosticType dt,
Lint.LintCategory lc,
Set<JCDiagnostic.DiagnosticFlag> flags,
DiagnosticSource source,
JCDiagnostic.DiagnosticPosition pos,
String key,
Object... args)
Create a diagnostic object.
|
Copyright © 2015. All rights reserved.