Package org.eclipse.jdt.internal.core

Examples of org.eclipse.jdt.internal.core.SimpleDelta


          // ADDED then CHANGED: leave it as ADDED
          // REMOVED then CHANGED: should not happen
      }
    } else {
      // check whether the type change affects the hierarchy
      SimpleDelta typeDelta = null;
      if ((newFlags & IJavaElementDelta.F_SUPER_TYPES) != 0
          && this.hierarchy.includesTypeOrSupertype(type)) {
        typeDelta = new SimpleDelta();
        typeDelta.superTypes();
      }
      if ((newFlags & IJavaElementDelta.F_MODIFIERS) != 0
          && (this.hierarchy.hasSupertype(type.getElementName())
            || type.equals(this.hierarchy.focusType))) {
        if (typeDelta == null) {
          typeDelta = new SimpleDelta();
        }
        typeDelta.modifiers();
      }
      if (typeDelta != null) {
        this.changes.put(type, typeDelta);
      }
    }
View Full Code Here


          // REMOVED then REMOVED: should not happen
      }
    } else {
      // check whether the type removal affects the hierarchy
      if (this.hierarchy.contains(type)) {
        SimpleDelta typeDelta = new SimpleDelta();
        typeDelta.removed();
        this.changes.put(type, typeDelta);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.core.SimpleDelta

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.