1 /*******************************************************************************
2 * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v0.5
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v05.html
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler.env;
13 public interface ISourceField extends IGenericField {
15 * Answer the source end position of the field's declaration.
18 int getDeclarationSourceEnd();
20 * Answer the source start position of the field's declaration.
23 int getDeclarationSourceStart();
25 * Answer the source end position of the field's name.
28 int getNameSourceEnd();
30 * Answer the source start position of the field's name.
33 int getNameSourceStart();
35 * Answer the type name of the field.
37 * The name is a simple name or a qualified, dot separated name.
38 * For example, Hashtable or java.util.Hashtable.