public final class WolfTheProblemSolverImpl extends WolfTheProblemSolver
WolfTheProblemSolver.ProblemListener
FILTER_EP_NAME
Modifier | Constructor and Description |
---|---|
protected |
WolfTheProblemSolverImpl(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
addProblemListener(WolfTheProblemSolver.ProblemListener listener,
Disposable parentDisposable) |
void |
clearProblems(VirtualFile virtualFile) |
void |
clearProblemsFromExternalSource(VirtualFile file,
java.lang.Object source)
Reports that the specified file no longer contains problems discovered by the specified source.
|
Problem |
convertToProblem(VirtualFile virtualFile,
int line,
int column,
java.lang.String [] message) |
boolean |
hasProblemFilesBeneath(Condition<? super VirtualFile> condition) |
boolean |
hasProblemFilesBeneath(Module scope) |
boolean |
hasSyntaxErrors(VirtualFile file) |
boolean |
isProblemFile(VirtualFile virtualFile) |
void |
queue(VirtualFile suspiciousFile) |
void |
reportProblems(VirtualFile file,
java.util.Collection<? extends Problem> problems) |
void |
reportProblemsFromExternalSource(VirtualFile file,
java.lang.Object source)
Reports that the specified file contains problems that cannot be discovered by running the general
highlighting pass for the file.
|
void |
startCheckingIfVincentSolvedProblemsYet(ProgressIndicator progress,
ProgressableTextEditorHighlightingPass pass) |
void |
weHaveGotNonIgnorableProblems(VirtualFile virtualFile,
java.util.List<? extends Problem> problems) |
void |
weHaveGotProblems(VirtualFile virtualFile,
java.util.List<? extends Problem> problems) |
getInstance
protected WolfTheProblemSolverImpl(Project project)
public void startCheckingIfVincentSolvedProblemsYet(ProgressIndicator progress, ProgressableTextEditorHighlightingPass pass) throws ProcessCanceledException
ProcessCanceledException
public boolean hasSyntaxErrors(VirtualFile file)
hasSyntaxErrors
in class WolfTheProblemSolver
public boolean hasProblemFilesBeneath(Condition<? super VirtualFile> condition)
hasProblemFilesBeneath
in class WolfTheProblemSolver
public boolean hasProblemFilesBeneath(Module scope)
hasProblemFilesBeneath
in class WolfTheProblemSolver
public void addProblemListener(WolfTheProblemSolver.ProblemListener listener, Disposable parentDisposable)
addProblemListener
in class WolfTheProblemSolver
public void queue(VirtualFile suspiciousFile)
queue
in class WolfTheProblemSolver
public boolean isProblemFile(VirtualFile virtualFile)
isProblemFile
in class WolfTheProblemSolver
public void weHaveGotProblems(VirtualFile virtualFile, java.util.List<? extends Problem> problems)
weHaveGotProblems
in class WolfTheProblemSolver
public void weHaveGotNonIgnorableProblems(VirtualFile virtualFile, java.util.List<? extends Problem> problems)
weHaveGotNonIgnorableProblems
in class WolfTheProblemSolver
public void clearProblems(VirtualFile virtualFile)
clearProblems
in class WolfTheProblemSolver
public Problem convertToProblem(VirtualFile virtualFile, int line, int column, java.lang.String [] message)
convertToProblem
in class WolfTheProblemSolver
public void reportProblems(VirtualFile file, java.util.Collection<? extends Problem> problems)
reportProblems
in class WolfTheProblemSolver
public void reportProblemsFromExternalSource(VirtualFile file, java.lang.Object source)
WolfTheProblemSolver
reportProblemsFromExternalSource
in class WolfTheProblemSolver
source
- Identifies the component that discovered the problems. A file is highlighted as problematic
if it has problems from GeneralHighlightingPass or from at least one source.public void clearProblemsFromExternalSource(VirtualFile file, java.lang.Object source)
WolfTheProblemSolver
clearProblemsFromExternalSource
in class WolfTheProblemSolver