KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > env > ISourceImport


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.compiler.env;
12
13 public interface ISourceImport {
14
15 /**
16  * Answer the source end position of the import declaration.
17  */

18
19 int getDeclarationSourceEnd();
20 /**
21  * Answer the source start position of the import declaration.
22  */

23
24 int getDeclarationSourceStart();
25
26 /**
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.
30  */

31 int getModifiers();
32 }
33
Popular Tags