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.
|
getInstancepublic CodeSmellDetectorImpl(Project project)
public void showCodeSmellErrors(java.util.List<CodeSmellInfo> smellList)
CodeSmellDetectorshowCodeSmellErrors in class CodeSmellDetectorsmellList - the problems to show.public java.util.List<CodeSmellInfo> findCodeSmells(java.util.List<? extends VirtualFile> filesToCheck) throws ProcessCanceledException
CodeSmellDetectorfindCodeSmells in class CodeSmellDetectorfilesToCheck - the files to analyze.ProcessCanceledException - if the analysis was cancelled by the user.