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