Flutter Engine
The Flutter Engine
|
Public Member Functions | |
AnalysisError (String severity, String type, Location location, String message, String correction, String code, String url, List< DiagnosticMessage > contextMessages, Boolean hasFix) | |
boolean | equals (Object obj) |
String | getCode () |
List< DiagnosticMessage > | getContextMessages () |
String | getCorrection () |
Boolean | getHasFix () |
Location | getLocation () |
String | getMessage () |
String | getSeverity () |
String | getType () |
String | getUrl () |
int | hashCode () |
JsonObject | toJson () |
String | toString () |
Static Public Member Functions | |
static AnalysisError | fromJson (JsonObject jsonObject) |
static List< AnalysisError > | fromJsonArray (JsonArray jsonArray) |
Static Public Attributes | |
static final AnalysisError[] | EMPTY_ARRAY = new AnalysisError[0] |
static final List< AnalysisError > | EMPTY_LIST = Lists.newArrayList() |
An indication of an error, warning, or hint that was produced by the analysis.
@coverage dart.server.generated.types
Definition at line 32 of file AnalysisError.java.
|
inline |
Constructor for AnalysisError
.
Definition at line 96 of file AnalysisError.java.
|
inline |
Definition at line 109 of file AnalysisError.java.
|
inlinestatic |
Definition at line 126 of file AnalysisError.java.
|
inlinestatic |
Definition at line 139 of file AnalysisError.java.
|
inline |
The name, as a string, of the error code associated with this error.
Definition at line 154 of file AnalysisError.java.
|
inline |
Additional messages associated with this diagnostic that provide context to help the user understand the diagnostic.
Definition at line 162 of file AnalysisError.java.
|
inline |
The correction message to be displayed for this error. The correction message should indicate how the user can fix the error. The field is omitted if there is no correction message associated with the error code.
Definition at line 171 of file AnalysisError.java.
|
inline |
A hint to indicate to interested clients that this error has an associated fix (or fixes). The absence of this field implies there are not known to be fixes. Note that since the operation to calculate whether fixes apply needs to be performant it is possible that complicated tests will be skipped and a false negative returned. For this reason, this attribute should be treated as a "hint". Despite the possibility of false negatives, no false positives should be returned. If a client sees this flag set they can proceed with the confidence that there are in fact associated fixes.
Definition at line 184 of file AnalysisError.java.
|
inline |
The location associated with the error.
Definition at line 191 of file AnalysisError.java.
|
inline |
The message to be displayed for this error. The message should indicate what is wrong with the code and why it is wrong.
Definition at line 199 of file AnalysisError.java.
|
inline |
The severity of the error.
Definition at line 206 of file AnalysisError.java.
|
inline |
The type of the error.
Definition at line 213 of file AnalysisError.java.
|
inline |
The URL of a page containing documentation associated with this error.
Definition at line 220 of file AnalysisError.java.
|
inline |
Definition at line 225 of file AnalysisError.java.
|
inline |
Definition at line 239 of file AnalysisError.java.
|
inline |
Definition at line 266 of file AnalysisError.java.
|
static |
Definition at line 34 of file AnalysisError.java.
|
static |
Definition at line 36 of file AnalysisError.java.