1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.core;
14 * Represents an import container is a child of a Java compilation unit that
15 * contains all (and only) the import declarations. If a compilation unit has no
16 * import declarations, no import container will be present.
18 * This interface is not intended to be implemented by clients.
21 public interface IImportContainer extends IJavaElement, IParent,
24 * Returns the first import declaration in this import container with the
25 * given name. This is a handle-only method. The import declaration may or
31 * @return the first import declaration in this import container with the
34 IImportDeclaration getImport(String name);