Class JavaModelManager.PerWorkingCopyInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaModelManager.PerWorkingCopyInfo
- All Implemented Interfaces:
IProblemRequestor
- Enclosing class:
- JavaModelManager
-
Constructor Summary
ConstructorDescriptionPerWorkingCopyInfo(CompilationUnit workingCopy, IProblemRequestor problemRequestor)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptProblem(IProblem problem)
Notification of a Java problem.void
Notification sent before starting the problem detection process.void
Notification sent after having completed problem detection process.boolean
isActive()
Predicate allowing the problem requestor to signal whether or not it is currently interested by problem reports.toString()
-
Constructor Details
-
PerWorkingCopyInfo
-
-
Method Details
-
acceptProblem
Description copied from interface:IProblemRequestor
Notification of a Java problem.- Specified by:
acceptProblem
in interfaceIProblemRequestor
- Parameters:
problem
- IProblem - The discovered Java problem.
-
beginReporting
public void beginReporting()Description copied from interface:IProblemRequestor
Notification sent before starting the problem detection process. Typically, this would tell a problem collector to clear previously recorded problems.- Specified by:
beginReporting
in interfaceIProblemRequestor
-
endReporting
public void endReporting()Description copied from interface:IProblemRequestor
Notification sent after having completed problem detection process. Typically, this would tell a problem collector that no more problems should be expected in this iteration.- Specified by:
endReporting
in interfaceIProblemRequestor
-
getProblemRequestor
-
getWorkingCopy
-
isActive
public boolean isActive()Description copied from interface:IProblemRequestor
Predicate allowing the problem requestor to signal whether or not it is currently interested by problem reports. When answeringfalse
, problem will not be discovered any more until the next iteration. This predicate will be invoked once prior to each problem detection iteration.- Specified by:
isActive
in interfaceIProblemRequestor
- Returns:
- boolean - indicates whether the requestor is currently interested by problems.
-
toString
-