Class DeltaProcessor

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.DeltaProcessor

public class DeltaProcessor extends Object
This class is used by JavaModelManager to convert IResourceDeltas into IJavaElementDeltas. It also does some processing on the JavaElements involved (e.g. closing them or updating classpaths).

High level summary of what the delta processor does:

  • reacts to resource deltas
  • fires corresponding Java element deltas
  • deltas also contain non-Java resources changes
  • updates the model to reflect the Java element changes
  • notifies type hierarchies of the changes
  • triggers indexing of the changed elements
  • refresh external archives (delta, model update, indexing)
  • is thread safe (one delta processor instance per thread, see DeltaProcessingState#resourceChanged(...))
  • handles .classpath changes (updates package fragment roots, update project references, validate classpath (.classpath format, resolved classpath, cycles))