| |
|
| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.samples.CollectStringLiterals
CollectStringLiterals | public class CollectStringLiterals extends InspectorBase (Code) | | This inspector demonstrates usage of annotations and persistency of inspector findings.
It collects all string literals and then outputs them alphabetially sorted
as an annotation in Summary.
This inspector cleans results from previous run before scan. As such it will report string literals only from modified
sources.
author: Pavel Vlasov version: $Revision: 1.4 $ |
Method Summary | |
public void | init() | public void | initDb(SQLProcessor processor, Properties dbProperties) | public void | leave(Repository repo) | public void | setTableName(String tableName) Method to inject table name from parameters. | public void | visit(StringConstant constant) |
initDb | public void initDb(SQLProcessor processor, Properties dbProperties)(Code) | | Creating a table to store results
|
leave | public void leave(Repository repo)(Code) | | |
setTableName | public void setTableName(String tableName)(Code) | | Method to inject table name from parameters.
|
visit | public void visit(StringConstant constant)(Code) | | |
|
|
|