java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.Region
Alle implementierten Schnittstellen:
IRegion

public class Region extends Object implements IRegion
Siehe auch:
  • Konstruktordetails

    • Region

      public Region()
  • Methodendetails

    • add

      public void add(IJavaElement element)
      Beschreibung aus Schnittstelle kopiert: IRegion
      Adds the given element and all of its descendents to this region. If the specified element is already included, or one of its ancestors is already included, this has no effect. If the element being added is an ancestor of an element already contained in this region, the ancestor subsumes the descendent.
      Angegeben von:
      add in Schnittstelle IRegion
      Parameter:
      element - the given element
    • contains

      public boolean contains(IJavaElement element)
      Beschreibung aus Schnittstelle kopiert: IRegion
      Returns whether the given element is contained in this region.
      Angegeben von:
      contains in Schnittstelle IRegion
      Parameter:
      element - the given element
      Gibt zurück:
      true if the given element is contained in this region, false otherwise
    • getElements

      public IJavaElement[] getElements()
      Beschreibung aus Schnittstelle kopiert: IRegion
      Returns the top level elements in this region. All descendents of these elements are also included in this region.
      Angegeben von:
      getElements in Schnittstelle IRegion
      Gibt zurück:
      the top level elements in this region
    • remove

      public boolean remove(IJavaElement element)
      Beschreibung aus Schnittstelle kopiert: IRegion
      Removes the specified element from the region and returns true if successful, false if the remove fails. If an ancestor of the given element is included, the remove fails (in other words, it is not possible to selectively exclude descendants of included ancestors).
      Angegeben von:
      remove in Schnittstelle IRegion
      Parameter:
      element - the given element
      Gibt zurück:
      true if successful, false if the remove fails
    • getParent

      protected IJavaElement getParent(IJavaElement element)