public static final class Analyzer.Result extends Object
Analyzer.Result
are merged with
warnings returned by the Analyzer.analyze()
methods.Modifier and Type | Method and Description |
---|---|
void |
reportAnalysisProblem(String displayName,
CharSequence description)
Reports an analysis problem.
|
void |
reportError(ErrorDescription errorDescription)
Reports a new warning.
|
void |
reportError(Project owner,
ErrorDescription errorDescription)
Reports a new warning related to the given project.
|
public void reportAnalysisProblem(String displayName, CharSequence description)
displayName
- the display name of the problemdescription
- the more detailed description of the problempublic void reportError(@NonNull ErrorDescription errorDescription)
errorDescription
- the warningpublic void reportError(@NonNull Project owner, @NonNull ErrorDescription errorDescription)
owner
- the project to which the problem is relatederrorDescription
- the warning