| Constructor and Description |
|---|
Analyzer.AnalyzerFactory(String id,
String displayName,
Image icon) |
Analyzer.AnalyzerFactory(String id,
String displayName,
String iconPath) |
| Modifier and Type | Method and Description |
|---|---|
abstract Analyzer |
createAnalyzer(Analyzer.Context context) |
Analyzer |
createAnalyzer(Analyzer.Context context,
Analyzer.Result result)
Creates a new
Analyzer with a context and warning collector. |
abstract <D,C extends JComponent> |
getCustomizerProvider() |
abstract Iterable<? extends Analyzer.WarningDescription> |
getWarnings() |
Collection<? extends Analyzer.MissingPlugin> |
requiredPlugins(Analyzer.Context context)
If additional modules are required to run the analysis (for the given
context),
return their description. |
void |
warningOpened(ErrorDescription warning) |
public Analyzer.AnalyzerFactory(String id, String displayName, String iconPath)
id - a unique id of the analyzerdisplayName - the display name of the analyzericonPath - a path to icon associated with this analyzerpublic Collection<? extends Analyzer.MissingPlugin> requiredPlugins(Analyzer.Context context)
context),
return their description.context - over which the analysis is going to be performedpublic abstract Iterable<? extends Analyzer.WarningDescription> getWarnings()
@CheckForNull public abstract <D,C extends JComponent> Analyzer.CustomizerProvider<D,C> getCustomizerProvider()
public abstract Analyzer createAnalyzer(Analyzer.Context context)
context - containing the required Scopepublic Analyzer createAnalyzer(Analyzer.Context context, Analyzer.Result result)
Analyzer with a context and warning collector.context - the Analyzer.Context of the analysisresult - the warning collectorAnalyzerpublic void warningOpened(ErrorDescription warning)
Built on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.