public class CodeSmellDetectorImpl extends CodeSmellDetector
Constructor and Description |
---|
CodeSmellDetectorImpl(Project project) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CodeSmellInfo> |
findCodeSmells(java.util.List<? extends VirtualFile> filesToCheck)
Performs pre-checkin code analysis on the specified files.
|
void |
showCodeSmellErrors(java.util.List<CodeSmellInfo> smellList)
Shows the specified list of problems found during pre-checkin code analysis in a Messages pane.
|
getInstance
public CodeSmellDetectorImpl(Project project)
public void showCodeSmellErrors(java.util.List<CodeSmellInfo> smellList)
CodeSmellDetector
showCodeSmellErrors
in class CodeSmellDetector
smellList
- the problems to show.public java.util.List<CodeSmellInfo> findCodeSmells(java.util.List<? extends VirtualFile> filesToCheck) throws ProcessCanceledException
CodeSmellDetector
findCodeSmells
in class CodeSmellDetector
filesToCheck
- the files to analyze.ProcessCanceledException
- if the analysis was cancelled by the user.