public interface IParent
| Modifier and Type | Method and Description |
|---|---|
IJavaElement[] |
getChildren()
Returns the immediate children of this element.
|
boolean |
hasChildren()
Returns whether this element has one or more immediate children.
|
IJavaElement[] getChildren() throws JavaModelException
JavaModelException - if this element does not exist or if an
exception occurs while accessing its corresponding resourceboolean hasChildren()
throws JavaModelException
getChildren is an empty array.JavaModelException - if this element does not exist or if an
exception occurs while accessing its corresponding resource
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.