public interface ISourceConstructImpl extends ISourceElementImpl, ISourceConstruct
ISourceConstruct
s must implement this interface.Modifier and Type | Method and Description |
---|---|
IElement |
getParent_()
Returns the element directly containing this element.
|
default org.eclipse.core.resources.IResource |
getResource_()
Returns the innermost resource enclosing this element, or
null
if this element is not enclosed in a workspace resource. |
getSourceElementAt_, getSourceElementInfo_
equalsAndSameParentChain_, exists_, getChildren_, getChildrenOfType_, getHandleMemento_, getLocationUri_, getModel_, getName_, getRoot_, toDisplayString_, toString_
IElement getParent_()
getParent_
in interface IElementImpl
null
)default org.eclipse.core.resources.IResource getResource_()
null
if this element is not enclosed in a workspace resource.
This is a handle-only method.
Note that it is safe to call this method and test the return value
for null
even when org.eclipse.core.resources
bundle is not available.
This implementation returns Elements.getResource(getParent_())
.
getResource_
in interface IElementImpl
null
if this element is not enclosed in a workspace resourceCopyright (c) 2014, 2018 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0