org.aspectj.org.eclipse.jdt.internal.core
Class JavaModelManager.PerWorkingCopyInfo

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.JavaModelManager.PerWorkingCopyInfo
All Implemented Interfaces:
IProblemRequestor
Enclosing class:
JavaModelManager

public static class JavaModelManager.PerWorkingCopyInfo
extends java.lang.Object
implements IProblemRequestor


Constructor Summary
JavaModelManager.PerWorkingCopyInfo(CompilationUnit workingCopy, IProblemRequestor problemRequestor)
           
 
Method Summary
 void acceptProblem(IProblem problem)
          Notification of a Java problem.
 void beginReporting()
          Notification sent before starting the problem detection process.
 void endReporting()
          Notification sent after having completed problem detection process.
 IProblemRequestor getProblemRequestor()
           
 ICompilationUnit getWorkingCopy()
           
 boolean isActive()
          Predicate allowing the problem requestor to signal whether or not it is currently interested by problem reports.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaModelManager.PerWorkingCopyInfo

public JavaModelManager.PerWorkingCopyInfo(CompilationUnit workingCopy,
                                           IProblemRequestor problemRequestor)
Method Detail

acceptProblem

public void acceptProblem(IProblem problem)
Description copied from interface: IProblemRequestor
Notification of a Java problem.

Specified by:
acceptProblem in interface IProblemRequestor
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 interface IProblemRequestor

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 interface IProblemRequestor

getProblemRequestor

public IProblemRequestor getProblemRequestor()

getWorkingCopy

public ICompilationUnit 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 answering false, 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 interface IProblemRequestor
Returns:
boolean - indicates whether the requestor is currently interested by problems.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object