public interface IImportContainer extends IJavaElement, IParent, ISourceReference
This interface is not intended to be implemented by clients.
CLASS_FILE, COMPILATION_UNIT, FIELD, IMPORT_CONTAINER, IMPORT_DECLARATION, INITIALIZER, JAVA_MODEL, JAVA_PROJECT, LOCAL_VARIABLE, METHOD, PACKAGE_DECLARATION, PACKAGE_FRAGMENT, PACKAGE_FRAGMENT_ROOT, TYPE, TYPE_PARAMETER
Modifier and Type | Method and Description |
---|---|
IImportDeclaration |
getImport(String name)
Returns the first import declaration in this import container with the given name.
|
exists, getAncestor, getAttachedJavadoc, getCorrespondingResource, getElementName, getElementType, getHandleIdentifier, getJavaModel, getJavaProject, getOpenable, getParent, getPath, getPrimaryElement, getResource, getSchedulingRule, getUnderlyingResource, isReadOnly, isStructureKnown
getAdapter
getChildren, hasChildren
exists, getSource, getSourceRange
IImportDeclaration getImport(String name)
name
- the given nameCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.