@ThreadSafe public class HintAnalyzer extends AbstractAnalyzer
Constructor and Description |
---|
HintAnalyzer() |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
The HintAnalyzer uses knowledge about a dependency to add additional
information to help in identification of identifiers or vulnerabilities.
|
AnalysisPhase |
getAnalysisPhase()
Returns the phase that the analyzer is intended to run in.
|
protected java.lang.String |
getAnalyzerEnabledSettingKey()
Returns the setting key to determine if the analyzer is enabled.
|
java.lang.String |
getName()
Returns the name of the analyzer.
|
void |
prepareAnalyzer(Engine engine)
The prepare method does nothing for this Analyzer.
|
analyze, close, closeAnalyzer, getSettings, initialize, isEnabled, prepare, setEnabled, supportsParallelProcessing
public java.lang.String getName()
public AnalysisPhase getAnalysisPhase()
protected java.lang.String getAnalyzerEnabledSettingKey()
Returns the setting key to determine if the analyzer is enabled.
getAnalyzerEnabledSettingKey
in class AbstractAnalyzer
public void prepareAnalyzer(Engine engine) throws InitializationException
prepareAnalyzer
in class AbstractAnalyzer
engine
- a reference the dependency-check engineInitializationException
- thrown if there is an exceptionprotected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
analyzeDependency
in class AbstractAnalyzer
dependency
- The dependency being analyzedengine
- The scanning engineAnalysisException
- is thrown if there is an exception analyzing
the dependency.Copyright© 2012-21 Jeremy Long. All Rights Reserved.