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 / IDependent.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 /**
14  * This represents the target file of a type dependency.
15  * 
16  * All implementors of this interface are containers for types or types
17  * themselves which must be able to identify their source file name when file
18  * dependencies are collected.
19  */
20 public interface IDependent {
21         /**
22          * Answer the file name which defines the type.
23          * 
24          * The path part (optional) must be separated from the actual file proper
25          * name by a java.io.File.separator.
26          * 
27          * The proper file name includes the suffix extension (e.g. ".java")
28          * 
29          * e.g. "c:/com/ibm/compiler/java/api/Compiler.java"
30          */
31
32         char[] getFileName();
33 }