public abstract class WolfTheProblemSolver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WolfTheProblemSolver.ProblemListener
Deprecated.
use
ProblemListener directly |
Modifier and Type | Field and Description |
---|---|
protected static ExtensionPointName<Condition<VirtualFile>> |
FILTER_EP_NAME |
Constructor and Description |
---|
WolfTheProblemSolver() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addProblemListener(WolfTheProblemSolver.ProblemListener listener,
Disposable parentDisposable)
Deprecated.
Use message bus
ProblemListener.TOPIC instead. |
abstract void |
clearProblems(VirtualFile virtualFile) |
abstract void |
clearProblemsFromExternalSource(VirtualFile file,
java.lang.Object source)
Reports that the specified file no longer contains problems discovered by the specified source.
|
abstract Problem |
convertToProblem(VirtualFile virtualFile,
int line,
int column,
java.lang.String[] message) |
static WolfTheProblemSolver |
getInstance(Project project) |
abstract boolean |
hasProblemFilesBeneath(Condition<? super VirtualFile> condition) |
abstract boolean |
hasProblemFilesBeneath(Module scope) |
abstract boolean |
hasSyntaxErrors(VirtualFile file) |
abstract boolean |
isProblemFile(VirtualFile virtualFile) |
abstract void |
queue(VirtualFile suspiciousFile) |
abstract void |
reportProblems(VirtualFile file,
java.util.Collection<? extends Problem> problems) |
abstract 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.
|
abstract void |
weHaveGotNonIgnorableProblems(VirtualFile virtualFile,
java.util.List<? extends Problem> problems) |
abstract void |
weHaveGotProblems(VirtualFile virtualFile,
java.util.List<? extends Problem> problems) |
protected static final ExtensionPointName<Condition<VirtualFile>> FILTER_EP_NAME
public static WolfTheProblemSolver getInstance(Project project)
public abstract boolean isProblemFile(VirtualFile virtualFile)
public abstract void weHaveGotProblems(VirtualFile virtualFile, java.util.List<? extends Problem> problems)
public abstract void weHaveGotNonIgnorableProblems(VirtualFile virtualFile, java.util.List<? extends Problem> problems)
public abstract void clearProblems(VirtualFile virtualFile)
public abstract boolean hasProblemFilesBeneath(Condition<? super VirtualFile> condition)
public abstract boolean hasProblemFilesBeneath(Module scope)
public abstract Problem convertToProblem(VirtualFile virtualFile, int line, int column, java.lang.String[] message)
public abstract void reportProblems(VirtualFile file, java.util.Collection<? extends Problem> problems)
public abstract boolean hasSyntaxErrors(VirtualFile file)
public abstract void reportProblemsFromExternalSource(VirtualFile file, java.lang.Object source)
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 abstract void clearProblemsFromExternalSource(VirtualFile file, java.lang.Object source)
@Deprecated public abstract void addProblemListener(WolfTheProblemSolver.ProblemListener listener, Disposable parentDisposable)
ProblemListener.TOPIC
instead.public abstract void queue(VirtualFile suspiciousFile)