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.internal.compiler.env;
13 public interface ISourceImport {
16 * Answer the source end position of the import declaration.
19 int getDeclarationSourceEnd();
21 * Answer the source start position of the import declaration.
24 int getDeclarationSourceStart();
27 * Answer an int whose bits are set according the access constants
28 * defined by the VM spec.
29 * Since Java 1.5, static imports can be defined.
34 * Answer the name of the import.
35 * A name is a simple name or a qualified, dot separated name.
36 * For example, Hashtable or java.util.Hashtable.
41 * Answer whether the import is on demand or not
42 * On demand import names have no trailing star