Klasse Region
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.Region
- Alle implementierten Schnittstellen:
IRegion
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
add
(IJavaElement element) Adds the given element and all of its descendents to this region.boolean
contains
(IJavaElement element) Returns whether the given element is contained in this region.Returns the top level elements in this region.protected IJavaElement
getParent
(IJavaElement element) boolean
remove
(IJavaElement element) Removes the specified element from the region and returnstrue
if successful,false
if the remove fails.
-
Konstruktordetails
-
Region
public Region()
-
-
Methodendetails
-
add
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. -
contains
Beschreibung aus Schnittstelle kopiert:IRegion
Returns whether the given element is contained in this region. -
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 SchnittstelleIRegion
- Gibt zurück:
- the top level elements in this region
-
remove
Beschreibung aus Schnittstelle kopiert:IRegion
Removes the specified element from the region and returnstrue
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). -
getParent
-