A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / env / ISourceField.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 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 net.sourceforge.phpdt.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. Answer null if
26          * 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. For
44          * example, Hashtable or java.util.Hashtable.
45          */
46         char[] getTypeName();
47 }