removed Makefile; lifted repo/org.ibex.tool/src/ to src/
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / env / ISourceField.java
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
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package org.eclipse.jdt.internal.compiler.env;
12
13 public interface ISourceField extends IGenericField {
14 /**
15  * Answer the source end position of the field's declaration.
16  */
17 int getDeclarationSourceEnd();
18
19 /**
20  * Answer the source start position of the field's declaration.
21  */
22 int getDeclarationSourceStart();
23
24 /**
25  * Answer the initialization source for this constant field.
26  * Answer null if the field is not a constant or if it has no initialization.
27  */
28 char[] getInitializationSource();
29
30 /**
31  * Answer the source end position of the field's name.
32  */
33 int getNameSourceEnd();
34
35 /**
36  * Answer the source start position of the field's name.
37  */
38 int getNameSourceStart();
39
40 /**
41  * Answer the type name of the field.
42  *
43  * The name is a simple name or a qualified, dot separated name.
44  * For example, Hashtable or java.util.Hashtable.
45  */
46 char[] getTypeName();
47 }