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
 
   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.
 
  17 int getDeclarationSourceEnd();
 
  20  * Answer the source start position of the field's declaration.
 
  22 int getDeclarationSourceStart();
 
  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.
 
  28 char[] getInitializationSource();
 
  31  * Answer the source end position of the field's name.
 
  33 int getNameSourceEnd();
 
  36  * Answer the source start position of the field's name.
 
  38 int getNameSourceStart();
 
  41  * Answer the type name of the field.
 
  43  * The name is a simple name or a qualified, dot separated name.
 
  44  * For example, Hashtable or java.util.Hashtable.