com.puppycrawl.tools.checkstyle
public interface ModuleFactory
AvoidStarImport
to full classnames like
com.puppycrawl.tools.checkstyle.checks.AvoidStarImportCheck
.
A ModuleFactory can implement this name resolution by using naming
conventions, fallback strategies, etc.
Version: $Revision: 1.6 $
Method Summary | |
---|---|
Object | createModule(String aName)
Creates a new instance of a class from a given name.
|
Parameters: aName the name of the module, might be a shortname
Returns: the created module
Throws: CheckstyleException if no module can be instantiated from aName