Klasse ReconcileWorkingCopyOperation

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
org.aspectj.org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation
Alle implementierten Schnittstellen:
org.eclipse.core.resources.IWorkspaceRunnable, org.eclipse.core.runtime.ICoreRunnable, org.eclipse.core.runtime.IProgressMonitor

public class ReconcileWorkingCopyOperation extends JavaModelOperation
Reconcile a working copy and signal the changes through a delta.

High level summmary of what a reconcile does:

  • populates the model with the new working copy contents
  • fires a fine grained delta (flag F_FINE_GRAINED) describing the difference between the previous content and the new content (which method was added/removed, which field was changed, etc.)
  • computes problems and reports them to the IProblemRequestor (begingReporting(), n x acceptProblem(...), endReporting()) iff (working copy is not consistent with its buffer || forceProblemDetection is set) Ungültige Eingabe: "&"Ungültige Eingabe: "&" problem requestor is active
  • produces a DOM AST (either JLS_2, JLS_3 or NO_AST) that is resolved if flag is set
  • notifies compilation participants of the reconcile allowing them to participate in this operation and report problems
  • Felddetails

    • PERF

      public static boolean PERF
    • astLevel

      public int astLevel
    • resolveBindings

      public boolean resolveBindings
    • problems

      public HashMap problems
    • reconcileFlags

      public int reconcileFlags
    • ast

      public CompilationUnit ast
    • deltaBuilder

      public JavaElementDeltaBuilder deltaBuilder
    • requestorIsActive

      public boolean requestorIsActive
  • Konstruktordetails

    • ReconcileWorkingCopyOperation

      public ReconcileWorkingCopyOperation(IJavaElement workingCopy, int astLevel, int reconcileFlags, WorkingCopyOwner workingCopyOwner)
  • Methodendetails